aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular
diff options
context:
space:
mode:
authorPaul Gilbert2014-09-06 20:15:54 -0400
committerPaul Gilbert2014-09-06 20:15:54 -0400
commitf18178fd2c0b959aa82d79feefb1c746baa9c35d (patch)
treef49547394eb908915b7e6bea9f35fb9cc555fedf /engines/mads/nebular
parent94068dddf7af94e3d9d784056b310f16f000db92 (diff)
downloadscummvm-rg350-f18178fd2c0b959aa82d79feefb1c746baa9c35d.tar.gz
scummvm-rg350-f18178fd2c0b959aa82d79feefb1c746baa9c35d.tar.bz2
scummvm-rg350-f18178fd2c0b959aa82d79feefb1c746baa9c35d.zip
MADS: Fix palette for difficulty selection dialog
Diffstat (limited to 'engines/mads/nebular')
-rw-r--r--engines/mads/nebular/dialogs_nebular.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/mads/nebular/dialogs_nebular.cpp b/engines/mads/nebular/dialogs_nebular.cpp
index 1792dabb15..35a7d3bdc6 100644
--- a/engines/mads/nebular/dialogs_nebular.cpp
+++ b/engines/mads/nebular/dialogs_nebular.cpp
@@ -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);
@@ -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() {