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; break;
} }
case Menu::options: 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) switch (game.currentmenuoption)
{ {
case 0: case 0:
@@ -822,7 +805,6 @@ static void menuactionpress(void)
} }
break; break;
}
case Menu::unlockmenutrials: case Menu::unlockmenutrials:
switch (game.currentmenuoption) switch (game.currentmenuoption)
{ {

View File

@@ -164,21 +164,6 @@ static void menurender(void)
break; break;
} }
case Menu::options: 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) switch (game.currentmenuoption)
{ {
case 0: case 0:
@@ -213,7 +198,6 @@ static void menurender(void)
} }
} }
break; break;
}
case Menu::graphicoptions: case Menu::graphicoptions:
switch (game.currentmenuoption) switch (game.currentmenuoption)
{ {

View File

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