mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Remove useless function updategraphicsmode()
Now that it does nothing due to some earlier changes, it's a useless function that does nothing. (Well, it was already a useless function, but those earlier changes made it clearer just exactly how useless it is.) So remove that function and remove all its callsites.
This commit is contained in:
parent
297f1b6e3a
commit
691673ed30
2 changed files with 0 additions and 11 deletions
|
@ -9,9 +9,6 @@
|
||||||
|
|
||||||
extern scriptclass script;
|
extern scriptclass script;
|
||||||
|
|
||||||
// Found in titlerender.cpp
|
|
||||||
void updategraphicsmode();
|
|
||||||
|
|
||||||
void updatebuttonmappings(int bind)
|
void updatebuttonmappings(int bind)
|
||||||
{
|
{
|
||||||
for (
|
for (
|
||||||
|
@ -510,7 +507,6 @@ SDL_assert(0 && "Remove open level dir");
|
||||||
music.playef(11, 10);
|
music.playef(11, 10);
|
||||||
graphics.screenbuffer->toggleFullScreen();
|
graphics.screenbuffer->toggleFullScreen();
|
||||||
game.fullscreen = !game.fullscreen;
|
game.fullscreen = !game.fullscreen;
|
||||||
updategraphicsmode();
|
|
||||||
game.savestats();
|
game.savestats();
|
||||||
game.createmenu("graphicoptions");
|
game.createmenu("graphicoptions");
|
||||||
game.currentmenuoption = 0;
|
game.currentmenuoption = 0;
|
||||||
|
@ -518,7 +514,6 @@ SDL_assert(0 && "Remove open level dir");
|
||||||
music.playef(11, 10);
|
music.playef(11, 10);
|
||||||
graphics.screenbuffer->toggleStretchMode();
|
graphics.screenbuffer->toggleStretchMode();
|
||||||
game.stretchMode = (game.stretchMode + 1) % 3;
|
game.stretchMode = (game.stretchMode + 1) % 3;
|
||||||
updategraphicsmode();
|
|
||||||
game.savestats();
|
game.savestats();
|
||||||
game.createmenu("graphicoptions");
|
game.createmenu("graphicoptions");
|
||||||
game.currentmenuoption = 1;
|
game.currentmenuoption = 1;
|
||||||
|
@ -526,7 +521,6 @@ SDL_assert(0 && "Remove open level dir");
|
||||||
music.playef(11, 10);
|
music.playef(11, 10);
|
||||||
graphics.screenbuffer->toggleLinearFilter();
|
graphics.screenbuffer->toggleLinearFilter();
|
||||||
game.useLinearFilter = !game.useLinearFilter;
|
game.useLinearFilter = !game.useLinearFilter;
|
||||||
updategraphicsmode();
|
|
||||||
game.savestats();
|
game.savestats();
|
||||||
game.createmenu("graphicoptions");
|
game.createmenu("graphicoptions");
|
||||||
game.currentmenuoption = 2;
|
game.currentmenuoption = 2;
|
||||||
|
@ -535,7 +529,6 @@ SDL_assert(0 && "Remove open level dir");
|
||||||
music.playef(11, 10);
|
music.playef(11, 10);
|
||||||
game.fullScreenEffect_badSignal = !game.fullScreenEffect_badSignal;
|
game.fullScreenEffect_badSignal = !game.fullScreenEffect_badSignal;
|
||||||
//Hook the analogue thing in here: ABCDEFG
|
//Hook the analogue thing in here: ABCDEFG
|
||||||
updategraphicsmode();
|
|
||||||
graphics.screenbuffer->badSignalEffect= !graphics.screenbuffer->badSignalEffect;
|
graphics.screenbuffer->badSignalEffect= !graphics.screenbuffer->badSignalEffect;
|
||||||
game.savestats();
|
game.savestats();
|
||||||
game.createmenu("graphicoptions");
|
game.createmenu("graphicoptions");
|
||||||
|
|
|
@ -20,10 +20,6 @@ int tb;
|
||||||
|
|
||||||
std::string tempstring;
|
std::string tempstring;
|
||||||
|
|
||||||
void updategraphicsmode()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void titlerender()
|
void titlerender()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue