X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp.hpp;fp=src%2Fapp.hpp;h=23dcd0cef9cf7b3a21bf143f6204d5c836dc5641;hb=f90ec88e6728ce865bcf892c810a36abd90d9001;hp=c8a6fb56720e6950fb0a7bc10097cdcbdf47e62e;hpb=32a2a1231de8438f8408007c41247361b1c52417;p=blank.git diff --git a/src/app.hpp b/src/app.hpp index c8a6fb5..23dcd0c 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -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;