From 7cd117790755de302be9f750b95b5bd18a5636bd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 16 Jul 2012 00:59:25 +0300 Subject: Simplify dye palette parsing. --- src/resources/dye.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/resources/dye.h') 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]; }; -- cgit v1.2.3-70-g09d2