diff options
author | D G Turner | 2012-10-10 14:43:19 +0100 |
---|---|---|
committer | D G Turner | 2012-10-10 14:43:19 +0100 |
commit | 80af0e239473f85c49cc2da3c848dfcde41d4a37 (patch) | |
tree | 7660760433623bc048d86420892776de746cfa2b /engines/teenagent | |
parent | 115593a6c10dfaf7e8213eccdf957e1ffb5e49af (diff) | |
download | scummvm-rg350-80af0e239473f85c49cc2da3c848dfcde41d4a37.tar.gz scummvm-rg350-80af0e239473f85c49cc2da3c848dfcde41d4a37.tar.bz2 scummvm-rg350-80af0e239473f85c49cc2da3c848dfcde41d4a37.zip |
TEENAGENT: Convert Dialog text color symbols to an enum.
Diffstat (limited to 'engines/teenagent')
-rw-r--r-- | engines/teenagent/dialog.h | 46 |
1 files changed, 24 insertions, 22 deletions
diff --git a/engines/teenagent/dialog.h b/engines/teenagent/dialog.h index 9b5014bcd6..6672ce7206 100644 --- a/engines/teenagent/dialog.h +++ b/engines/teenagent/dialog.h @@ -28,28 +28,30 @@ namespace TeenAgent { // Text Color Symbols -const byte textColorJohnNoty = 0xd0; -const byte textColorCampGuard = 0xd0; -const byte textColorShockedCaptain = 0xd0; -const byte textColorMark = 0xd1; -const byte textColorCredits = 0xd1; -const byte textColorBankGuard = 0xd7; -const byte textColorGrandpa = 0xd8; -const byte textColorMansionGuard = 0xd9; -const byte textColorMarkEnd = 0xe3; -const byte textColorProfessor = 0xe5; -const byte textColorOldLady = 0xe5; -const byte textColorAnne = 0xe5; -const byte textColorWellEcho = 0xe5; -const byte textColorSonny = 0xe5; -const byte textColorEskimo = 0xe5; -const byte textColorRGBBoss = 0xe7; -const byte textColorGoldDriver = 0xe7; -const byte textColorFortuneTeller = 0xeb; -const byte textColorCaptain = 0xec; -const byte textColorMike = 0xef; -const byte textColorCook = 0xef; -const byte textColorBarman = 0xef; +enum { + textColorJohnNoty = 0xd0, + textColorCampGuard = 0xd0, + textColorShockedCaptain = 0xd0, + textColorMark = 0xd1, + textColorCredits = 0xd1, + textColorBankGuard = 0xd7, + textColorGrandpa = 0xd8, + textColorMansionGuard = 0xd9, + textColorMarkEnd = 0xe3, + textColorProfessor = 0xe5, + textColorOldLady = 0xe5, + textColorAnne = 0xe5, + textColorWellEcho = 0xe5, + textColorSonny = 0xe5, + textColorEskimo = 0xe5, + textColorRGBBoss = 0xe7, + textColorGoldDriver = 0xe7, + textColorFortuneTeller = 0xeb, + textColorCaptain = 0xec, + textColorMike = 0xef, + textColorCook = 0xef, + textColorBarman = 0xef +}; class Scene; class TeenAgentEngine; |