diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-02-12 15:09:25 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-02-12 15:09:25 (GMT) |
| commit | 5546f7d01e87a8fcbd8ea5c9e13162ccd474d7e8 (patch) | |
| tree | e9f70416adf08092eee325ca0d3f2e6bca38e936 /src/game/GameModel.h | |
| parent | ec6d1012b263049241984dfc96fae37f4280e7eb (diff) | |
| download | powder-5546f7d01e87a8fcbd8ea5c9e13162ccd474d7e8.zip powder-5546f7d01e87a8fcbd8ea5c9e13162ccd474d7e8.tar.gz | |
Fixed some lua methods, set decorations enabled by default, allow toggling of decorations with ctrl+b, saving and loading of render, display and colour modes for the renderer
Diffstat (limited to 'src/game/GameModel.h')
| -rw-r--r-- | src/game/GameModel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/GameModel.h b/src/game/GameModel.h index 170d1ed..e77b62e 100644 --- a/src/game/GameModel.h +++ b/src/game/GameModel.h @@ -45,6 +45,7 @@ private: void notifyRendererChanged(); void notifySimulationChanged(); void notifyPausedChanged(); + void notifyDecorationChanged(); void notifySaveChanged(); void notifyBrushChanged(); void notifyMenuListChanged(); @@ -65,6 +66,8 @@ public: void SetActiveTool(int selection, Tool * tool); bool GetPaused(); void SetPaused(bool pauseState); + bool GetDecoration(); + void SetDecoration(bool decorationState); void ClearSimulation(); vector<Menu*> GetMenuList(); vector<Tool*> GetToolList(); |
