diff options
author | Martin Kiewitz | 2010-06-20 15:01:31 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-06-20 15:01:31 +0000 |
commit | 7ce739f51b1556e211bffc3f82617013afe23cb8 (patch) | |
tree | b5a09c1bb274efb69d7aef9f1ba1c432fbb02944 /engines/sci/engine/kgraphics.cpp | |
parent | f58c69e65d8dfa7ca924885d86043b84b18a522b (diff) | |
download | scummvm-rg350-7ce739f51b1556e211bffc3f82617013afe23cb8.tar.gz scummvm-rg350-7ce739f51b1556e211bffc3f82617013afe23cb8.tar.bz2 scummvm-rg350-7ce739f51b1556e211bffc3f82617013afe23cb8.zip |
SCI: kPalVary - cleanup and some more code
svn-id: r50081
Diffstat (limited to 'engines/sci/engine/kgraphics.cpp')
-rw-r--r-- | engines/sci/engine/kgraphics.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index 344d79b9d2..da0f533709 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -652,7 +652,7 @@ reg_t kPalVary(EngineState *s, int argc, reg_t *argv) { ticks = argv[2].toUint16(); paletteStop = argc >= 4 ? argv[3].toUint16() : 64; paletteDirection = argc >= 5 ? argv[4].toUint16() : 1; - g_sci->_gfxPalette->startPalVary(paletteId, ticks); + g_sci->_gfxPalette->kernelPalVaryInit(paletteId, ticks); warning("kPalVary(init) called with paletteId = %d, ticks = %d, stop = %d, direction = %d", paletteId, ticks, paletteStop, paletteDirection); } else { warning("kPalVary(init) called with unsupported argc %d", argc); @@ -670,7 +670,7 @@ reg_t kPalVary(EngineState *s, int argc, reg_t *argv) { } case 3: { // DeInit if (argc == 1) { - g_sci->_gfxPalette->stopPalVary(); + g_sci->_gfxPalette->kernelPalVaryDeinit(); warning("kPalVary(deinit)"); } else { warning("kPalVary(deinit) called with unsupported argc %d", argc); @@ -690,7 +690,7 @@ reg_t kPalVary(EngineState *s, int argc, reg_t *argv) { bool pauseState; if (argc == 2) { pauseState = argv[1].isNull() ? false : true; - g_sci->_gfxPalette->togglePalVary(pauseState); + g_sci->_gfxPalette->kernelPalVaryToggle(pauseState); warning("kPalVary(pause) called with state = %d", pauseState); } else { warning("kPalVary(pause) called with unsupported argc %d", argc); |