diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-12-17 08:12:13 +0000 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-12-17 08:12:13 +0000 |
commit | a44122dc7336640c4f20cd9845f26e38a55ec1cd (patch) | |
tree | 92734d2cae14e548d054ed5992319af9019ecba7 /src/game/game.hpp | |
parent | 68d83476cacf077bb409f5dd1bafb99ac11d3e43 (diff) |
Improve decos: more variations and fewer patterns.
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r-- | src/game/game.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp index 7b0674c..d055aa5 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -24,7 +24,8 @@ namespace game { extern size_t selection_cookie; - void worldgen(world::world_t *world, world::sector_index_t index, world::sector_t *sector, void *data); + void worldgen(world::world_t *world, world::sector_index_t index, world::sector_t *sector, + bool gen_tiles, bool gen_decos, void *data); namespace assets { typedef struct { @@ -49,6 +50,7 @@ namespace game { typedef struct { render::animated_texture_t stone, eyething; + render::animated_texture_t spike, spike_small; } deco_assets_t; extern soldier_assets_t soldier; @@ -250,7 +252,9 @@ namespace game { typedef enum { DECO_STONE, DECO_STONE_SMALL, - DECO_EYETHING + DECO_EYETHING, + DECO_SPIKE, + DECO_SPIKE_SMALL } deco_type_t; class deco_t : public game::entity_t { |