diff options
author | Nicola Mettifogo | 2007-04-07 10:02:59 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-04-07 10:02:59 +0000 |
commit | 59b15386853af4e2e3dbe4ec21518874b6b45625 (patch) | |
tree | d20c349eef264ab64d370ce0167e698a7e502c14 /engines/parallaction/walk.cpp | |
parent | 93673711073bbf6947e83ca3ec9cd262036aa64a (diff) | |
download | scummvm-rg350-59b15386853af4e2e3dbe4ec21518874b6b45625.tar.gz scummvm-rg350-59b15386853af4e2e3dbe4ec21518874b6b45625.tar.bz2 scummvm-rg350-59b15386853af4e2e3dbe4ec21518874b6b45625.zip |
Reduced dependency between project files, and prepared defs.h for deletion as soon as List<>'s usage is implemented.
svn-id: r26400
Diffstat (limited to 'engines/parallaction/walk.cpp')
-rw-r--r-- | engines/parallaction/walk.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/engines/parallaction/walk.cpp b/engines/parallaction/walk.cpp index ce9ec11af2..e9c19171e7 100644 --- a/engines/parallaction/walk.cpp +++ b/engines/parallaction/walk.cpp @@ -446,6 +446,23 @@ void initWalk() { _buffer = (byte*)malloc(SCREENPATH_WIDTH * SCREEN_HEIGHT); } + +WalkNode::WalkNode() : _x(0), _y(0) { +} + +WalkNode::WalkNode(int32 x, int32 y) : _x(x), _y(y) { +} + +WalkNode::WalkNode(const WalkNode& w) : _x(w._x), _y(w._y) { +} + +void WalkNode::getPoint(Common::Point &p) const { + p.x = _x; + p.y = _y; +} + + + } // namespace Parallaction |