]> git.localhorst.tv Git - blank.git/blobdiff - src/app.hpp
extracted configuration of various parts
[blank.git] / src / app.hpp
index c8a6fb56720e6950fb0a7bc10097cdcbdf47e62e..23dcd0cef9cf7b3a21bf143f6204d5c836dc5641 100644 (file)
@@ -14,7 +14,16 @@ namespace blank {
 class Application {
 
 public:
-       explicit Application(unsigned int seed);
+       struct Config {
+               bool vsync = true;
+               bool doublebuf = true;
+               int multisampling = 1;
+
+               Interface::Config interface = Interface::Config();
+               World::Config world = World::Config();
+       };
+
+       explicit Application(const Config &);
 
        Application(const Application &) = delete;
        Application &operator =(const Application &) = delete;