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.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp
index 0143edb..85e3849 100644
--- a/src/game/game.hpp
+++ b/src/game/game.hpp
@@ -54,6 +54,8 @@ namespace game {
render::animated_texture_t body_panic;
render::oriented_sprite_4M2_t legs_idle, legs_walking;
render::animated_texture_t dead;
+
+ audio::sound_t fire;
} soldier_assets_t;
typedef struct {
@@ -194,6 +196,10 @@ namespace game {
die_t hit_die;
} cs;
+ struct {
+ audio::sound_t *attack = NULL;
+ } sounds;
+
bool dead = false;
double death_time = -INFINITY;
int health = 1, max_health = 1;