Beta-MyConfig
This commit is contained in:
@@ -3,6 +3,12 @@
|
||||
|
||||
namespace JabyEngine {
|
||||
struct DefaultConfiguration {
|
||||
struct Test {
|
||||
static constexpr const char* string() {
|
||||
return "I am default string";
|
||||
}
|
||||
};
|
||||
|
||||
struct BIOSFont {
|
||||
static constexpr GPU::PositionU16 texture_load_pos() {
|
||||
return GPU::PositionU16::create(320, 256);
|
||||
@@ -26,8 +32,8 @@ namespace JabyEngine {
|
||||
|
||||
#if __has_include(<jabyengine_custom_config.hpp>)
|
||||
#include <jabyengine_custom_config.hpp>
|
||||
using Configuration = CustomConfiguration;
|
||||
#else
|
||||
#define TEST_STR "Planschbecken sind default"
|
||||
using Configuration = DefaultConfiguration;
|
||||
#endif // has jabyengine_custom_config
|
||||
}
|
Reference in New Issue
Block a user