summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-05-17 21:44:00 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-05-17 21:44:00 +0200
commitf06351b8a04d0a68628b05bed884832840998c6c (patch)
tree996081db0df2461d1677aa3f220816a57343e134 /include
parent37ff88d1631bfbd231b3d93f3401f3d70a750b45 (diff)
stat overlay
Diffstat (limited to 'include')
-rw-r--r--include/asset_defs.h1
-rw-r--r--include/game.h1
-rw-r--r--include/guns.h2
3 files changed, 3 insertions, 1 deletions
diff --git a/include/asset_defs.h b/include/asset_defs.h
index 0d27bbe..8379656 100644
--- a/include/asset_defs.h
+++ b/include/asset_defs.h
@@ -35,6 +35,7 @@ image* img_red_border;
image* img_heart;
image* img_hurt_overlay_left;
image* img_hurt_overlay_right;
+image* img_stats_overlay;
// Icons
image* img_icon_bullets;
diff --git a/include/game.h b/include/game.h
index 333f076..2884a92 100644
--- a/include/game.h
+++ b/include/game.h
@@ -39,6 +39,7 @@ typedef struct t_game {
scene_state global_scene_state = SCENE_MAIN_MENU;
game global_state = {GAMESTATE_IDLE,DISCONNECTED,0,0};
+bool game_is_paused = false;
pathfinding_request active_requests[SERVER_PATHFINDING_THREADS] = {0};
void init_game();
diff --git a/include/guns.h b/include/guns.h
index 1765159..dd0a91d 100644
--- a/include/guns.h
+++ b/include/guns.h
@@ -23,7 +23,7 @@ typedef struct t_gun {
gun guns[GUN_ALL] = {
{GUN_DESERTEAGLE, "Desert Eagle", 8, 64, 0.0f, 1, 4.0f, 350, 1.0f},
- {GUN_MP5, "MP5", 30, 120, 0.05f, 1, 10.0f, 150, 1.0f},
+ {GUN_MP5, "MP5", 30, 120, 0.05f, 1, 20.0f, 150, 1.0f},
{GUN_NOVA, "Nova", 12, 80, 0.1f, 3, 1.2f, 600, 1.0f},
};