summaryrefslogtreecommitdiff
path: root/src/game/assets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/assets.cpp')
-rw-r--r--src/game/assets.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/assets.cpp b/src/game/assets.cpp
index c20d77b..b9b1289 100644
--- a/src/game/assets.cpp
+++ b/src/game/assets.cpp
@@ -3,8 +3,7 @@
namespace game::assets {
human_assets_t human;
-sf::Texture tile_dirt;
-sf::Texture tile_wall;
+alien_assets_t alien;
void load(void)
{
@@ -13,6 +12,9 @@ void load(void)
human.legs_idle.load("assets/units/human/legs_idle", 2, 2);
human.legs_walking.load("assets/units/human/legs_walking", 2, 2);
+ alien.idle.load("assets/units/alien/idle", 2, 2, 2);
+ alien.walking.load("assets/units/alien/walking", 2, 2, 2);
+
world::register_tile(TILE_DIRT, 0);
world::register_tile(TILE_WALL, 1);
render::register_tile(TILE_DIRT, "assets/tiles/dirt.png");