diff options
author | Paul Gilbert | 2014-05-24 13:41:22 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-05-24 13:41:22 -0400 |
commit | 3202abaa8922bc741b3f28e1a2c1a86d8639a5f4 (patch) | |
tree | 47ed20e9092ce4b9e3d50673740fe97a70391df1 /engines/mads/nebular/dialogs_nebular.cpp | |
parent | 1bcd02177424aa2dd10dfe9788f1c0c75bc0c662 (diff) | |
download | scummvm-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.cpp | 4 |
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); |