summaryrefslogtreecommitdiff
path: root/src/playerrelations.h
AgeCommit message (Collapse)AuthorFilesLines
2024-03-02General code cleanupsThorbjørn Lindeijer1-3/+3
* Don't needlessly store or return raw pointers in BeingInfo * Less copying, more moving * Less else after return * Make AddDEF a template instead of a macro * Removed some unused includes * Use range-based for loops
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2012-01-09Hopefully fixed the crash related to player relations.Yohann Ferreira1-0/+4
I removed all the misuse of std::map::operator[] I could find, especially there: if (!(*container)[name]) where the [] was creating the entry while checking for its existence. This should avoid the memory corruption problem seen in the Mana-Mantis #400. Patch tested in game by: Ablu. Resolves: Mana Mantis #400 Reviewed-by: Ablu.
2011-10-23Fixed a certain class of Doxygen warningsThorbjørn Lindeijer1-4/+4
All cases of documentation for non-existing parameters are now fixed. Also marked a few getters as 'const', removed some superfluous 'inline' keywords and removed the unused 'forceQuantity' option from ItemContainer. Reviewed-by: Yohann Ferreira
2010-05-17Remove Monster, Player, and NPC classesJared Adams1-2/+1
Instead of having these three subclasses with minor differences, this commit merges them back into Being. In the future, we can make Beings that are talkable to some, attackable by others, etc. This also puts back support for monster equipment. Also changes remaining references to Being::Type and the constants to refer to ActorSprite::Type. Reviewed-by: Freeyorp
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2009-11-03Remove more _SUPPORT ifdefs and do some cleanupJared Adams1-1/+1
2009-04-29Removed underscores from some non-conforming filenamesBjørn Lindeijer1-0/+240
We don't use underscores in the filenames generally, and let's be consistent on that matter.