summaryrefslogtreecommitdiffhomepage
path: root/src/tile-defs.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-18 11:34:03 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-18 12:29:24 +0100
commit7e79dbfedfc019b269139b5308e4811938b75278 (patch)
treeac441403afa8da5b6586d963e79f636f7bcef2bf /src/tile-defs.hpp
parentec4f8323fe075e8b8d716128996658a2a1a300d7 (diff)
compat: remove integer-types header
Other headers incldue <cstddef> and <cstdint> anyway.
Diffstat (limited to 'src/tile-defs.hpp')
-rw-r--r--src/tile-defs.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tile-defs.hpp b/src/tile-defs.hpp
index af0b0194..f40e81ff 100644
--- a/src/tile-defs.hpp
+++ b/src/tile-defs.hpp
@@ -1,10 +1,10 @@
#pragma once
-#include "compat/integer-types.hpp"
+#include <cstddef>
#include <Magnum/Math/Vector3.h>
namespace floormat {
-constexpr inline std::uint8_t TILE_MAX_DIM = 16;
+constexpr inline unsigned char TILE_MAX_DIM = 16;
constexpr inline std::size_t TILE_COUNT = TILE_MAX_DIM*TILE_MAX_DIM;
constexpr inline auto TILE_MAX_DIM20d = Magnum::Math::Vector3<double> { TILE_MAX_DIM, TILE_MAX_DIM, 0 };