mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03: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:
@@ -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 );
|
||||
|
||||
@@ -351,7 +351,6 @@ public:
|
||||
bool savemystats;
|
||||
|
||||
|
||||
bool advanced_mode;
|
||||
bool fullScreenEffect_badSignal;
|
||||
bool useLinearFilter;
|
||||
int stretchMode;
|
||||
|
||||
Reference in New Issue
Block a user