summaryrefslogtreecommitdiff
path: root/include/guns.h
diff options
context:
space:
mode:
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 2c22c00..2ea0d1e 100644
--- a/include/guns.h
+++ b/include/guns.h
@@ -18,12 +18,13 @@ typedef struct t_gun {
int bullets_per_shot;
float shots_per_second;
int damage;
+ float reload_time;
} gun;
gun guns[GUN_ALL] = {
- {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},
+ {GUN_DESERTEAGLE, "Desert Eagle", 8, 64, 0.0f, 1, 4.0f, 350, 1.0f},
+ {GUN_MP5, "MP5", 30, 120, 0.1f, 1, 10.0f, 150, 1.0f},
+ {GUN_NOVA, "Nova", 12, 80, 0.2f, 3, 1.2f, 600, 1.0f},
};
image* get_image_of_gun(gun_type type);