diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-05-10 16:46:26 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-05-10 16:46:26 +0200 |
commit | d42ec5c0e89559abd276334b6c4804e1eaa5e9c7 (patch) | |
tree | c6afda3e3f51d4ac79ffcdabd2edfc6d36df4201 /tool.h | |
parent | fa1216b691dc5be3429858dcff845239b1aec417 (diff) | |
parent | 7d93cab1eb1629b068858a68ac5e5840fe84a83a (diff) |
Merge branch 'master' into win32
Conflicts:
gui.h
quadtree.cpp
scene.cpp
scene.h
Diffstat (limited to 'tool.h')
-rw-r--r-- | tool.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ #ifndef TOOL_H #define TOOL_H -#include "quadtree.h" +#include "terrain.h" #include "vector.h" #include "gui.h" @@ -9,11 +9,11 @@ class Tool { protected: - Quadtree *tree; + Terrain *terrain; GUI *gui; public: - Tool(Quadtree *tree); + Tool(Terrain *terrain); virtual ~Tool() {}; virtual bool handle_event(SDL_Event& event, Vector3& selected) = 0; @@ -26,7 +26,7 @@ class RaiseTool : public Tool { static std::string name; public: - RaiseTool(Quadtree *tree); + RaiseTool(Terrain *terrain); virtual ~RaiseTool(); virtual bool handle_event(SDL_Event& event, Vector3& selected); |