mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Re-add main menu credits button in M&P
For some reason, the credits button was always specifically removed from M&P builds. After some discussion with Terry Cavanagh on the VVVVVV Discord server, we agreed that there was no reason this should be removed. So, it's getting put back in.
This commit is contained in:
@@ -6274,9 +6274,7 @@ void Game::createmenu( enum Menu::MenuName t, bool samemenu/*= false*/ )
|
|||||||
{
|
{
|
||||||
option(loc::gettext("translator"));
|
option(loc::gettext("translator"));
|
||||||
}
|
}
|
||||||
#if !defined(MAKEANDPLAY)
|
|
||||||
option(loc::gettext("credits"));
|
option(loc::gettext("credits"));
|
||||||
#endif
|
|
||||||
option(loc::gettext("quit"));
|
option(loc::gettext("quit"));
|
||||||
menuyoff = -10;
|
menuyoff = -10;
|
||||||
maxspacing = 15;
|
maxspacing = 15;
|
||||||
|
|||||||
@@ -399,9 +399,7 @@ static void menuactionpress(void)
|
|||||||
{
|
{
|
||||||
OPTION_ID(3) /* translator */
|
OPTION_ID(3) /* translator */
|
||||||
}
|
}
|
||||||
#if !defined(MAKEANDPLAY)
|
|
||||||
OPTION_ID(4) /* credits */
|
OPTION_ID(4) /* credits */
|
||||||
#endif
|
|
||||||
OPTION_ID(5) /* quit */
|
OPTION_ID(5) /* quit */
|
||||||
|
|
||||||
#undef OPTION_ID
|
#undef OPTION_ID
|
||||||
@@ -447,14 +445,12 @@ static void menuactionpress(void)
|
|||||||
game.createmenu(Menu::translator_main);
|
game.createmenu(Menu::translator_main);
|
||||||
map.nexttowercolour();
|
map.nexttowercolour();
|
||||||
break;
|
break;
|
||||||
#if !defined(MAKEANDPLAY)
|
|
||||||
case 4:
|
case 4:
|
||||||
//Credits
|
//Credits
|
||||||
music.playef(Sound_VIRIDIAN);
|
music.playef(Sound_VIRIDIAN);
|
||||||
game.createmenu(Menu::credits);
|
game.createmenu(Menu::credits);
|
||||||
map.nexttowercolour();
|
map.nexttowercolour();
|
||||||
break;
|
break;
|
||||||
#endif
|
|
||||||
case 5:
|
case 5:
|
||||||
music.playef(Sound_VIRIDIAN);
|
music.playef(Sound_VIRIDIAN);
|
||||||
game.createmenu(Menu::youwannaquit);
|
game.createmenu(Menu::youwannaquit);
|
||||||
|
|||||||
Reference in New Issue
Block a user