diff options
Diffstat (limited to 'include/zombies.h')
| -rw-r--r-- | include/zombies.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/zombies.h b/include/zombies.h index c9e22f1..44b2956 100644 --- a/include/zombies.h +++ b/include/zombies.h @@ -9,9 +9,21 @@ typedef struct t_zombie { bool alive; float health; - vec2f position; + vec3f position; + vec3f size; } zombie; +typedef struct t_spawner { + vec2 position; + float sec_since_last_spawn; +} spawner; + +// data data that is stored on disk +spawner spawner_tiles[2] = { + {9, 0, 0}, + {1, 8, 0}, +}; + zombie zombies[50] = {0}; int max_zombies = 50; |
