diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-10 17:59:05 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-10 17:59:05 (GMT) |
| commit | 3499cb3035e64ed91adfbabdfa9b979e9f8e0885 (patch) | |
| tree | 1036f4f2fab5301981457a07a8a39df5021fe727 /src/game/Tool.h | |
| parent | cd051924d9ca6d5c39e02111bc311fda9126435e (diff) | |
| download | powder-3499cb3035e64ed91adfbabdfa9b979e9f8e0885.zip powder-3499cb3035e64ed91adfbabdfa9b979e9f8e0885.tar.gz | |
Wall brush, fixes #63
Diffstat (limited to 'src/game/Tool.h')
| -rw-r--r-- | src/game/Tool.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Tool.h b/src/game/Tool.h index c4f44bb..d4181a7 100644 --- a/src/game/Tool.h +++ b/src/game/Tool.h @@ -26,10 +26,12 @@ protected: string toolName; string toolDescription; float strength; + int resolution; public: Tool(int id, string name, string description, int r, int g, int b, VideoBuffer * (*textureGen)(int, int, int) = NULL); string GetName(); string GetDescription(); + int GetResolution() { return resolution; } void SetStrength(float value) { strength = value; } float GetStrength() { return strength; } VideoBuffer * GetTexture(int width, int height); |
