summaryrefslogtreecommitdiff
path: root/src/common.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.hpp')
-rw-r--r--src/common.hpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/common.hpp b/src/common.hpp
index 4645bea..f458190 100644
--- a/src/common.hpp
+++ b/src/common.hpp
@@ -116,7 +116,6 @@ namespace game {
void start(void);
void tick(void);
- void render(render::state_t *render);
};
}
@@ -190,6 +189,17 @@ namespace render {
};
}
+namespace assets {
+ typedef struct {
+ render::oriented_sprite_4M_t head_idle, body_idle;
+ render::oriented_sprite_4M2_t legs_idle, legs_walking;
+ } human_assets_t;
+
+ extern human_assets_t human;
+
+ void load(void);
+};
+
// Divide and round to minus infinity.
template <typename T>
T divide_rmi(T x, T y, T *rem)