aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/font.h
diff options
context:
space:
mode:
authorDenis Kasak2009-06-15 00:29:05 +0000
committerDenis Kasak2009-06-15 00:29:05 +0000
commit910991ddde8bb9c253236807d6d840f4e2141775 (patch)
tree9fe4b50f811b2b334c7aa5641e26e09055a20328 /engines/draci/font.h
parentb942082da4344a2974e77a1a6d63f6bb6c1e9e16 (diff)
downloadscummvm-rg350-910991ddde8bb9c253236807d6d840f4e2141775.tar.gz
scummvm-rg350-910991ddde8bb9c253236807d6d840f4e2141775.tar.bz2
scummvm-rg350-910991ddde8bb9c253236807d6d840f4e2141775.zip
Converted default font colours from static members of Font to constants. Moved the initializer list of the Font constructor to the constructor body (for readability).
svn-id: r41529
Diffstat (limited to 'engines/draci/font.h')
-rw-r--r--engines/draci/font.h17
1 files changed, 3 insertions, 14 deletions
diff --git a/engines/draci/font.h b/engines/draci/font.h
index 7a50f4099d..55dd495f1e 100644
--- a/engines/draci/font.h
+++ b/engines/draci/font.h
@@ -68,24 +68,13 @@ private:
/** Number of glyphs in the font */
static const unsigned int kCharNum = 138;
- /** Chars are indexed from the space character so this should be subtracted
+ /**
+ * Chars are indexed from the space character so this should be subtracted
* to get the index of a glyph
*/
static const unsigned int kCharIndexOffset = 32;
- /** Default font colours. They all seem to remain constant except for the
- * first one which varies depending on the character speaking.
- * _overFontColour is set to transparent.
- * TODO: Find out what _fontColour1 should actually be when the game starts
- */
-
- static const uint8 _fontColour1 = 2;
- static const uint8 _fontColour2 = 0;
- static const uint8 _fontColour3 = 3;
- static const uint8 _fontColour4 = 4;
- static const uint8 _overFontColour = 255;
-
- /** The varying font colour; initially set to _fontColour1 */
+ /** The varying font colour; initially set to kFontColour1 */
uint8 _currentFontColour;
/** Internal function for freeing fonts when destructing/loading another */