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:
parent
b3741cd67c
commit
d6f832b4f5
@ -181,7 +181,6 @@ void GameModel::BuildQuickOptionMenu()
|
|||||||
quickOptions.push_back(new DecorationsOption(this));
|
quickOptions.push_back(new DecorationsOption(this));
|
||||||
quickOptions.push_back(new NGravityOption(this));
|
quickOptions.push_back(new NGravityOption(this));
|
||||||
quickOptions.push_back(new AHeatOption(this));
|
quickOptions.push_back(new AHeatOption(this));
|
||||||
quickOptions.push_back(new DrawGravWallOption(this));
|
|
||||||
|
|
||||||
notifyQuickOptionsChanged();
|
notifyQuickOptionsChanged();
|
||||||
UpdateQuickOptions();
|
UpdateQuickOptions();
|
||||||
|
@ -97,21 +97,3 @@ public:
|
|||||||
m->GetSimulation()->aheat_enable = !m->GetSimulation()->aheat_enable;
|
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;
|
|
||||||
}
|
|
||||||
};
|
|
Loading…
Reference in New Issue
Block a user