diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-11-02 18:42:02 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-11-02 18:42:02 +0100 |
| commit | 2b9b3e78d9d448e4dfb4eaaa87b5f290ebee9cff (patch) | |
| tree | b2c1ccec5c03e69d4c709634184942ef39ebffca /include/zombie_chunk.h | |
| parent | 11fc04b238ff9d42b17e6befa6ab4a673606fc1a (diff) | |
zombie chunks on server side
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; |
