summaryrefslogtreecommitdiff
path: root/src/resources/dye.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-16 00:59:25 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-16 00:59:25 +0300
commit7cd117790755de302be9f750b95b5bd18a5636bd (patch)
tree7740d5c4ae3eb4830ae2a56c6a388f7c01a2a964 /src/resources/dye.h
parent0079782d58f97cf3a931a0d7e23677588834363e (diff)
downloadplus-7cd117790755de302be9f750b95b5bd18a5636bd.tar.gz
plus-7cd117790755de302be9f750b95b5bd18a5636bd.tar.bz2
plus-7cd117790755de302be9f750b95b5bd18a5636bd.tar.xz
plus-7cd117790755de302be9f750b95b5bd18a5636bd.zip
Simplify dye palette parsing.
Diffstat (limited to 'src/resources/dye.h')
-rw-r--r--src/resources/dye.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/dye.h b/src/resources/dye.h
index 26135d82e..7fe4869ef 100644
--- a/src/resources/dye.h
+++ b/src/resources/dye.h
@@ -65,6 +65,8 @@ class DyePalette
void replaceOGLColor(uint8_t *color) const;
+ int hexDecode(char c);
+
private:
struct Color
{ unsigned char value[3]; };