diff options
Diffstat (limited to 'engines/groovie')
-rw-r--r-- | engines/groovie/debug.cpp | 2 | ||||
-rw-r--r-- | engines/groovie/graphics.cpp | 4 | ||||
-rw-r--r-- | engines/groovie/roq.cpp | 2 | ||||
-rw-r--r-- | engines/groovie/vdx.cpp | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/engines/groovie/debug.cpp b/engines/groovie/debug.cpp index 7055965917..92afbb0115 100644 --- a/engines/groovie/debug.cpp +++ b/engines/groovie/debug.cpp @@ -138,7 +138,7 @@ bool Debugger::cmd_playref(int argc, const char **argv) { bool Debugger::cmd_dumppal(int argc, const char **argv) { uint16 i; byte palettedump[256 * 4]; - _vm->_system->grabPalette(palettedump, 0, 256); + _vm->_system->getPaletteManager()->grabPalette(palettedump, 0, 256); for (i = 0; i < 256; i++) { DebugPrintf("%3d: %3d,%3d,%3d,%3d\n", i, palettedump[(i * 4)], palettedump[(i * 4) + 1], palettedump[(i * 4) + 2], palettedump[(i * 4) + 3]); diff --git a/engines/groovie/graphics.cpp b/engines/groovie/graphics.cpp index 8546a13d40..9d6da81fb6 100644 --- a/engines/groovie/graphics.cpp +++ b/engines/groovie/graphics.cpp @@ -124,7 +124,7 @@ void GraphicsMan::fadeOut() { _fadeStartTime = _vm->_system->getMillis(); // Get the current palette - _vm->_system->grabPalette(_paletteFull, 0, 256); + _vm->_system->getPaletteManager()->grabPalette(_paletteFull, 0, 256); // Set the current fading _fading = 2; @@ -159,7 +159,7 @@ void GraphicsMan::applyFading(int step) { } // Set the screen palette - _vm->_system->setPalette(newpal, 0, 256); + _vm->_system->getPaletteManager()->setPalette(newpal, 0, 256); // Request a screen update change(); diff --git a/engines/groovie/roq.cpp b/engines/groovie/roq.cpp index 11bacef8e8..6772a5a40f 100644 --- a/engines/groovie/roq.cpp +++ b/engines/groovie/roq.cpp @@ -96,7 +96,7 @@ ROQPlayer::ROQPlayer(GroovieEngine *vm) : } #endif // DITHER - _syst->setPalette(pal, 0, 256); + _syst->getPaletteManager()->setPalette(pal, 0, 256); } } diff --git a/engines/groovie/vdx.cpp b/engines/groovie/vdx.cpp index 61756cb218..3ab8608031 100644 --- a/engines/groovie/vdx.cpp +++ b/engines/groovie/vdx.cpp @@ -563,7 +563,7 @@ void VDXPlayer::setPalette(uint8 *palette) { palBuf[(i * 4) + 2] = palette[(i * 3) + 2]; palBuf[(i * 4) + 3] = 0; } - _syst->setPalette(palBuf, 0, 256); + _syst->getPaletteManager()->setPalette(palBuf, 0, 256); } } // End of Groovie namespace |