Axe mouse cursor config option

The config option has been removed. I'm going to implement something
that automatically shows and hides the mouse cursor whenever
appropriate, which is better than a config option.
This commit is contained in:
Misa
2021-04-16 22:00:33 -07:00
parent 390720dacc
commit c76c67b125
5 changed files with 2 additions and 46 deletions

View File

@@ -601,25 +601,12 @@ static void menuactionpress(void)
switch (game.currentmenuoption)
{
case 0:
//toggle mouse cursor
music.playef(11);
if (graphics.showmousecursor == true) {
SDL_ShowCursor(SDL_DISABLE);
graphics.showmousecursor = false;
}
else {
SDL_ShowCursor(SDL_ENABLE);
graphics.showmousecursor = true;
}
game.savestatsandsettings_menu();
break;
case 1:
// toggle unfocus pause
game.disablepause = !game.disablepause;
game.savestatsandsettings_menu();
music.playef(11);
break;
case 2:
case 1:
// toggle translucent roomname BG
graphics.translucentroomname = !graphics.translucentroomname;
game.savestatsandsettings_menu();