From 142af4f233cb5eb0b17689226c586b48509f0474 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 28 May 2024 09:52:39 +0200 Subject: split off common code in main draw loop --- editor/camera.cpp | 1 + editor/draw.cpp | 1 + editor/update.cpp | 1 + 3 files changed, 3 insertions(+) (limited to 'editor') 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" -- cgit v1.2.3