diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-12-30 13:29:03 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-12-30 13:29:03 +0000 |
commit | 7d23129b8f16dfa73e3842ac8e91c61e5a3393aa (patch) | |
tree | 49132223612cd4286fbf265b9b61bcc8d756f1ea /ChangeLog | |
parent | 6134c13fbbaf2e5516dd924425352416f66ece9b (diff) | |
download | manaserv-7d23129b8f16dfa73e3842ac8e91c61e5a3393aa.tar.gz manaserv-7d23129b8f16dfa73e3842ac8e91c61e5a3393aa.tar.bz2 manaserv-7d23129b8f16dfa73e3842ac8e91c61e5a3393aa.tar.xz manaserv-7d23129b8f16dfa73e3842ac8e91c61e5a3393aa.zip |
Made attack code pixel-based and faster. Split State::update. Improved
interface of MapComposite iterators.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -1,3 +1,19 @@ +2006-12-30 Guillaume Melquiond <guillaume.melquiond@gmail.com> + + * src/mapcomposite.h, src/mapcomposite.cpp: Moved to src/game-server + directory and changed header extension to hpp. + * src/Makefile.am: Updated accordingly. + * src/object.h, src/being.h: Changed definition of directions. + * src/being.cpp: Relied on MapComposite iterators to scan only beings + in the vincinity one time instead of all objects of the map four times. + Used a pixel-based zone instead of tile-based zone for damaging. + * src/player.cpp: Removed useless dependency. + * src/game-server/mapcomposite.hpp, src/game-server/mapcomposite.cpp: + Added a radius parameter to iterator creators. Removed unused and + inefficient getObjectsOnTile. + * src/game-server/state.hpp, src/game-server/state.cpp: Split update + function into updateMap and informPlayer. Simplified code a bit. + 2006-12-29 Guillaume Melquiond <guillaume.melquiond@gmail.com> * src/account.h, src/account.cpp, src/accountclient.h, |