summaryrefslogtreecommitdiff
path: root/src/game/game.hpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-12-12 14:57:52 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-12-12 14:57:52 +0100
commit1fd33b69f7cef5f9dfe1da417717545f34c673d0 (patch)
treedd30ac53136a54b159018bf4aea6d09d77d376fb /src/game/game.hpp
parent9f88509c8e440d9bb3430b71708efd69988f461c (diff)
Start moving game logic to src/game.
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r--src/game/game.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp
new file mode 100644
index 0000000..3e10bbb
--- /dev/null
+++ b/src/game/game.hpp
@@ -0,0 +1,14 @@
+#include "../common.hpp"
+
+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;
+ extern sf::Texture tile_dirt;
+ extern sf::Texture tile_wall;
+
+ void load(void);
+};