diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-12-16 16:45:46 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-12-16 16:45:46 +0100 |
commit | 3b9e3afd449facf5c98ffee50247c80e293f8545 (patch) | |
tree | 34dd4c8a1038ec666b6ccbf69a74d9ff09b2b86c /src/game/assets.cpp | |
parent | b13dc31b08cddf14ecfa6b8cf496cf4e7308083c (diff) |
Start adding decorations.
Diffstat (limited to 'src/game/assets.cpp')
-rw-r--r-- | src/game/assets.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/assets.cpp b/src/game/assets.cpp index 2f913ba..a908962 100644 --- a/src/game/assets.cpp +++ b/src/game/assets.cpp @@ -5,6 +5,7 @@ namespace game::assets { human_assets_t human; alien_assets_t alien; fx_assets_t fx; +deco_assets_t deco; void load(void) { @@ -22,6 +23,9 @@ void load(void) fx.blood.load("assets/units/blood_", 4); + deco.stone.load("assets/deco/stone_", 1); + deco.eyething.load("assets/deco/eyething_", 2); + world::register_tile(TILE_DIRT, 0); render::register_tile(TILE_DIRT, "assets/tiles/dirt.png"); world::register_tile(TILE_STONE, CF_SOLID); |