Beta-MyConfig

This commit is contained in:
2024-02-15 22:31:52 -05:00
parent 842e7c594e
commit 5312a86e7b
5 changed files with 20 additions and 21 deletions

View File

@@ -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
}