mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-31 02:14:09 +03:00
Hide level path by default
You will now need to go through another confirm menu in order to print your level path. The confirm menu warns you may leak sensitive information if you are streaming. Screenshots: https://i.imgur.com/0Dc9jsZ.png https://i.imgur.com/UhDgXqj.png https://i.imgur.com/Z0ftQnH.png Fixes #853.
This commit is contained in:
@@ -567,6 +567,11 @@ static void menuactionpress(void)
|
||||
}
|
||||
break;
|
||||
case OFFSET+3:
|
||||
music.playef(11);
|
||||
game.createmenu(Menu::confirmshowlevelspath);
|
||||
map.nexttowercolour();
|
||||
break;
|
||||
case OFFSET+4:
|
||||
//back
|
||||
music.playef(11);
|
||||
game.returnmenu();
|
||||
@@ -576,6 +581,23 @@ static void menuactionpress(void)
|
||||
#undef OFFSET
|
||||
break;
|
||||
#endif
|
||||
case Menu::confirmshowlevelspath:
|
||||
{
|
||||
int prevmenuoption = game.currentmenuoption; /* returnmenu destroys this */
|
||||
music.playef(11);
|
||||
game.returnmenu();
|
||||
map.nexttowercolour();
|
||||
if (prevmenuoption == 1)
|
||||
{
|
||||
game.createmenu(Menu::showlevelspath);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case Menu::showlevelspath:
|
||||
music.playef(11);
|
||||
game.returntomenu(Menu::playerworlds);
|
||||
map.nexttowercolour();
|
||||
break;
|
||||
case Menu::errornostart:
|
||||
music.playef(11);
|
||||
game.createmenu(Menu::mainmenu);
|
||||
|
||||
Reference in New Issue
Block a user