diff --git a/src/draw/draw.c b/src/draw/draw.c index 324b61b..a638c70 100644 --- a/src/draw/draw.c +++ b/src/draw/draw.c @@ -55,7 +55,10 @@ void presentScene(void) } } - drawMouse(); + if (!app.hideMouse) + { + drawMouse(); + } SDL_SetRenderTarget(app.renderer, NULL); SDL_RenderCopy(app.renderer, app.backBuffer, NULL, NULL); diff --git a/src/game/credits.c b/src/game/credits.c index 70d7ff0..dc178e8 100644 --- a/src/game/credits.c +++ b/src/game/credits.c @@ -51,6 +51,8 @@ void initCredits(void) loadCredits(); + app.hideMouse = 1; + endSectionTransition(); playMusic("music/main/Her Violet Eyes.mp3", 0); @@ -74,6 +76,8 @@ static void logic(void) if (--timeout <= 0) { + app.hideMouse = 0; + initTitle(); } } diff --git a/src/structs.h b/src/structs.h index a80e188..f8b0581 100644 --- a/src/structs.h +++ b/src/structs.h @@ -488,6 +488,7 @@ typedef struct { int musicVolume; int soundVolume; int doTrophyAlerts; + int hideMouse; Gameplay gameplay; Mouse mouse; int keyboard[MAX_KEYBOARD_KEYS];