diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-06-11 16:17:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-06-11 16:17:36 +0300 |
commit | dde2d920e07d651b9571ada0b4c6a8cc58e4982a (patch) | |
tree | a1b7b52d9f35222ff7e30dcf458191bb4ed33ace /src/resources/iteminfo.h | |
parent | b6df3c3999d4be067e7314e3887e583c13ad1624 (diff) | |
download | manaverse-dde2d920e07d651b9571ada0b4c6a8cc58e4982a.tar.gz manaverse-dde2d920e07d651b9571ada0b4c6a8cc58e4982a.tar.bz2 manaverse-dde2d920e07d651b9571ada0b4c6a8cc58e4982a.tar.xz manaverse-dde2d920e07d651b9571ada0b4c6a8cc58e4982a.zip |
add partial support for player look.
can change look in char creation dialog, but cant render different look.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r-- | src/resources/iteminfo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h index a3b606dc8..3e6d0d249 100644 --- a/src/resources/iteminfo.h +++ b/src/resources/iteminfo.h @@ -292,6 +292,11 @@ class ItemInfo final bool isProtected() const { return mProtected; } + int getColorsSize() const + { return mColors ? mColors->size() : 0; } + + std::string getColorName(const int idx) const; + int mDrawBefore[10]; int mDrawAfter[10]; int mDrawPriority[10]; |