diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-03-28 20:37:05 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-03-28 20:37:05 +0200 |
commit | e7e550c863c3bb5d5e8697ecce1ea37ad248e362 (patch) | |
tree | 3928fa5a167a0bd3975a6c889775bc4ddea195a2 /src/being.h | |
parent | 25bfbc30fb4958a3a754d74bbe971dec717f831c (diff) | |
download | mana-client-e7e550c863c3bb5d5e8697ecce1ea37ad248e362.tar.gz mana-client-e7e550c863c3bb5d5e8697ecce1ea37ad248e362.tar.bz2 mana-client-e7e550c863c3bb5d5e8697ecce1ea37ad248e362.tar.xz mana-client-e7e550c863c3bb5d5e8697ecce1ea37ad248e362.zip |
Random code cleanups requested righteously by Thorbjorn - part 1.
- Fixed bogus documentation.
- Fixed Vector parameters to const Vector& where releavant.
- Removed a false comment.
- Removed superfluous headers in src/net/tmwa/beinghandler.h.
- Optimize a bit the tmwa::beingHandler::getPixelsPerTickMoveSpeed()
function.
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/being.h b/src/being.h index fcd2b8f8..f19e3df4 100644 --- a/src/being.h +++ b/src/being.h @@ -310,9 +310,9 @@ class Being : public ActorSprite, public Mana::Listener /** * Sets the move speed. * in ticks per tile for eAthena, - * in tiles per second for Manaserv. + * in tiles per second for Manaserv (0.1 precision). */ - void setMoveSpeed(Vector speed); + void setMoveSpeed(const Vector &speed); /** * Gets the original Move speed. @@ -522,13 +522,13 @@ class Being : public ActorSprite, public Mana::Listener /** * Walk speed for x and y movement values. * In ticks per tile for eAthena, - * In pixels per ticks for Manaserv. - * @see MILLISECONDS_IN_A_TICK + * In pixels per second for Manaserv. */ Vector mMoveSpeed; /** * Being speed in pixel per ticks. Used internally for the being logic. + * @see MILLISECONDS_IN_A_TICK */ Vector mSpeedPixelsPerTick; |