1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

* working pathfinder

* drawing paths
* new command "P X1 Y1 Z1 X2 Y2 Z2" - draws path between given points
* borders handling rewritten
* minor stuff
This commit is contained in:
Michał W. Urbańczyk
2007-08-17 17:42:21 +00:00
parent d708669a75
commit 7d704c7f02
18 changed files with 629 additions and 256 deletions

View File

@@ -97,9 +97,12 @@ public:
};
class CTerrainRect
: public ClickableL, public ClickableR, public Hoverable, public CIntObject, public KeyInterested
: public ClickableL, public ClickableR, public Hoverable, public virtual CIntObject, public KeyInterested
{
public:
CDefHandler * arrows;
CTerrainRect();
CPath * currentPath;
void activate();
void deactivate();
void clickLeft(tribool down);