From 80af0e239473f85c49cc2da3c848dfcde41d4a37 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Wed, 10 Oct 2012 14:43:19 +0100 Subject: TEENAGENT: Convert Dialog text color symbols to an enum. --- engines/teenagent/dialog.h | 46 ++++++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 22 deletions(-) (limited to 'engines/teenagent') 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; -- cgit v1.2.3