summaryrefslogtreecommitdiff
path: root/include/zombies.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2023-10-28 16:27:07 +0200
committerAldrik Ramaekers <aldrik@amftech.nl>2023-10-28 16:27:07 +0200
commitf2522c04446bb4bd597a8625f9398e67ff957565 (patch)
treebd5e7506a434978296397b9d0a0e95bf3ae04d60 /include/zombies.h
parent1ac22220f6077b3367456384b4bb563f1c5c2d29 (diff)
more sounds
Diffstat (limited to 'include/zombies.h')
-rw-r--r--include/zombies.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/zombies.h b/include/zombies.h
index 0c18bef..eeadaaf 100644
--- a/include/zombies.h
+++ b/include/zombies.h
@@ -8,6 +8,11 @@
#include "pathfinding.h"
#include "sprite.h"
+typedef enum t_zombie_type {
+ ZOMBIE_TYPE_NONE,
+ ZOMBIE_TYPE_NORMAL,
+} zombie_type;
+
typedef struct t_zombie {
bool alive;
float health;
@@ -18,6 +23,7 @@ typedef struct t_zombie {
float time_since_last_path;
pathfinding_request request;
vec2f next2tiles[2];
+ zombie_type type;
} zombie;
typedef struct t_spawner {