summaryrefslogtreecommitdiffhomepage
path: root/loader/ground-cell.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 /loader/ground-cell.hpp
parent4575194adb4615deeca174044a872093c3664ad4 (diff)
loader: work toward removing duplicate atlas code
Diffstat (limited to 'loader/ground-cell.hpp')
-rw-r--r--loader/ground-cell.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/loader/ground-cell.hpp b/loader/ground-cell.hpp
new file mode 100644
index 00000000..260301c2
--- /dev/null
+++ b/loader/ground-cell.hpp
@@ -0,0 +1,17 @@
+#pragma once
+#include "src/ground-def.hpp"
+#include <memory>
+
+namespace floormat {
+
+class ground_atlas;
+
+struct ground_cell
+{
+ std::shared_ptr<ground_atlas> atlas;
+ String name;
+ Vector2ub size;
+ pass_mode pass = pass_mode::pass;
+};
+
+} // namespace floormat