1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-31 22:19:44 +01:00

Clean up unused vars/funcs from eee98b0e07

eee98b0e07 made some functions and
variables unused, which generate compiler warnings. So I've removed
them.
This commit is contained in:
Misa 2021-04-09 08:57:00 -07:00 committed by Ethan Lee
parent 8e4b904f57
commit b5f1cbb2d1
3 changed files with 0 additions and 39 deletions

View file

@ -749,23 +749,6 @@ static void menuactionpress(void)
break;
}
case Menu::options:
{
#if defined(MAKEANDPLAY)
int flipmode_offset = 0;
#else
int flipmode_offset = game.ingame_titlemode && game.unlock[18] ? 0 : -1;
#endif
#if defined(MAKEANDPLAY)
int unlockmode_offset = -1;
#else
int unlockmode_offset = 0;
#endif
int mmmmmm_offset = music.mmmmmm ? 0 : -1;
int offset = 0;
switch (game.currentmenuoption)
{
case 0:
@ -822,7 +805,6 @@ static void menuactionpress(void)
}
break;
}
case Menu::unlockmenutrials:
switch (game.currentmenuoption)
{

View file

@ -164,21 +164,6 @@ static void menurender(void)
break;
}
case Menu::options:
{
#if defined(MAKEANDPLAY)
int flipmode_offset = 0;
#else
int flipmode_offset = game.ingame_titlemode && game.unlock[18] ? 0 : -1;
#endif
#if defined(MAKEANDPLAY)
int unlockmode_offset = -1;
#else
int unlockmode_offset = 0;
#endif
int offset = 0;
switch (game.currentmenuoption)
{
case 0:
@ -213,7 +198,6 @@ static void menurender(void)
}
}
break;
}
case Menu::graphicoptions:
switch (game.currentmenuoption)
{

View file

@ -3783,11 +3783,6 @@ void editorlogic(void)
}
}
static void creategraphicoptions(void)
{
game.createmenu(Menu::graphicoptions);
}
static void creategameoptions(void)
{
game.createmenu(Menu::options);