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/GameView.cpp | |
| 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/GameView.cpp')
| -rw-r--r-- | src/game/GameView.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp index 1336552..faf973e 100644 --- a/src/game/GameView.cpp +++ b/src/game/GameView.cpp @@ -516,6 +516,10 @@ void GameView::OnKeyPress(int key, Uint16 character, bool shift, bool ctrl, bool case 'f': c->FrameStep(); break; + case 'b': + if(ctrl) + c->SetDecoration(); + break; } } |
