summaryrefslogtreecommitdiffhomepage
path: root/main/app.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-20 21:43:39 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-20 21:44:32 +0200
commit767668381e1b2f76e5035e69a3d7d6f318fe2f67 (patch)
tree0c0589ed33d9af7aa3ba24dc1826060199fc0239 /main/app.hpp
parente4e66dd842e4a0ad38fbe1da7b651ab5c5d20f51 (diff)
simplify some camera stuff
Diffstat (limited to 'main/app.hpp')
-rw-r--r--main/app.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/app.hpp b/main/app.hpp
index 5da7713d..883316be 100644
--- a/main/app.hpp
+++ b/main/app.hpp
@@ -35,12 +35,12 @@ private:
using dpi_policy = Platform::Implementation::Sdl2DpiScalingPolicy;
using tile_atlas_ = std::shared_ptr<tile_atlas>;
- void update(float dt);
+ void update(double dt);
void do_key(KeyEvent::Key k, KeyEvent::Modifiers m, bool pressed, bool repeated);
void do_mouse_click(global_coords pos, int button);
- void do_camera(float dt);
+ void do_camera(double dt);
void reset_camera_offset();
void recalc_cursor_tile();
void recalc_viewport(Vector2i size);