Skip to content

Commit

Permalink
Chex Quest: Use more appropriate default font colors
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Feb 19, 2012
1 parent 2d60c7b commit 687b729
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions doomsday/plugins/jdoom/src/d_main.c
Expand Up @@ -199,13 +199,13 @@ void D_PreInit(void)
defFontRGB[CG] = 1;
defFontRGB[CB] = 1;

defFontRGB2[CR] = .85f;
defFontRGB2[CG] = 0;
defFontRGB2[CB] = 0;
defFontRGB2[CR] = .3f;
defFontRGB2[CG] = .9f;
defFontRGB2[CB] = .3f;

defFontRGB3[CR] = .2f;
defFontRGB3[CG] = .2f;
defFontRGB3[CB] = .9f;
defFontRGB3[CR] = .85f;
defFontRGB3[CG] = .1f;
defFontRGB3[CB] = .1f;
break;

default:
Expand Down Expand Up @@ -306,6 +306,13 @@ void D_PreInit(void)
cfg.menuTextColors[2][CG] = cfg.menuTextColors[3][CG] = .2f;
cfg.menuTextColors[2][CB] = cfg.menuTextColors[3][CB] = .9f;
}
else if(gameMode == doom_chex)
{
memcpy(cfg.menuTextColors[0], defFontRGB2, sizeof(cfg.menuTextColors[0]));
memcpy(cfg.menuTextColors[1], defFontRGB3, sizeof(cfg.menuTextColors[1]));
memcpy(cfg.menuTextColors[2], defFontRGB, sizeof(cfg.menuTextColors[2]));
memcpy(cfg.menuTextColors[3], defFontRGB2, sizeof(cfg.menuTextColors[3]));
}
else
{
memcpy(cfg.menuTextColors[0], defFontRGB2, sizeof(cfg.menuTextColors[0]));
Expand Down

0 comments on commit 687b729

Please sign in to comment.