mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03: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:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user