1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-25 05:58:30 +02: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:
Misa 2020-06-22 15:47:25 -07:00 committed by Ethan Lee
parent 4274843a4b
commit 06102e2db3

View File

@ -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;
}
}