summaryrefslogtreecommitdiff
path: root/src/game/game.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r--src/game/game.hpp8
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 {