1 #ifndef BLANK_RUNTIME_HPP_
2 #define BLANK_RUNTIME_HPP_
4 #include "../ui/Interface.hpp"
5 #include "../world/World.hpp"
13 /// Parse and interpret arguemnts, then set up the environment and execute.
18 /// default behaviour: run until user quits, dynamic timesteps
20 /// quit after n frames
22 /// quit after n milliseconds
24 /// quit after n frames, use fixed timestap
26 /// display error message and quit with failure
32 bool doublebuf = true;
33 int multisampling = 1;
35 std::string asset_path;
36 std::string save_path;
37 std::string world_name = "default";
39 Interface::Config interface = Interface::Config();
40 World::Config world = World::Config();
45 void ReadArgs(int argc, const char *const *argv);