summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2009-05-29 19:53:14 -0400
committerChuck Miller <shadowmil@gmail.com>2009-05-29 19:53:14 -0400
commitb30faa4c18fbbf804104e07c9d295bebf7d815ce (patch)
tree5a611e4baeb4704d109b48e13d6116143fb62a86 /src/being.h
parentec1c6bc0d44d0b6b94607d36a8cd28e6c4e484cd (diff)
downloadMana-b30faa4c18fbbf804104e07c9d295bebf7d815ce.tar.gz
Mana-b30faa4c18fbbf804104e07c9d295bebf7d815ce.tar.bz2
Mana-b30faa4c18fbbf804104e07c9d295bebf7d815ce.tar.xz
Mana-b30faa4c18fbbf804104e07c9d295bebf7d815ce.zip
Some movement fixes for TMWServ build.
Looked pretty good so I removed annoying debug information. Also should note that movement between two players is still off.
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/being.h b/src/being.h
index 6c849350..040d55a9 100644
--- a/src/being.h
+++ b/src/being.h
@@ -183,12 +183,15 @@ class Being : public Sprite, public ConfigListener
#ifdef EATHENA_SUPPORT
virtual void setDestination(Uint16 destX, Uint16 destY);
#else
- void setDestination(int x, int y);
+ /**
+ * Creates a path for the being from sx,sy to ex,ey
+ */
+ void setDestination(int sx, int sy, int ex, int ey);
/**
- * Returns the destination for this being.
+ * Creates a path for the being from currect position to ex and ey
*/
- const Vector &getDestination() const { return mDest; }
+ void setDestination(int ex, int ey);
/**
* Adjusts course to expected start point.
@@ -196,9 +199,9 @@ class Being : public Sprite, public ConfigListener
void adjustCourse(int srcX, int srcY);
/**
- * Adjusts course to expected start and end points.
+ * Returns the destination for this being.
*/
- void adjustCourse(int srcX, int srcY, int destX, int destY);
+ const Vector &getDestination() const { return mDest; }
#endif
/**