diff options
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r-- | src/game/game.hpp | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp index 8d13b17..27fc69b 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -36,12 +36,13 @@ namespace game { }; enum { - CF_BACKGROUND = 1, - CF_SOLID = 2, - CF_BODY = 4, - CF_BODY_SMALL = 8, - CF_WATER = 16, - CF_DECOS = 32 + CF_SURFACE = 1, + CF_BACKGROUND = 2, + CF_SOLID = 4, + CF_BODY = 8, + CF_BODY_SMALL = 16, + CF_WATER = 32, + CF_DECOS = 64 }; enum { @@ -169,7 +170,6 @@ namespace game { class fx_aim_marker_t; unit_t *find_target(world::world_t *world, v2f_t x, float r, bool friendly); - void hivemind_attack(unit_t *source, bool have_target, v2f_t target); class unit_t : public entity_t { protected: @@ -403,6 +403,18 @@ namespace game { void render_to(render::state_t *render); }; + class fx_debug_hivemind_t : public effect_t { + v2f_t x, move_to; + float r; + bool do_move; + + public: + fx_debug_hivemind_t(game::state_t *game_, v2f_t x_, float r_, bool do_move_, v2f_t move_to_); + ~fx_debug_hivemind_t(void) {}; + + void render_to(render::state_t *render); + }; + typedef enum { DECO_STONE, DECO_STONE_CRACKED, |