summaryrefslogtreecommitdiff
path: root/src/utils/xml.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-11-14Renamed .hpp files into .h for consistency.Yohann Ferreira1-3/+3
Also added an header to the autoattack.{h,cpp} files. Big but trivial fix.
2010-09-08Centralized stringToBool conversion.Yohann Ferreira1-6/+2
Also moved the trim() function into the utils namespace where it belongs more, and made some random code cleanups. Reviewed-by: Thorbjorn.
2010-07-22Upgraded Skill Map loading.Yohann Ferreira1-0/+29
- Added a new 'default' boolean parameter in mana-skills.xml. If set to true, unknown weapon types will be defaulted to the given value. - Added better checks on skill id and names and improved error reporting. - Corrected minor typos, and made small cleanups. Reviewed-by: jaxad0127
2010-05-16Changed and split up the default location for loading dataThorbjørn Lindeijer1-29/+115
Instead of loading data from a 'data' directory in the current working directory, the server now uses clientDataPath and serverDataPath as specified in the configuration. This removes the need to set up symbolic links in order to merge these two types of data. The default values point to example/clientdata and example/serverdata, where a minimal example world can be developed to make setting up an initial server quick and easy. The XML::Document convenience class was copied over from the client. Also, the ResourceManager is now shared between both servers, since the account client is reading items.xml. Reviewed-by: Jared Adams
2010-02-07Update Copyright date for Manaserv.Bertram1-1/+1
2009-12-06Fixed name of the project in copyright headersThorbjørn Lindeijer1-7/+6
Also updated the headers to refer to the GPL by URL instead of suggesting to contact the FSF by snail mail, as per the latest GPL usage instructions.
2009-04-26Standardize on the position of the const keywordBjørn Lindeijer1-4/+4
Same as for the client.
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
2008-02-21Moved the functions which translate strings into enumerations from the XML ↵Philipp Sehmisch1-58/+0
library into the item and monstermanager modules and reimplemented them using std::maps.
2008-02-20Implemented different monster attacks read from monsters.xmlPhilipp Sehmisch1-0/+72
2006-12-29Physically split the server into one tmwserv-acount program (account +Guillaume Melquiond1-0/+53
chat + database) and multiple tmwserv-game programs (selected with respect to the maps). Cleaned the repository by moving server-specific source files into dedicated directories.