summaryrefslogtreecommitdiff
path: root/src/beingmanager.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-03-22Fixed map name saving in the engine class. Somehow, the const getsIra Rice1-3/+3
overridden after map_path, so the saved map path needs to get saved before that. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-15Fix some mem leaksJared Adams1-0/+5
2009-03-10Fix some mem leaksJared Adams1-5/+0
2009-03-10Fix some mem leaksJared Adams1-0/+5
2009-03-05Made some optimizations based on some profiling done by Octalot, as wellIra Rice1-11/+4
as some other optimizations that I could see that cut down on some unneeded redraws, which in turn improved frame rates slightly. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-05Got rid of Sint{8,16,32} and Uint32 for being IDBjørn Lindeijer1-8/+8
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-26Forgot to extend the player or NPC specifying fields as well.Ira Rice1-1/+1
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-26Extended job numbers based on what's actually used for Ragnarok'sIra Rice1-3/+3
server. TODO: Make this externally configurable, so that specific servers can specify what they use specific sprite IDs for, as well as specifying good defaults as well, in case that configuration file isn't found. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-25Fix NPC handling to not need a handle on the NPCIra Rice1-0/+10
Loosely based on TMW commit f04a8713ffc83db8b3dc4a472b28aad25a2b2bd1 Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-10Fixed header files, as well as removed the unused buddy list class (notIra Rice1-2/+3
useful since buddy lists are tracked through the player relation interface instead) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-07Some more include cleanups.Ira Rice1-2/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-26Bit of code cleanup for the last commit (moved default width and heightIra Rice1-3/+3
out of being.h, so that they aren't included in any classes that don't need them and cut the number of divisions in half in the being manager) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-26Fixed offset of right-click hitboxes and made NPCs without spritesIra Rice1-3/+7
clickable. Also set a minimum clickable area so that small mobs like maggots aren't too difficult to click. Been wanting this patched for a while, but didn't know where to look until Crush's patch for mainline click zones on TMW. Signed-off-by: Ira Rice <irarice@gmail.com>
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-3/+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-09-25Merged the Tametomo branch into trunk.Ira Rice1-8/+9
2008-09-15Commented out getBeingByPixel because it really isn't used, nor is there Ira Rice1-2/+2
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/+15
configure whether trading is allowed. Based on new popup code, configuration improvements to store hierarchical data and a table model.
2008-04-22Fixed a bug, thanks GCC 4.3!Bjørn Lindeijer1-1/+1
2008-04-15Fixed clicking near player.David Athay1-0/+1
2008-04-11 Players now need toDavid Athay1-0/+21
click on the monster sprites rather than the tile. Players will now move to the target before attacking it.
2007-12-30Added a key for targeting the nearest player character based on patches by ↵Philipp Sehmisch1-0/+27
Trinexx. Some mapping fixes at snake dungeon map.
2007-11-20Merged revisions 3692 via svnmerge from Bjørn Lindeijer1-0/+2
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r3692 | gmelquio | 2007-10-27 11:03:13 +0200 (Sat, 27 Oct 2007) | 1 line Made it compile with GCC 4.3 ........
2006-12-03Made NPC names visible. Windows are now invisible by default.Bjørn Lindeijer1-5/+8
2006-12-01Monster sound effect patchPhilipp Sehmisch1-3/+2
2006-09-02Applied patch by Bernard Lidicky, adding targetting nearest monster with eitherBjørn Lindeijer1-0/+25
keyboard or mouse. Also made clicking beings in general a bit easier (patch applied by Bjørn Lindeijer).
2006-08-29Updated NEWS file and made getAll return a reference instead of a pointer.Bjørn Lindeijer1-2/+2
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-3/+4
2006-03-08Added a 'dtor' helper functor to delete objects in arrays and containers ↵Björn Steinbrink1-5/+3
using STL algorithms.
2006-02-25Added a logic method to the being manager.Björn Steinbrink1-0/+20
2006-02-23A bunch of mostly cosmetic cleanups.Björn Steinbrink1-4/+3
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-0/+143