summaryrefslogtreecommitdiff
path: root/src/game/Tool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Tool.h')
-rw-r--r--src/game/Tool.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/game/Tool.h b/src/game/Tool.h
index aa021fc..bee1fd8 100644
--- a/src/game/Tool.h
+++ b/src/game/Tool.h
@@ -86,6 +86,7 @@ public:
virtual void DrawFill(Simulation * sim, Brush * brush, ui::Point position) { }
};
+
class ElementTool: public Tool
{
public:
@@ -97,6 +98,17 @@ public:
virtual void DrawFill(Simulation * sim, Brush * brush, ui::Point position);
};
+class Element_TESC_Tool: public ElementTool
+{
+public:
+ Element_TESC_Tool(int id, string name, string description, int r, int g, int b, VideoBuffer * (*textureGen)(int, int, int) = NULL);
+ virtual ~Element_TESC_Tool() {}
+ 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);
+ virtual void DrawRect(Simulation * sim, Brush * brush, ui::Point position1, ui::Point position2);
+ virtual void DrawFill(Simulation * sim, Brush * brush, ui::Point position);
+};
+
class PlopTool: public ElementTool
{
public: