summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/anim.hpp2
-rw-r--r--src/chunk-render.cpp1
-rw-r--r--src/chunk-scenery.cpp2
-rw-r--r--src/path-search.cpp4
5 files changed, 4 insertions, 7 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f8d3e032..6f1e78cd 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -10,3 +10,5 @@ target_link_libraries(
fmt::fmt
tsl::robin_map
)
+
+#target_precompile_headers(${self} PUBLIC precomp.hpp)
diff --git a/src/anim.hpp b/src/anim.hpp
index e505f29f..3b4d70a9 100644
--- a/src/anim.hpp
+++ b/src/anim.hpp
@@ -1,6 +1,6 @@
#pragma once
-#include <vector>
+#include <vector> // todo use <Corrade/Containers/GrowableArray.h>
#include <Corrade/Containers/String.h>
#include <Magnum/Magnum.h>
#include <Magnum/Math/Vector2.h>
diff --git a/src/chunk-render.cpp b/src/chunk-render.cpp
index ffaa33ec..459f51b7 100644
--- a/src/chunk-render.cpp
+++ b/src/chunk-render.cpp
@@ -2,7 +2,6 @@
#include "ground-atlas.hpp"
#include "quads.hpp"
#include "shaders/shader.hpp"
-#include "compat/defs.hpp"
#include <algorithm>
#include <Corrade/Containers/ArrayViewStl.h>
#include <Magnum/GL/Buffer.h>
diff --git a/src/chunk-scenery.cpp b/src/chunk-scenery.cpp
index 807b1d70..50840453 100644
--- a/src/chunk-scenery.cpp
+++ b/src/chunk-scenery.cpp
@@ -5,7 +5,7 @@
#include "scenery.hpp"
#include "quads.hpp"
#include <bit>
-#include <Corrade/Containers/ArrayViewStl.h>
+#include <Corrade/Containers/ArrayView.h>
#include <Magnum/GL/Buffer.h>
namespace floormat {
diff --git a/src/path-search.cpp b/src/path-search.cpp
index 2f799f73..94da7f10 100644
--- a/src/path-search.cpp
+++ b/src/path-search.cpp
@@ -4,10 +4,6 @@
#include "pass-mode.hpp"
#include "RTree-search.hpp"
#include "compat/function2.hpp"
-#include <Corrade/Containers/PairStl.h>
-#include <Magnum/Math/Functions.h>
-#include <Magnum/Math/Range.h>
-#include <Magnum/Math/BitVector.h>
namespace floormat {