summaryrefslogtreecommitdiff
path: root/src/game-server/monstermanager.h
AgeCommit message (Collapse)AuthorFilesLines
2011-08-26Fixed mem leak on the item and monster manager unloading processYohann Ferreira1-1/+6
2011-03-24Use a map to quickly find items and monsters by their nameThorbjørn Lindeijer1-2/+6
Introduced a template class NameMap, which provides a nice API for mapping any custom types by their name. This change also makes any duplicate item or monster definitions be complete ignored, rather than being merged into the first definition. Reviewed-by: Philipp Sehmisch Reviewed-by: Yohann Ferreira
2011-03-16Allowed monster names in @spawn commandPhilipp Sehmisch1-0/+8
I rewrote the @spawn command to allow two new things: 1. The monster ID can be replaced with the name of the monster. 2. The amount of monsters can be omitted. In that case a single monster is spawned. Reviewed by: Jaxad and Thorbjorn
2010-11-14Renamed .hpp files into .h for consistency.Yohann Ferreira1-0/+62
Also added an header to the autoattack.{h,cpp} files. Big but trivial fix.