fixed keybord selection for quit game play

This commit is contained in:
2025-11-22 11:14:55 +01:00
parent 0ffd801743
commit a257c5cd79
7 changed files with 39 additions and 12 deletions

View File

@ -47,6 +47,7 @@ struct StateContext {
// Menu popups (exposed from main)
bool* showSettingsPopup = nullptr;
bool* showExitConfirmPopup = nullptr; // If true, show "Exit game?" confirmation while playing
int* exitPopupSelectedButton = nullptr; // 0 = YES, 1 = NO (default)
// Pointer to the application's StateManager so states can request transitions
StateManager* stateManager = nullptr;
};