remove 'Z' quickoption

is confusing and useless, only needed when you draw gravity walls. I can't figure out how to do a show console quickoption
This commit is contained in:
jacob1 2012-09-29 15:52:47 -04:00 committed by Simon Robertshaw
parent b3741cd67c
commit d6f832b4f5
2 changed files with 0 additions and 19 deletions

View File

@ -181,7 +181,6 @@ void GameModel::BuildQuickOptionMenu()
quickOptions.push_back(new DecorationsOption(this));
quickOptions.push_back(new NGravityOption(this));
quickOptions.push_back(new AHeatOption(this));
quickOptions.push_back(new DrawGravWallOption(this));
notifyQuickOptionsChanged();
UpdateQuickOptions();

View File

@ -97,21 +97,3 @@ public:
m->GetSimulation()->aheat_enable = !m->GetSimulation()->aheat_enable;
}
};
class DrawGravWallOption: public QuickOption
{
public:
DrawGravWallOption(GameModel * m):
QuickOption("Z", "Draw gravity zones", m, Toggle)
{
}
virtual bool GetToggle()
{
return m->GetRenderer()->gravityZonesEnabled;
}
virtual void perform()
{
m->GetRenderer()->gravityZonesEnabled = !m->GetRenderer()->gravityZonesEnabled;
}
};