1 #ifndef BLANK_APP_APPLICATION_HPP_
2 #define BLANK_APP_APPLICATION_HPP_
5 #include "RandomWalk.hpp"
6 #include "../graphics/BlockLighting.hpp"
7 #include "../graphics/Camera.hpp"
8 #include "../graphics/DirectionalLighting.hpp"
9 #include "../ui/Interface.hpp"
10 #include "../world/World.hpp"
20 bool doublebuf = true;
21 int multisampling = 1;
23 Interface::Config interface = Interface::Config();
24 World::Config world = World::Config();
27 explicit Application(const Config &);
29 Application(const Application &) = delete;
30 Application &operator =(const Application &) = delete;
32 /// run until user quits
38 /// run for t milliseconds
40 /// run for n frames, assuming t milliseconds for each
41 void RunS(size_t n, size_t t);
47 static Entity &MakeTestEntity(World &);
56 BlockLighting chunk_prog;
57 DirectionalLighting entity_prog;
63 RandomWalk test_controller;