(svn r822) Use a struct instead of pairs of bytes for the string colormap.

While here give the string colormap a more canonical name.
This commit is contained in:
tron
2004-11-26 16:55:35 +00:00
parent d801ca16a3
commit 7b8bf96c2b
2 changed files with 8 additions and 5 deletions

View File

@@ -95,9 +95,12 @@ static const ExtraPaletteValues _extra_palette_values = {
};
// Color table for colors in lang files (e.g. {BLACK})
// 1st color: text
// 2nd color: shadow
static const byte StringColormap[17][2] = {
typedef struct StringColor {
byte text;
byte shadow;
} StringColor;
static const StringColor _string_colormap[] = {
{ 150, 215 }, // BLUE
{ 12, 215 }, // SILVER
{ 189, 215 }, // GOLD