summaryrefslogtreecommitdiff
path: root/include/game.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-05-17 22:48:25 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-05-17 22:48:25 +0200
commit003c13a4ae07c3ec15a31df0f7f65e3d1ffe9ae0 (patch)
treea56b0e1d84d297c5869e8272fcac58c298a51ed5 /include/game.h
parentf06351b8a04d0a68628b05bed884832840998c6c (diff)
game fade in and out
Diffstat (limited to 'include/game.h')
-rw-r--r--include/game.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/game.h b/include/game.h
index 2884a92..91f471d 100644
--- a/include/game.h
+++ b/include/game.h
@@ -39,12 +39,13 @@ 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;
+extern bool game_is_paused;
pathfinding_request active_requests[SERVER_PATHFINDING_THREADS] = {0};
void init_game();
void start_solo_game();
bool connect_to_game(char* ip, char* port);
void fill_game_structs();
+bool every_player_died();
#endif \ No newline at end of file