1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-18 10:38:31 +02:00

Remove unused attribute advanced_mode from Game

This attribute does absolutely nothing. In fact, it does so much nothing
I can safely remove reading and writing it!
This commit is contained in:
Misa 2020-07-06 14:18:21 -07:00 committed by Ethan Lee
parent 7128e9c3ac
commit 6b0b86d434
2 changed files with 0 additions and 11 deletions

View File

@ -192,7 +192,6 @@ void Game::init(void)
fullscreen = false;// true; //Assumed true at first unless overwritten at some point!
stretchMode = 0;
useLinearFilter = false;
advanced_mode = false;
fullScreenEffect_badSignal = false;
// 0..5
controllerSensitivity = 2;
@ -4625,11 +4624,6 @@ void Game::loadstats(int *width, int *height, bool *vsync)
swnrecord = atoi(pText);
}
if (pKey == "advanced_mode")
{
advanced_mode = atoi(pText);
}
if (pKey == "advanced_smoothing")
{
fullScreenEffect_badSignal = atoi(pText);
@ -4881,10 +4875,6 @@ void Game::savestats()
dataNode->LinkEndChild( msg );
msg = doc.NewElement( "advanced_mode" );
msg->LinkEndChild( doc.NewText( help.String(advanced_mode).c_str()));
dataNode->LinkEndChild( msg );
msg = doc.NewElement( "advanced_smoothing" );
msg->LinkEndChild( doc.NewText( help.String(fullScreenEffect_badSignal).c_str()));
dataNode->LinkEndChild( msg );

View File

@ -351,7 +351,6 @@ public:
bool savemystats;
bool advanced_mode;
bool fullScreenEffect_badSignal;
bool useLinearFilter;
int stretchMode;