summaryrefslogtreecommitdiff
path: root/src/resources/colordb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-31 04:48:00 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-31 16:29:22 +0300
commit670304fefa71e2b25b264066aaf0d69fde95bced (patch)
treec949ba1faf68579f0b3c786aac3f69152eec3f15 /src/resources/colordb.h
parentc01b3f215a9ec7e5ebceac8550c1e18c0a2b7435 (diff)
downloadplus-670304fefa71e2b25b264066aaf0d69fde95bced.tar.gz
plus-670304fefa71e2b25b264066aaf0d69fde95bced.tar.bz2
plus-670304fefa71e2b25b264066aaf0d69fde95bced.tar.xz
plus-670304fefa71e2b25b264066aaf0d69fde95bced.zip
Redesing char creation dialog.
Add support for reading all information about hair colors.
Diffstat (limited to 'src/resources/colordb.h')
-rw-r--r--src/resources/colordb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/colordb.h b/src/resources/colordb.h
index 36907095e..ade4227f8 100644
--- a/src/resources/colordb.h
+++ b/src/resources/colordb.h
@@ -70,12 +70,14 @@ namespace ColorDB
std::string &getHairColor(int id);
+ std::string &getHairColorName(int id);
+
int getHairSize();
std::map <int, ItemColor> *getColorsList(std::string name);
// Color DB
- typedef std::map<int, std::string> Colors;
+ typedef std::map<int, ItemColor> Colors;
typedef Colors::iterator ColorIterator;
typedef std::map <std::string, std::map <int, ItemColor> > ColorLists;
typedef ColorLists::iterator ColorListsIterator;