]> git.localhorst.tv Git - blank.git/blobdiff - src/app/Runtime.hpp
split input handling
[blank.git] / src / app / Runtime.hpp
index ee438537a345ef43e0f884f24ca799588b15ba4a..2d169d0149abbcddf69ee8321f121484f783b7f5 100644 (file)
@@ -1,9 +1,11 @@
 #ifndef BLANK_RUNTIME_HPP_
 #define BLANK_RUNTIME_HPP_
 
-#include "../net/Client.hpp"
-#include "../net/Server.hpp"
+#include "Environment.hpp"
+#include "../client/Client.hpp"
+#include "../server/Server.hpp"
 #include "../ui/Interface.hpp"
+#include "../world/Generator.hpp"
 #include "../world/World.hpp"
 
 #include <cstddef>
@@ -38,17 +40,9 @@ public:
        };
 
        struct Config {
-               bool vsync = true;
-               bool doublebuf = true;
-               int multisampling = 1;
-
-               std::string asset_path;
-               std::string save_path;
-               std::string world_name = "default";
-
-               Client::Config client = Client::Config();
-               Interface::Config interface = Interface::Config();
-               Server::Config server = Server::Config();
+               blank::Config game = blank::Config();
+               HeadlessEnvironment::Config env = HeadlessEnvironment::Config();
+               Generator::Config gen = Generator::Config();
                World::Config world = World::Config();
        };