diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-10-29 09:40:38 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-10-29 09:40:38 +0100 |
| commit | dda7cfb99e9e8664878bcd38e3d3392b544c3343 (patch) | |
| tree | 9e824e014510ca436a1697546e0fce3412970594 /include/throwables.h | |
| parent | 2bcffc7def20dd1e660d742f54bd97307b9f193d (diff) | |
grenade explosion
Diffstat (limited to 'include/throwables.h')
| -rw-r--r-- | include/throwables.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/throwables.h b/include/throwables.h index 2106c94..0d227d9 100644 --- a/include/throwables.h +++ b/include/throwables.h @@ -30,8 +30,11 @@ typedef struct t_throwable { float alive_time; int bounces; sprite sprite; + int damage; } throwable; +vec3f grenade_explosion_size = (vec3f){2.0f, 2.0f, 2.0f}; + throwable throwables[500] = {0}; int max_throwables = 500; |
