X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp.hpp;h=0443942108906b14e59dcaf87b10ff17fae1a376;hb=753be639d7d04f9f7415db9fc2721485c531f0a1;hp=c5a5098578c306a951c79d0157af6b7ce15c648b;hpb=49c81f76b80e0de99ca57db49510eb5e3385e1d1;p=blank.git diff --git a/src/app.hpp b/src/app.hpp index c5a5098..0443942 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -5,9 +5,12 @@ #include #include "camera.hpp" +#include "controller.hpp" +#include "hud.hpp" #include "init.hpp" #include "model.hpp" #include "shader.hpp" +#include "world.hpp" namespace blank { @@ -16,7 +19,6 @@ class Application { public: Application(); - ~Application(); Application(const Application &) = delete; Application &operator =(const Application &) = delete; @@ -35,21 +37,22 @@ private: Window window; GLContext ctx; InitGLEW init_glew; - Program program; - - float move_velocity; - float pitch_sensitivity; - float yaw_sensitivity; + DirectionalLighting program; Camera cam; - Model model; + HUD hud; + World world; - GLuint vtx_buf; - GLuint mvp_handle; + OutlineModel outline; + bool outline_visible; + glm::mat4 outline_transform; bool running; - bool front, back, left, right, up, down; + bool place, remove, pick; + + int remove_id; + int place_id; };