diff options
Diffstat (limited to 'include/zombie_chunk.h')
| -rw-r--r-- | include/zombie_chunk.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/zombie_chunk.h b/include/zombie_chunk.h index f0ad5b1..d774026 100644 --- a/include/zombie_chunk.h +++ b/include/zombie_chunk.h @@ -5,6 +5,13 @@ #include "objects.h" +typedef enum t_zombie_chunk_type +{ + CHUNK_FOOT, + CHUNK_HAND, + CHUNK_SPLATTER, +} zombie_chunk_type; + typedef struct t_zombie_chunk { bool active; vec3f start_position; @@ -12,7 +19,8 @@ typedef struct t_zombie_chunk { vec3f target_position; float duration; vec2f direction; - image* img; + zombie_chunk_type type; + int random_chunk; float rotation; float rotation_speed; } zombie_chunk; |
