diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-05-28 09:52:39 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-05-29 11:49:19 +0200 |
commit | 142af4f233cb5eb0b17689226c586b48509f0474 (patch) | |
tree | 5da9322ab1f54753917829bd4104f322fdfce11e /editor | |
parent | c3d79fdf679a749d961719ad662b9f46b0f26ec1 (diff) |
split off common code in main draw loop
Diffstat (limited to 'editor')
-rw-r--r-- | editor/camera.cpp | 1 | ||||
-rw-r--r-- | editor/draw.cpp | 1 | ||||
-rw-r--r-- | editor/update.cpp | 1 |
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" |