diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/asset_defs.h | 4 | ||||
| -rw-r--r-- | include/guns.h | 2 | ||||
| -rw-r--r-- | include/players.h | 1 |
3 files changed, 6 insertions, 1 deletions
diff --git a/include/asset_defs.h b/include/asset_defs.h index dabb766..6202125 100644 --- a/include/asset_defs.h +++ b/include/asset_defs.h @@ -43,7 +43,9 @@ image* img_molotov_explode; // Players image* img_helmet; image* img_body; -image* img_body2; + +// Guns +image* img_gun_mp5; // Other image* img_zombie_chunk_hand; diff --git a/include/guns.h b/include/guns.h index 52f4a10..1765159 100644 --- a/include/guns.h +++ b/include/guns.h @@ -27,7 +27,9 @@ gun guns[GUN_ALL] = { {GUN_NOVA, "Nova", 12, 80, 0.1f, 3, 1.2f, 600, 1.0f}, }; +float get_gun_size(gun_type type); image* get_image_of_gun(gun_type type); +image* get_icon_of_gun(gun_type type); gun get_gun_by_type(gun_type type); #endif
\ No newline at end of file diff --git a/include/players.h b/include/players.h index dc74a26..44cf8b1 100644 --- a/include/players.h +++ b/include/players.h @@ -63,6 +63,7 @@ typedef struct t_player { int kills; u64 ping; sprite sprite; + sprite gun_sprite; network_state connection_state; u32 points; struct { |
