4 #include <msp/gl/mesh.h>
5 #include <msp/gl/renderable.h>
6 #include "libr2c2/terrain.h"
9 class TerrainTool: public Tool, public Msp::GL::Renderable
12 R2C2::Terrain &terrain;
14 R2C2::Terrain::NodeCoordinates highlight_node;
16 R2C2::Vector marker_position;
17 unsigned marker_orientation;
22 TerrainTool(Designer &, Msp::Input::Keyboard &, Msp::Input::Mouse &, R2C2::Terrain &);
23 virtual ~TerrainTool();
28 virtual void key_press(unsigned);
29 virtual void key_release(unsigned);
30 virtual void button_press(unsigned);
31 virtual void button_release(unsigned);
32 virtual void pointer_motion();
35 virtual void render(Msp::GL::Renderer &, const Msp::GL::Tag &) const;