1 #ifndef BLANK_INTERFACE_HPP_
2 #define BLANK_INTERFACE_HPP_
5 #include "controller.hpp"
11 #include <glm/glm.hpp>
23 float move_velocity = 0.005f;
24 float pitch_sensitivity = -0.0025f;
25 float yaw_sensitivity = -0.001f;
27 bool keyboard_disabled = false;
28 bool mouse_disabled = false;
29 bool visual_disabled = false;
32 Interface(const Config &, World &);
34 void Handle(const SDL_KeyboardEvent &);
35 void Handle(const SDL_MouseMotionEvent &);
36 void Handle(const SDL_MouseButtonEvent &);
37 void Handle(const SDL_MouseWheelEvent &);
38 void Handle(const SDL_WindowEvent &) noexcept;
45 void RemoveBlock() noexcept;
47 void PrintBlockInfo();
48 void PrintChunkInfo();
49 void PrintLightInfo();
50 void PrintSelectionInfo();
51 void Print(const Block &);
54 void SelectPrevious();
58 void Render(DirectionalLighting &) noexcept;
70 glm::mat4 outline_transform;
77 glm::tvec3<int> fwd, rev;