summaryrefslogtreecommitdiff
path: root/src/gui/game/Tool.h
diff options
context:
space:
mode:
authorStanislaw Skowronek <skylark@disorder.sko>2013-11-13 13:54:46 (GMT)
committer Stanislaw Skowronek <skylark@disorder.sko>2013-11-13 13:54:46 (GMT)
commit54769d13eb1b4216b7c6d18e08c3797bf3a48e8a (patch)
treeb9044f60fc982a75e00eda291be1aa3baaca1656 /src/gui/game/Tool.h
parentf32929128e1d93517f24253ed58801acc32ce814 (diff)
downloadpowder-54769d13eb1b4216b7c6d18e08c3797bf3a48e8a.zip
powder-54769d13eb1b4216b7c6d18e08c3797bf3a48e8a.tar.gz
Initial check-in of movable solids. Save/Load/Undo do not work and may crash.
Diffstat (limited to 'src/gui/game/Tool.h')
-rw-r--r--src/gui/game/Tool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/game/Tool.h b/src/gui/game/Tool.h
index 7ee105f..0c40893 100644
--- a/src/gui/game/Tool.h
+++ b/src/gui/game/Tool.h
@@ -33,6 +33,7 @@ public:
VideoBuffer * GetTexture(int width, int height);
void SetTextureGen(VideoBuffer * (*textureGen)(int, int, int));
virtual ~Tool();
+ virtual void Start(Simulation * sim, Brush * brush, ui::Point position);
virtual void Click(Simulation * sim, Brush * brush, ui::Point position);
virtual void Draw(Simulation * sim, Brush * brush, ui::Point position);
virtual void DrawLine(Simulation * sim, Brush * brush, ui::Point position1, ui::Point position2, bool dragging = false);