diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-12-31 16:00:19 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-12-31 16:00:19 +0000 |
commit | f131ed7e4341ef1b1845641a70eb70c5823afe47 (patch) | |
tree | 7cd0d891bf7f4a9988861f3475076e366719ce40 | |
parent | d464d0912e202c11d69d8e33bae8c18304760087 (diff) | |
download | mana-f131ed7e4341ef1b1845641a70eb70c5823afe47.tar.gz mana-f131ed7e4341ef1b1845641a70eb70c5823afe47.tar.bz2 mana-f131ed7e4341ef1b1845641a70eb70c5823afe47.tar.xz mana-f131ed7e4341ef1b1845641a70eb70c5823afe47.zip |
Added some variable definitions since they were reported missing by the linker.
-rw-r--r-- | ChangeLog | 13 | ||||
-rw-r--r-- | src/being.cpp | 5 |
2 files changed, 14 insertions, 4 deletions
@@ -1,8 +1,13 @@ +2006-12-31 Bjørn Lindeijer <bjorn@lindeijer.nl> + + * src/being.cpp: Added some variable definitions since they were + reported missing by the linker. + 2006-12-30 Guillaume Melquiond <guillaume.melquiond@gmail.com> * src/being.h, src/being.cpp: Improved movement smoothness by avoiding useless changes of sprite direction. Reduced field of direction - components from 180° to 120° when computing being direction. + components from 180° to 120° when computing being direction. * src/localplayer.cpp: Changed attack message to send the direction the player is visually facing. Removed check on beings when setting an absolute destination. @@ -26,9 +31,9 @@ src/localplayer.cpp, src/localplayer.h, src/net/beinghandler.cpp, src/net/beinghandler.h, src/net/connection.cpp, src/net/connection.h, src/net/gameserver/player.cpp, src/net/gameserver/player.h, - src/net/playerhandler.cpp, src/net/protocol.h: - Attacks are now targetless one-time events. The server is informed when the - client performs an attack and attack messages from the server are received + src/net/playerhandler.cpp, src/net/protocol.h: Attacks are now + targetless one-time events. The server is informed when the client + performs an attack and attack messages from the server are received and displayed. 2006-12-09 Eugenio Favalli <elvenprogrammer@gmail.com> diff --git a/src/being.cpp b/src/being.cpp index 1018b8e1..abf64c18 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -47,6 +47,11 @@ PATH_NODE::PATH_NODE(Uint16 iX, Uint16 iY): { } +const char Being::DOWN; +const char Being::LEFT; +const char Being::UP; +const char Being::RIGHT; + Being::Being(Uint16 id, Uint16 job, Map *map): mJob(job), mX(0), mY(0), |