From 1fd33b69f7cef5f9dfe1da417717545f34c673d0 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Tue, 12 Dec 2017 14:57:52 +0100 Subject: Start moving game logic to src/game. --- src/game/game.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/game/game.hpp (limited to 'src/game/game.hpp') 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); +}; -- cgit