summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2024-01-04 18:24:13 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2024-01-04 18:24:13 +0100
commit6e23ec86411c88ece2e799ee0529dab595980f86 (patch)
treedba94a5f95e2bac02b2e9de36187b57fdc7f7e7d /include
parent3f17fd5a4e903044bad8777a4ac0aa52cf8920fb (diff)
zombie health bar
Diffstat (limited to 'include')
-rw-r--r--include/asset_defs.h2
-rw-r--r--include/zombies.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/asset_defs.h b/include/asset_defs.h
index 192044b..7f99767 100644
--- a/include/asset_defs.h
+++ b/include/asset_defs.h
@@ -59,6 +59,8 @@ image* img_gunner_yellow_idle;
image* img_gunner_red_run;
image* img_gunner_red_idle;
+image* img_bullet_stream;
+image* img_muzzle_flash;
image* img_alien_run;
// Guns
diff --git a/include/zombies.h b/include/zombies.h
index a9d8a5c..b3bc1f3 100644
--- a/include/zombies.h
+++ b/include/zombies.h
@@ -16,6 +16,7 @@ typedef enum t_zombie_type {
typedef struct t_zombie {
bool alive;
float health;
+ float max_health;
vec3f position;
vec3f size;
array path;