Skip to content

Commit

Permalink
MADS: Fix palette for difficulty selection dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Sep 7, 2014
1 parent 94068dd commit f18178f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion engines/mads/nebular/dialogs_nebular.cpp
Expand Up @@ -662,6 +662,14 @@ GameDialog::GameDialog(MADSEngine *vm) : FullScreenDialog(vm) {
void GameDialog::display() {
FullScreenDialog::display();

Palette &palette = *_vm->_palette;
palette.setEntry(10, 0, 63, 0);
palette.setEntry(11, 0, 45, 0);
palette.setEntry(12, 63, 63, 0);
palette.setEntry(13, 45, 45, 0);
palette.setEntry(14, 63, 63, 63);
palette.setEntry(15, 45, 45, 45);

Scene &scene = _vm->_game->_scene;
SpriteAsset *menuSprites = new SpriteAsset(_vm, "*MENU", 0);
_menuSpritesIndex = scene._sprites.add(menuSprites);
Expand Down Expand Up @@ -969,7 +977,7 @@ void GameDialog::refreshText() {

DifficultyDialog::DifficultyDialog(MADSEngine *vm) : GameDialog(vm) {
setLines();
_vm->_palette->resetGamePalette(4, 8);
_vm->_palette->resetGamePalette(18, 10);
}

void DifficultyDialog::setLines() {
Expand Down

0 comments on commit f18178f

Please sign in to comment.