summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-11 16:17:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-11 16:17:36 +0300
commitdde2d920e07d651b9571ada0b4c6a8cc58e4982a (patch)
treea1b7b52d9f35222ff7e30dcf458191bb4ed33ace /src/resources/iteminfo.h
parentb6df3c3999d4be067e7314e3887e583c13ad1624 (diff)
downloadplus-dde2d920e07d651b9571ada0b4c6a8cc58e4982a.tar.gz
plus-dde2d920e07d651b9571ada0b4c6a8cc58e4982a.tar.bz2
plus-dde2d920e07d651b9571ada0b4c6a8cc58e4982a.tar.xz
plus-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.h5
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];