summaryrefslogtreecommitdiff
path: root/src/beingmanager.h
AgeCommit message (Collapse)AuthorFilesLines
2010-01-18Unified BeingManager::findNearestLivingBeing for eAthena and manaservThorbjørn Lindeijer1-15/+17
It now always works with pixels.
2010-01-08Small refactoring in chat auto completingAndrei Karas1-1/+2
2010-01-07Chat auto completingAndrei Karas1-0/+2
2009-04-09Made BeingManager methods const where appropriateBjørn Lindeijer1-12/+12
2009-03-28Remove #ifdefs related to Being creationJared Adams1-5/+1
Also move the Monster type offset handling into the eAthena netcode.
2009-03-27Clean up of most of the Network pointersBjørn Lindeijer1-9/+1
Now that messages can be sent without requiring a pointer to the Network instance, a lot of cleanup was possible.
2009-03-27Fixed some positioning issuesBjørn Lindeijer1-3/+4
Started with not being able to click NPCs properly, and I ended up correcting the draw positions of overhead text, targets and sprite ordering. It's now a bit more straight-forward. The position of a being is simply in the middle of the sprite at the bottom. When drawing the sprite, an offset remains because all the sprites are compensating for getting drawn half a tile to the left and one tile up.
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer1-17/+27
Conflicts: A lot of files.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-20/+30
This merge involved major changes on both sides, and as such took several weeks. Lots of things are expected to be broken now, however, we now have a single code base to improve and extend, which can be compiled to support either eAthena or tmwserv. In the coming months, the plan is to work towards a client that supports both eAthena and tmwserv, without needing to be recompiled. Conflicts: Everywhere!
2009-03-10Fix some mem leaksJared Adams1-1/+3
2009-03-06Got rid of Sint{8,16,32} and Uint32 for being IDBjørn Lindeijer1-7/+7
Using unsigned rarely makes sense, especially when the server doesn't use it either. Other uses of unsigned should be reviewed. In all other cases, int is the fastest integer type on any architecture. Using 8 or 16 bits can basically only be a memory optimization.
2009-02-25Fix NPC handling to not need a handle on the NPCJared Adams1-1/+9
The Being ID is used instead, as that is all that was ever really needed.
2009-01-25Removed the TMW branding from header guardsBjørn Lindeijer1-2/+2
2009-01-23Removed unnecessary references to The Mana World in code headersBjørn Lindeijer1-4/+4
This dates back to the old days of TMW, but the usage instructions of GPLv2 don't mention this being necessary. Since it doesn't add anything, avoid the branding in these sections.
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-2/+0
statements, as well as removing the new skill dialog, which we do not, nor will we use (if we do, it'd be a new one that we'd make). WARNING!!! This, and all other previous builds have a linker error for the Gnome libraries version 4.3.2 on my setup. It's assumed that this is also the case for other users of this library as well. I'm currently assuming that there's a bug in the compiler itself, and will look into reporting this, but in the mean time, it doesn't build for these users, unfortunately. Sorry about this.
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
I don't know why we dealt with these things for so long. Did we ever get anything out of it?
2008-10-31Merged revisions 4071,4093,4100,4363 via svnmerge from Bjørn Lindeijer1-0/+1
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/branches/0.0 ........ r4071 | the_enemy | 2008-04-11 16:12:30 +0200 (Fri, 11 Apr 2008) | 3 lines Players now need to click on the monster sprites rather than the tile. Players will now move to the target before attacking it. ........ r4093 | the_enemy | 2008-04-15 18:10:32 +0200 (Tue, 15 Apr 2008) | 1 line Fixed clicking near player. ........ r4100 | peaveydk | 2008-04-16 13:59:36 +0200 (Wed, 16 Apr 2008) | 1 line Cancel walking to a clicked monster if the target is lost while getting to it (killed or otherwise removed). ........ r4363 | crush_tmw | 2008-06-24 14:42:04 +0200 (Tue, 24 Jun 2008) | 1 line corrected date in changelog ........
2008-09-25Merged the Tametomo branch into trunk.Ira Rice1-18/+21
2008-09-15Commented out getBeingByPixel because it really isn't used, nor is there Ira Rice1-1/+1
much sense to. Shouldn't make any visible changes to performance yet, but I trimmed it out for now anyways.
2008-07-18Import of client treeLloyd Bryant1-1/+1
2008-05-14Added ability to define friends, players you want to ignore or disregard andBjørn Lindeijer1-0/+5
configure whether trading is allowed. Based on new popup code, configuration improvements to store hierarchical data and a table model.
2008-04-11 Players now need toDavid Athay1-0/+1
click on the monster sprites rather than the tile. Players will now move to the target before attacking it.
2008-03-23Merged revisions 3823,3825-3826,3829,3831-3839,3841-3842 via svnmerge from Bjørn Lindeijer1-3/+12
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/branches/0.0 ........ r3823 | crush_tmw | 2007-12-28 19:36:58 +0100 (Fri, 28 Dec 2007) | 1 line Added the possibility to assign particle effects to monsters in the monster database. Added flame particle effect to fire goblin as a proof of concept. ........ r3826 | crush_tmw | 2007-12-30 01:02:14 +0100 (Sun, 30 Dec 2007) | 1 line Added a key for targeting the nearest player character based on patches by Trinexx. Some mapping fixes at snake dungeon map. ........ r3839 | the_enemy | 2008-01-13 17:28:50 +0100 (Sun, 13 Jan 2008) | 1 line Fixed non-default location music loading ........ r3842 | crush_tmw | 2008-01-14 11:48:13 +0100 (Mon, 14 Jan 2008) | 1 line ixed an error in Davids last commit (couldn't compile that way). ........
2007-12-30Added a key for targeting the nearest player character based on patches by ↵Philipp Sehmisch1-0/+9
Trinexx. Some mapping fixes at snake dungeon map.
2007-10-18Removed guess of being type from class number. Factored handler for new beings.Guillaume Melquiond1-1/+1
2007-01-29Some trivial documentation work. Fixes all Doxygen warnings.Bjørn Lindeijer1-2/+5
2006-09-29Merged trunk changes from revision 2618 to 2716 into the 0.1.0 branch.Bjørn Lindeijer1-5/+14
2006-09-02Applied patch by Bernard Lidicky, adding targetting nearest monster with eitherBjørn Lindeijer1-4/+13
keyboard or mouse. Also made clicking beings in general a bit easier (patch applied by Bjørn Lindeijer).
2006-09-02Switched to short IDs for beings.Guillaume Melquiond1-2/+2
2006-08-29Updated NEWS file and made getAll return a reference instead of a pointer.Bjørn Lindeijer1-1/+1
2006-08-26Made the Network class a purely static interface, as there is only one instance.Guillaume Melquiond1-4/+0
2006-03-15Fix source header which was somehow completely in lowercase.Bjørn Lindeijer1-14/+14
2006-02-25Added a logic method to the being manager.Björn Steinbrink1-0/+5
2006-02-23A bunch of mostly cosmetic cleanups.Björn Steinbrink1-0/+1
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-0/+88