mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-02 04:22:34 +02:00
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:
@@ -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();
|
||||
|
@@ -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;
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user