diff --git a/src/globals.c b/src/globals.c index 0c05f3e..b7f3870 100644 --- a/src/globals.c +++ b/src/globals.c @@ -69,3 +69,5 @@ int first_player; // Who WAS the first player to go? bool game_loaded = false; // True if game was loaded from disk int game_num = 0; // Game number (1-9) + +bool quit_selected; // Is a player trying to quit the game? diff --git a/src/globals.h b/src/globals.h index b643255..4d5166d 100644 --- a/src/globals.h +++ b/src/globals.h @@ -140,5 +140,7 @@ extern int first_player; // Who WAS the first player to go? extern bool game_loaded; // True if game was loaded from disk extern int game_num; // Game number (1-9) +extern bool quit_selected; // Is a player trying to quit the game? + #endif /* included_GLOBALS_H */