diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-12-15 18:07:16 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-12-15 18:07:16 +0100 |
commit | 4dd7ac29fe0132b9f5896a84ccfe8d05363dfa74 (patch) | |
tree | 4abbd9e3aa4403020d7ece46dc4736f67730e2eb /src/game/assets.cpp | |
parent | cd9b7052f07291e3975bad5dcfe9ad0338c17e74 (diff) |
Add the blood effect (not yet finished).
Diffstat (limited to 'src/game/assets.cpp')
-rw-r--r-- | src/game/assets.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/assets.cpp b/src/game/assets.cpp index dddd447..1b57800 100644 --- a/src/game/assets.cpp +++ b/src/game/assets.cpp @@ -4,6 +4,7 @@ namespace game::assets { human_assets_t human; alien_assets_t alien; +fx_assets_t fx; void load(void) { @@ -19,6 +20,8 @@ void load(void) alien.walking.load("assets/units/alien/walking", 2, 2, 2); alien.dead.load("assets/units/alien/dead_", 1); + fx.blood.load("assets/units/blood_", 4); + world::register_tile(TILE_DIRT, 0); world::register_tile(TILE_WALL, CF_SOLID); render::register_tile(TILE_DIRT, "assets/tiles/dirt.png"); |