Hair information database.
void loadHairStylesNode(XML::Node stylesNode)
Load the hair styles, contained in a <styles> node.
std::vector< int > getHairStyleIds(int maxId) const
Returns the available hair style ids.
const std::string & getHairColor(int id) const
std::set< int > mHairStyles
std::map< int, std::string > mHairColors
void addHairStyle(int id)
Add a hair style to the database.
void readHairColorNode(XML::Node node, const std::string &filename)
void unload()
Clear the color data.
std::vector< int > getHairColorIds(int minId, int maxId) const
Returns the available hair color ids.
void loadHairColorsNode(XML::Node colorsNode)
Load the hair colors, contained in a <colors> node.
HairDB hairDB
Hair styles and colors info database.