/* #ifndef R2_TOOL_DRAW_ROAD_H #define R2_TOOL_DRAW_ROAD_H #include "tool.h" #include "displayer_visual_road.h" // #include "nel/misc/vector.h" class CEntity; class CLuaObject; namespace R2 { /** * Tool to draw a road */ /* class CToolDrawRoad : public CTool { public: NLMISC_DECLARE_CLASS(R2::CToolDrawRoad); virtual const char *getToolUIName() const { return "drawRoad"; } virtual bool isCreationTool() const { return true; } CToolDrawRoad(); virtual void cancel(); virtual void updateAfterRender(); virtual void updateBeforeRender(); virtual bool onMouseLeftButtonClicked(); virtual bool onMouseRightButtonClicked(); virtual bool onMouseLeftButtonDown(); private: CRoad _Road; // the road being drawn uint _NumWayPoints; bool _ValidPos; std::vector _WayPoints; }; } // R2 */ #endif