diff options
Diffstat (limited to 'editor/app.hpp')
-rw-r--r-- | editor/app.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/editor/app.hpp b/editor/app.hpp index 79e0642b..4cdaff60 100644 --- a/editor/app.hpp +++ b/editor/app.hpp @@ -70,11 +70,13 @@ private: void maybe_initialize_chunk_(const chunk_coords& pos, chunk& c); - void do_mouse_move(global_coords pos); - + void do_mouse_move(); + void do_mouse_up_down(std::uint8_t button, bool is_down); void do_camera(float dt); + void do_keys(); + void reset_camera_offset(); - void recalc_cursor_tile(); + void update_cursor_tile(const std::optional<Vector2i>& pixel); void draw_cursor_tile(); void draw_wireframe_quad(global_coords pt); |