diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 5f39d95..814a2d4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -21,6 +21,7 @@ #define GLEW_STATIC #define SOL_ALL_SAFETIES_ON = 1 +#include "config.hpp" #include "engine.hpp" #include <SDL2/SDL.h> @@ -42,9 +43,21 @@ int main([[maybe_unused]] int argc, [[maybe_unused]] char *argv[]) Engine engine; engine.init(); + //Config config; + //config.add<int>("screenWidth"); + //config.add<int>("screenHeight"); + //config.add<std::string>("title"); + //config.load(); + //std::cout << *config.get<int>("screenWidth") << std::endl; + // Go go go! engine.run(); + //config.set("screenWidth", 10000); + //config.set("screenHeight", 481); + //config.set("title", "gamEdevvv2"); + //config.save(); + return 0; } |