1 #ifndef BLANK_INTERFACE_HPP_
2 #define BLANK_INTERFACE_HPP_
5 #include "controller.hpp"
22 float move_velocity = 0.005f;
23 float pitch_sensitivity = -0.0025f;
24 float yaw_sensitivity = -0.001f;
26 bool keyboard_disabled = false;
27 bool mouse_disabled = false;
28 bool visual_disabled = false;
31 Interface(const Config &, World &);
33 void Handle(const SDL_KeyboardEvent &);
34 void Handle(const SDL_MouseMotionEvent &);
35 void Handle(const SDL_MouseButtonEvent &);
36 void Handle(const SDL_MouseWheelEvent &);
37 void Handle(const SDL_WindowEvent &);
46 void PrintBlockInfo();
47 void PrintChunkInfo();
48 void PrintLightInfo();
49 void PrintSelectionInfo();
50 void Print(const Block &);
53 void SelectPrevious();
57 void Render(DirectionalLighting &);
69 glm::mat4 outline_transform;
76 bool front, back, left, right, up, down;