upodate game start and blur on pause

This commit is contained in:
2025-11-23 09:40:00 +01:00
parent 9a035df452
commit 5bf87f2c21
8 changed files with 350 additions and 177 deletions

View File

@ -25,10 +25,26 @@ public:
float logicalH,
float logicalScale,
float winW,
float winH
);
// Render the pause overlay (full screen)
static void renderPauseOverlay(
SDL_Renderer* renderer,
FontAtlas* pixelFont,
float winW,
float winH,
bool showExitConfirmPopup,
int exitPopupSelectedButton = 1, // 0=YES, 1=NO
bool suppressPauseVisuals = false
float logicalScale
);
// Render the exit confirmation popup
static void renderExitPopup(
SDL_Renderer* renderer,
FontAtlas* pixelFont,
float winW,
float winH,
float logicalScale,
int selectedButton
);
private: