diff options
| author | Simon 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) |
| commit | 810ea42f99cf9f56c1ac998ce8a203bea01e97b2 (patch) | |
| tree | b3c2bc39bfed051003a6eeab6e990e73ddad5dec /src/simulation/Simulation.h | |
| parent | fd40ed234ab157c4e315cb748163969c8ff83b0f (diff) | |
| download | powder-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/simulation/Simulation.h')
| -rw-r--r-- | src/simulation/Simulation.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/simulation/Simulation.h b/src/simulation/Simulation.h index 9b10df2..387d3b3 100644 --- a/src/simulation/Simulation.h +++ b/src/simulation/Simulation.h @@ -159,10 +159,10 @@ public: void SetEdgeMode(int newEdgeMode); - int Tool(int x, int y, int tool, float strength); - int ToolBrush(int x, int y, int tool, Brush * cBrush); - void ToolLine(int x1, int y1, int x2, int y2, int tool, Brush * cBrush); - void ToolBox(int x1, int y1, int x2, int y2, int tool, Brush * cBrush); + int Tool(int x, int y, int tool, float strength = 1.0f); + int ToolBrush(int x, int y, int tool, Brush * cBrush, float strength = 1.0f); + void ToolLine(int x1, int y1, int x2, int y2, int tool, Brush * cBrush, float strength = 1.0f); + void ToolBox(int x1, int y1, int x2, int y2, int tool, Brush * cBrush, float strength = 1.0f); void CreateBox(int x1, int y1, int x2, int y2, int c, int flags); int FloodINST(int x, int y, int fullc, int cm); |
