summaryrefslogtreecommitdiffhomepage
path: root/src/ground-def.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-07 23:38:31 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-08 08:43:49 +0100
commita6514d1a95d0f84f0935866215463ef6aed23e19 (patch)
tree639075646b1ea42a3cd4a76ae59af7dda0c4b14a /src/ground-def.hpp
parent4575194adb4615deeca174044a872093c3664ad4 (diff)
loader: work toward removing duplicate atlas code
Diffstat (limited to 'src/ground-def.hpp')
-rw-r--r--src/ground-def.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ground-def.hpp b/src/ground-def.hpp
new file mode 100644
index 00000000..9b3825ff
--- /dev/null
+++ b/src/ground-def.hpp
@@ -0,0 +1,15 @@
+#pragma once
+#include "pass-mode.hpp"
+#include <Corrade/Containers/String.h>
+#include <Magnum/Math/Vector2.h>
+
+namespace floormat {
+
+struct ground_def
+{
+ String name;
+ Vector2ub size;
+ pass_mode pass = pass_mode::pass;
+};
+
+} // namespace floormat