summaryrefslogtreecommitdiff
path: root/src/game/GameModel.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-10 13:03:23 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-10 13:03:23 (GMT)
commit810ea42f99cf9f56c1ac998ce8a203bea01e97b2 (patch)
treeb3c2bc39bfed051003a6eeab6e990e73ddad5dec /src/game/GameModel.h
parentfd40ed234ab157c4e315cb748163969c8ff83b0f (diff)
downloadpowder-810ea42f99cf9f56c1ac998ce8a203bea01e97b2.zip
powder-810ea42f99cf9f56c1ac998ce8a203bea01e97b2.tar.gz
Only render gravity lensing if it's enabled, Ctrl and Shift to alter tool strength (Shift = x10, Ctrl = x0.1)
Diffstat (limited to 'src/game/GameModel.h')
-rw-r--r--src/game/GameModel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/GameModel.h b/src/game/GameModel.h
index e41ff2b..47a6904 100644
--- a/src/game/GameModel.h
+++ b/src/game/GameModel.h
@@ -55,6 +55,7 @@ private:
User currentUser;
bool colourSelector;
ui::Colour colour;
+ float toolStrength;
std::string infoTip;
std::string toolTip;
@@ -99,6 +100,9 @@ public:
void UpdateQuickOptions();
+ void SetToolStrength(float value);
+ float GetToolStrength();
+
void SetVote(int direction);
SaveInfo * GetSave();
Brush * GetBrush();