1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 10:09:43 +01:00

Remove unused menu setslowdown1

Looks like it was a remnant from the Flash days, and the "delete your
saves if you want to use slowdown" was a bit too mean so it stopped
being a thing in the C++ version.
This commit is contained in:
Misa 2020-04-16 15:41:31 -07:00 committed by Ethan Lee
parent 9e99246e02
commit 1c2cee48a7
4 changed files with 0 additions and 33 deletions

View file

@ -6753,12 +6753,6 @@ void Game::createmenu( enum Menu::MenuName t )
menuxoff = -30; menuxoff = -30;
menuyoff = 64; menuyoff = 64;
break; break;
case Menu::setslowdown1:
option("no, return to options");
option("yes, delete saves");
menuxoff = -30;
menuyoff = 64;
break;
case Menu::setslowdown2: case Menu::setslowdown2:
option("normal speed"); option("normal speed");
option("80% speed"); option("80% speed");

View file

@ -35,7 +35,6 @@ namespace Menu
controller, controller,
cleardatamenu, cleardatamenu,
setinvincibility, setinvincibility,
setslowdown1,
setslowdown2, setslowdown2,
unlockmenu, unlockmenu,
credits, credits,

View file

@ -392,26 +392,6 @@ void menuactionpress()
break; break;
} }
break; break;
case Menu::setslowdown1:
switch (game.currentmenuoption)
{
case 0:
//back
music.playef(11);
game.createmenu(Menu::accessibility);
game.currentmenuoption = 4;
map.nexttowercolour();
break;
case 1:
//change game speed
game.deletequick();
game.deletetele();
game.createmenu(Menu::setslowdown2);
map.nexttowercolour();
music.playef(11);
break;
}
break;
case Menu::setslowdown2: case Menu::setslowdown2:
switch (game.currentmenuoption) switch (game.currentmenuoption)
{ {

View file

@ -269,12 +269,6 @@ void menurender()
graphics.Print( -1, 100, "Are you sure you want to ", tr, tg, tb, true); graphics.Print( -1, 100, "Are you sure you want to ", tr, tg, tb, true);
graphics.Print( -1, 110, "enable invincibility?", tr, tg, tb, true); graphics.Print( -1, 110, "enable invincibility?", tr, tg, tb, true);
break; break;
case Menu::setslowdown1:
graphics.Print( -1, 90, "Warning! Changing the game speed", tr, tg, tb, true);
graphics.Print( -1, 100, "requires a game restart, and will", tr, tg, tb, true);
graphics.Print( -1, 110, "delete your current saves.", tr, tg, tb, true);
graphics.Print( -1, 120, "Is this ok?", tr, tg, tb, true);
break;
case Menu::setslowdown2: case Menu::setslowdown2:
graphics.bigprint( -1, 40, "Game Speed", tr, tg, tb, true); graphics.bigprint( -1, 40, "Game Speed", tr, tg, tb, true);
graphics.Print( -1, 75, "Select a new game speed below.", tr, tg, tb, true); graphics.Print( -1, 75, "Select a new game speed below.", tr, tg, tb, true);