mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 10:09:43 +01:00
Make better Esc menu functional
So now the options do what they do. However, I still need to fix the 1-frame glitch when switching to TITLEMODE, as well as make returning from the menu return back to MAPMODE, as well as making this better menu integrate seamlessly with the existing menus.
This commit is contained in:
parent
4274843a4b
commit
06102e2db3
1 changed files with 23 additions and 0 deletions
|
@ -2079,6 +2079,29 @@ void mapmenuactionpress()
|
|||
game.fadetolab = true;
|
||||
game.fadetolabdelay = 16;
|
||||
break;
|
||||
case 30:
|
||||
// Return to game
|
||||
graphics.resumegamemode = true;
|
||||
break;
|
||||
case 31:
|
||||
// Go to quit prompt
|
||||
music.playef(11);
|
||||
game.menupage = 10;
|
||||
break;
|
||||
case 32:
|
||||
// Graphic options
|
||||
music.playef(11);
|
||||
game.gamestate = TITLEMODE;
|
||||
game.createmenu(Menu::graphicoptions);
|
||||
map.nexttowercolour();
|
||||
break;
|
||||
case 33:
|
||||
// Game options
|
||||
music.playef(11);
|
||||
game.gamestate = TITLEMODE;
|
||||
game.createmenu(Menu::options);
|
||||
map.nexttowercolour();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue