summaryrefslogtreecommitdiff
path: root/src/resources/chardb.cpp
AgeCommit message (Collapse)AuthorFilesLines
2025-01-20Wrapped xmlNodePtr access with a Node classThorbjørn Lindeijer1-12/+12
Slightly more ergonomic and this eliminates direct libxml2 usage from many places.
2024-09-27Replaced for_each_xml_child_node macro with helper classThorbjørn Lindeijer1-1/+1
The new XML::Children class enables using a C++11 range-based for loop to iterate over the children of an xmlNodePtr.
2013-04-27Added support for charcreation.xml settingsThorbjørn Lindeijer1-0/+132
This file was introduced by ManaPlus as a way of configuring the character creation process. It defines the number of hair styles and colors, how stat points should be divided and what the starting equipment of the player is. The minimum and maximum hair color/style IDs are not supported at the moment. This is mostly a backport of ManaPlus commits 10cf52b5 and dcc18eba, with some style changes. Mantis-issue: 501 Reviewed-by: Ablu