From 59b15386853af4e2e3dbe4ec21518874b6b45625 Mon Sep 17 00:00:00 2001 From: Nicola Mettifogo Date: Sat, 7 Apr 2007 10:02:59 +0000 Subject: Reduced dependency between project files, and prepared defs.h for deletion as soon as List<>'s usage is implemented. svn-id: r26400 --- engines/parallaction/walk.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'engines/parallaction/walk.h') diff --git a/engines/parallaction/walk.h b/engines/parallaction/walk.h index f145a05146..5bc33c3c3e 100644 --- a/engines/parallaction/walk.h +++ b/engines/parallaction/walk.h @@ -27,6 +27,18 @@ namespace Parallaction { +struct WalkNode : public Node { + int32 _x; + int32 _y; + +public: + WalkNode(); + WalkNode(int32 x, int32 y); + WalkNode(const WalkNode& w); + + void getPoint(Common::Point &p) const; +}; + WalkNode *buildWalkPath(uint16 x, uint16 y); void jobWalk(void*, Job *j); @@ -35,6 +47,8 @@ void setPath(byte *path); void initWalk(); uint16 queryPath(uint16 x, uint16 y); + + } #endif -- cgit v1.2.3