diff options
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r-- | src/game/game.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp index 0a1d0ca..8949911 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -37,8 +37,13 @@ namespace game { render::animated_texture_t dead; } alien_assets_t; + typedef struct { + render::animated_texture_t blood; + } fx_assets_t; + extern human_assets_t human; extern alien_assets_t alien; + extern fx_assets_t fx; void load(void); } @@ -157,4 +162,13 @@ namespace game { fx_tracer_t(game::state_t *game_, v2f_t x0_, v2f_t x1_); void render_to(render::state_t *render); }; + + class fx_blood_t : public effect_t { + bool alien; + v2f_t x; + + public: + fx_blood_t(game::state_t *game_, v2f_t x_, bool alien_); + void render_to(render::state_t *render); + }; }; |