summaryrefslogtreecommitdiff
path: root/include/guns.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2022-12-19 16:42:15 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2022-12-19 16:42:15 +0100
commit79efc8a8e9976bbdd41d4a47b58c71d3be9d4ff7 (patch)
tree5a46a8406ec3404859e0f3926bc75e08423afaa8 /include/guns.h
parent22936e7a270a9bd0f13acb651b15db2158a8d6e0 (diff)
zombie chunks
Diffstat (limited to 'include/guns.h')
-rw-r--r--include/guns.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/guns.h b/include/guns.h
index 1b93781..2c22c00 100644
--- a/include/guns.h
+++ b/include/guns.h
@@ -17,12 +17,13 @@ typedef struct t_gun {
float bullet_spread;
int bullets_per_shot;
float shots_per_second;
+ int damage;
} gun;
gun guns[GUN_ALL] = {
- {GUN_DESERTEAGLE, "Desert Eagle", 8, 64, 0.0f, 1, 4.0f},
- {GUN_MP5, "MP5", 30, 120, 0.1f, 1, 10.0f},
- {GUN_NOVA, "Nova", 12, 80, 0.2f, 3, 1.2f},
+ {GUN_DESERTEAGLE, "Desert Eagle", 8, 64, 0.0f, 1, 4.0f, 350},
+ {GUN_MP5, "MP5", 30, 120, 0.1f, 1, 10.0f, 150},
+ {GUN_NOVA, "Nova", 12, 80, 0.2f, 3, 1.2f, 600},
};
image* get_image_of_gun(gun_type type);