Hide mouse pointer during credits.
This commit is contained in:
parent
4ef44ed636
commit
713f30ed5e
|
@ -55,7 +55,10 @@ void presentScene(void)
|
|||
}
|
||||
}
|
||||
|
||||
if (!app.hideMouse)
|
||||
{
|
||||
drawMouse();
|
||||
}
|
||||
|
||||
SDL_SetRenderTarget(app.renderer, NULL);
|
||||
SDL_RenderCopy(app.renderer, app.backBuffer, NULL, NULL);
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -488,6 +488,7 @@ typedef struct {
|
|||
int musicVolume;
|
||||
int soundVolume;
|
||||
int doTrophyAlerts;
|
||||
int hideMouse;
|
||||
Gameplay gameplay;
|
||||
Mouse mouse;
|
||||
int keyboard[MAX_KEYBOARD_KEYS];
|
||||
|
|
Loading…
Reference in New Issue