diff options
author | Johannes Schickel | 2005-12-10 15:52:38 +0000 |
---|---|---|
committer | Johannes Schickel | 2005-12-10 15:52:38 +0000 |
commit | 7b556aaafe00f294d5c3c042e97ab47d4c6ef661 (patch) | |
tree | aa156c6eaf174da350fb35163bea91d841d22458 /kyra/script_v1.cpp | |
parent | fe80cf4f99319322394706d19149e6ce512e13f2 (diff) | |
download | scummvm-rg350-7b556aaafe00f294d5c3c042e97ab47d4c6ef661.tar.gz scummvm-rg350-7b556aaafe00f294d5c3c042e97ab47d4c6ef661.tar.bz2 scummvm-rg350-7b556aaafe00f294d5c3c042e97ab47d4c6ef661.zip |
Implemented cmd_bkgdScrollSceneAndMasksRight.
svn-id: r19772
Diffstat (limited to 'kyra/script_v1.cpp')
-rw-r--r-- | kyra/script_v1.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/kyra/script_v1.cpp b/kyra/script_v1.cpp index 14c1fc3f28..0f964e7752 100644 --- a/kyra/script_v1.cpp +++ b/kyra/script_v1.cpp @@ -1200,7 +1200,12 @@ int KyraEngine::cmd_getCharactersFacing(ScriptState *script) { } int KyraEngine::cmd_bkgdScrollSceneAndMasksRight(ScriptState *script) { - warning("STUB: cmd_bkgdScrollSceneAndMasksRight"); + debug(3, "cmd_bkgdScrollSceneAndMasksRight(0x%X) (%d)", script, stackPos(0)); + copyBackgroundBlock(stackPos(0), 2, 0); + copyBackgroundBlock2(stackPos(0)); + // update the whole screen + _screen->copyRegion(7, 7, 7, 7, 305, 129, 3, 0); + _screen->updateScreen(); return 0; } @@ -1529,8 +1534,9 @@ int KyraEngine::cmd_resetMaskRegion(ScriptState *script) { } int KyraEngine::cmd_setPaletteChangeFlag(ScriptState *script) { - warning("STUB: cmd_setPaletteChangeFlag"); - return 0; + debug(3, "cmd_setPaletteChangeFlag(0x%X) (%d)", script, stackPos(0)); + _paletteChanged = stackPos(0); + return _paletteChanged; } int KyraEngine::cmd_fillRect(ScriptState *script) { |