summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-05-28 09:52:39 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-05-29 11:49:19 +0200
commit142af4f233cb5eb0b17689226c586b48509f0474 (patch)
tree5da9322ab1f54753917829bd4104f322fdfce11e /editor
parentc3d79fdf679a749d961719ad662b9f46b0f26ec1 (diff)
split off common code in main draw loop
Diffstat (limited to 'editor')
-rw-r--r--editor/camera.cpp1
-rw-r--r--editor/draw.cpp1
-rw-r--r--editor/update.cpp1
3 files changed, 3 insertions, 0 deletions
diff --git a/editor/camera.cpp b/editor/camera.cpp
index 72b90cc2..14618d5b 100644
--- a/editor/camera.cpp
+++ b/editor/camera.cpp
@@ -3,6 +3,7 @@
#include "src/global-coords.hpp"
#include "shaders/shader.hpp"
#include "floormat/main.hpp"
+#include "floormat/draw-bounds.hpp"
#include "src/RTree-search.hpp"
#include "src/object.hpp"
#include "src/world.hpp"
diff --git a/editor/draw.cpp b/editor/draw.cpp
index 2751360c..051583d1 100644
--- a/editor/draw.cpp
+++ b/editor/draw.cpp
@@ -1,6 +1,7 @@
#include "app.hpp"
#include "src/tile-constants.hpp"
#include "floormat/main.hpp"
+#include "floormat/draw-bounds.hpp"
#include "shaders/shader.hpp"
#include "shaders/texture-unit-cache.hpp"
#include "main/clickable.hpp"
diff --git a/editor/update.cpp b/editor/update.cpp
index 204248c5..25a633a4 100644
--- a/editor/update.cpp
+++ b/editor/update.cpp
@@ -10,6 +10,7 @@
#include "main/clickable.hpp"
#include "floormat/events.hpp"
#include "floormat/main.hpp"
+#include "floormat/draw-bounds.hpp"
#include "src/critter.hpp"
#include "src/nanosecond.hpp"
#include "src/timer.hpp"