X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FRuntime.hpp;h=2d169d0149abbcddf69ee8321f121484f783b7f5;hb=b066e776622f96e906600a0c4a08de392bd03676;hp=ee438537a345ef43e0f884f24ca799588b15ba4a;hpb=9ebe2c320fd9f94266ab93fa2f9d9908a0a284d3;p=blank.git diff --git a/src/app/Runtime.hpp b/src/app/Runtime.hpp index ee43853..2d169d0 100644 --- a/src/app/Runtime.hpp +++ b/src/app/Runtime.hpp @@ -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 @@ -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(); };