summaryrefslogtreecommitdiff
path: root/src/game/assets.cpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-12-19 13:23:01 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-12-19 13:23:01 +0100
commit4bc1bff7953404f3ce309349f9209e1a752a1f9d (patch)
tree71b066759ff5a2c196cd5b214110c177e044c7c8 /src/game/assets.cpp
parent07e5ade69918341666511a8b33aef04479705262 (diff)
Much better selection graphics.
Diffstat (limited to 'src/game/assets.cpp')
-rw-r--r--src/game/assets.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/assets.cpp b/src/game/assets.cpp
index a96a535..1bc8948 100644
--- a/src/game/assets.cpp
+++ b/src/game/assets.cpp
@@ -8,6 +8,8 @@ nest_assets_t nest;
fx_assets_t fx;
deco_assets_t deco;
+render::animated_texture_t unit_selected;
+
void load(void)
{
soldier.head_idle.load("assets/units/soldier/head_idle", 1, 1, 1);
@@ -33,6 +35,8 @@ void load(void)
deco.spike.load("assets/deco/spike_", 1);
deco.spike_small.load("assets/deco/spike_small_", 1);
+ unit_selected.load("assets/units/selected_", 1);
+
world::register_tile(TILE_DIRT, 0);
render::register_tile(TILE_DIRT, "assets/tiles/dirt.png");
world::register_tile(TILE_STONE, CF_SOLID);