ManaPlus
Namespaces | Typedefs | Functions
colordb.h File Reference

(986a3bf)

#include "enums/simpletypes/skiperror.h"
#include "resources/itemcolordata.h"
#include <map>
#include "localconsts.h"

Go to the source code of this file.

Namespaces

 ColorDB
 

Typedefs

typedef std::map< ItemColor, ItemColorDataColorDB::Colors
 
typedef Colors::iterator ColorDB::ColorIterator
 
typedef std::map< std::string, std::map< ItemColor, ItemColorData > > ColorDB::ColorLists
 
typedef ColorLists::iterator ColorDB::ColorListsIterator
 

Functions

void ColorDB::load ()
 
void ColorDB::loadHair (const std::string &fileName, std::map< ItemColor, ItemColorData > &colors, const SkipError skipError)
 
void ColorDB::loadColorLists (const std::string &fileName, const SkipError skipError)
 
void ColorDB::unload ()
 
std::string & ColorDB::getHairColorName (const ItemColor id)
 
int ColorDB::getHairSize ()
 
const std::map< ItemColor, ItemColorData > * ColorDB::getColorsList (const std::string &name)