summaryrefslogtreecommitdiffhomepage
path: root/main/editor.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-17 13:28:37 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-17 13:28:37 +0200
commit7f01dc47b0fd322d8c2b3f27eb1a94cd450a26a5 (patch)
treeac6201f9179a0315449ad46d742d2db325775eff /main/editor.hpp
parente65ebe30d3f2af77d57cb15e5e2b30efa454b6a8 (diff)
a
Diffstat (limited to 'main/editor.hpp')
-rw-r--r--main/editor.hpp3
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;