diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-17 13:28:37 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-17 13:28:37 +0200 |
commit | 7f01dc47b0fd322d8c2b3f27eb1a94cd450a26a5 (patch) | |
tree | ac6201f9179a0315449ad46d742d2db325775eff /main/editor.hpp | |
parent | e65ebe30d3f2af77d57cb15e5e2b30efa454b6a8 (diff) |
a
Diffstat (limited to 'main/editor.hpp')
-rw-r--r-- | main/editor.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/editor.hpp b/main/editor.hpp index aac474c0..f9e2def7 100644 --- a/main/editor.hpp +++ b/main/editor.hpp @@ -1,6 +1,7 @@ #pragma once #include "compat/defs.hpp" #include "tile-atlas.hpp" +#include "global-coords.hpp" #include <cstdint> #include <map> #include <memory> @@ -66,7 +67,7 @@ struct editor final tile_type& floor() { return _floor; } const tile_type& floor() const { return _floor; } - void click_at_tile(Vector2 pos, int mouse_button); + void click_at_tile(global_coords pos, int mouse_button); editor(); editor(editor&&) noexcept = default; |