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.hpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp
index 8486412..c2bc58d 100644
--- a/src/game/game.hpp
+++ b/src/game/game.hpp
@@ -68,7 +68,7 @@ namespace game {
} nest_assets_t;
typedef struct {
- render::animated_texture_t blood;
+ render::animated_texture_t blood, flash;
} fx_assets_t;
typedef struct {
@@ -308,6 +308,17 @@ namespace game {
void render_to(render::state_t *render);
};
+ class fx_flash_t : public effect_t {
+ v2f_t x;
+ float radius;
+
+ public:
+ fx_flash_t(game::state_t *game_, v2f_t x_, float radius_);
+ ~fx_flash_t(void) {};
+
+ void render_to(render::state_t *render);
+ };
+
class fx_blood_t : public effect_t {
bool alien;
v2f_t x;