aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular/dialogs_nebular.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-05-24 13:41:22 -0400
committerPaul Gilbert2014-05-24 13:41:22 -0400
commit3202abaa8922bc741b3f28e1a2c1a86d8639a5f4 (patch)
tree47ed20e9092ce4b9e3d50673740fe97a70391df1 /engines/mads/nebular/dialogs_nebular.cpp
parent1bcd02177424aa2dd10dfe9788f1c0c75bc0c662 (diff)
downloadscummvm-rg350-3202abaa8922bc741b3f28e1a2c1a86d8639a5f4.tar.gz
scummvm-rg350-3202abaa8922bc741b3f28e1a2c1a86d8639a5f4.tar.bz2
scummvm-rg350-3202abaa8922bc741b3f28e1a2c1a86d8639a5f4.zip
MADS: Standardized fading out methods as fadeOut
Diffstat (limited to 'engines/mads/nebular/dialogs_nebular.cpp')
-rw-r--r--engines/mads/nebular/dialogs_nebular.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/nebular/dialogs_nebular.cpp b/engines/mads/nebular/dialogs_nebular.cpp
index f22ec1ad90..2a421d1639 100644
--- a/engines/mads/nebular/dialogs_nebular.cpp
+++ b/engines/mads/nebular/dialogs_nebular.cpp
@@ -404,7 +404,7 @@ void PictureDialog::save() {
// Fade the screen to grey
int numColors = PALETTE_COUNT - PALETTE_RESERVED_LOW_COUNT - PALETTE_RESERVED_HIGH_COUNT;
- palette.fadeToGrey(palette._mainPalette, &map[PALETTE_RESERVED_LOW_COUNT],
+ palette.fadeOut(palette._mainPalette, &map[PALETTE_RESERVED_LOW_COUNT],
PALETTE_RESERVED_LOW_COUNT, numColors, 248, 8, 1, 16);
// Remap the greyed out screen to use the small greyscale range
@@ -521,7 +521,7 @@ ScreenDialog::ScreenDialog(MADSEngine *vm) : _vm(vm),
_vm->_palette->setFullPalette(pal);
} else {
_vm->_palette->getFullPalette(pal);
- _vm->_palette->fadeOut(pal, 0, PALETTE_COUNT, 16, 1, 1, 0, 0, 0);
+ _vm->_palette->fadeOut(pal, nullptr, 0, PALETTE_COUNT, 0, 1, 1, 16);
}
_vm->_screen.copyTo(&_savedSurface);