diff options
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r-- | src/game/game.hpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp index 456a8ea..7adc307 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -59,7 +59,8 @@ namespace game { extern nest_assets_t nest; extern fx_assets_t fx; extern deco_assets_t deco; - extern render::animated_texture_t unit_selected; + extern render::animated_texture_t unit_selected; + extern render::animated_texture_t unit_selected_halo; void load(void); } @@ -182,15 +183,15 @@ namespace game { double say_time = -INFINITY; void say(std::string str); - void render_to_pre(render::state_t *render); void render_to(render::state_t *render); - }; class unit_soldier_t : public unit_t { double last_target_time = -INFINITY; v2f_t last_target_x; + sf::Color selection_color; + double next_fear_test = -INFINITY; size_t willpower_bonus; size_t fear_dc; @@ -206,6 +207,7 @@ namespace game { unit_soldier_t(game::state_t *game_); ~unit_soldier_t(void) {}; void render_to(render::state_t *render); + void render_late_to(render::state_t *render); void on_think(void); void on_spawn(void) {}; @@ -218,6 +220,7 @@ namespace game { unit_spider_t(game::state_t *game_); ~unit_spider_t(void) {}; void render_to(render::state_t *render); + void render_late_to(render::state_t *render) {}; void target_and_attack(void); @@ -234,6 +237,7 @@ namespace game { unit_nest_t(game::state_t *game_); ~unit_nest_t(void) {}; void render_to(render::state_t *render); + void render_late_to(render::state_t *render) {}; void on_think(void); void on_spawn(void); @@ -251,6 +255,8 @@ namespace game { void on_think(void); void on_spawn(void) {}; void on_wake(void) {}; + + void render_late_to(render::state_t *render) {}; }; class fx_tracer_t : public effect_t { @@ -290,6 +296,7 @@ namespace game { deco_t(game::state_t *game, deco_type_t type_); void render_to(render::state_t *render); + void render_late_to(render::state_t *render) {}; void on_think(void) {}; void on_spawn(void) {}; |