X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp.hpp;h=00154039d371cf9236d8b76afe11965ff1d44bdd;hb=6af76d9e1a6499ebdab405c1d679d24b9e19fded;hp=d949567347f336e978fd62d7f15a1871140b49a1;hpb=81531352f0af10ef357e82595098fa596795f000;p=blank.git diff --git a/src/app.hpp b/src/app.hpp index d949567..0015403 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -7,7 +7,9 @@ #include "camera.hpp" #include "controller.hpp" #include "init.hpp" +#include "model.hpp" #include "shader.hpp" +#include "world.hpp" namespace blank { @@ -16,7 +18,6 @@ class Application { public: Application(); - ~Application(); Application(const Application &) = delete; Application &operator =(const Application &) = delete; @@ -41,11 +42,26 @@ private: float pitch_sensitivity; float yaw_sensitivity; + BlockTypeRegistry blockType; + Camera cam; - FPSController model; + Chunk chunk; + OutlineModel outline; + + bool outline_visible; + glm::mat4 outline_transform; + + glm::vec3 light_position; + glm::vec3 light_color; + float light_power; - GLuint vtx_buf; + GLuint m_handle; + GLuint v_handle; + GLuint mv_handle; GLuint mvp_handle; + GLuint light_position_handle; + GLuint light_color_handle; + GLuint light_power_handle; bool running;