diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-16 00:59:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-16 00:59:25 +0300 |
commit | 7cd117790755de302be9f750b95b5bd18a5636bd (patch) | |
tree | 7740d5c4ae3eb4830ae2a56c6a388f7c01a2a964 /src/resources/dye.h | |
parent | 0079782d58f97cf3a931a0d7e23677588834363e (diff) | |
download | plus-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.h | 2 |
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]; }; |