summaryrefslogtreecommitdiff
path: root/src/assets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/assets.cpp')
-rw-r--r--src/assets.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/assets.cpp b/src/assets.cpp
new file mode 100644
index 0000000..530723d
--- /dev/null
+++ b/src/assets.cpp
@@ -0,0 +1,15 @@
+#include "common.hpp"
+
+namespace assets {
+
+human_assets_t human;
+
+void load(void)
+{
+ human.head_idle.load("assets/units/human/head_idle", 1, 1, 1);
+ human.body_idle.load("assets/units/human/body_idle", 2, 2, 2);
+ human.legs_idle.load("assets/units/human/legs_idle", 2, 2);
+ human.legs_walking.load("assets/units/human/legs_walking", 2, 2);
+}
+
+} // namespace assets