diff options
author | Johannes Schickel | 2007-01-29 19:41:52 +0000 |
---|---|---|
committer | Johannes Schickel | 2007-01-29 19:41:52 +0000 |
commit | 10a3eebe5a3aba9a3dee570fce6ef338cc5ec3d4 (patch) | |
tree | 30688dd17450a793d3ce975b44d9738ae565e8d5 /engines/kyra | |
parent | fc5ed85972d1ce765e18541377841b5e01885543 (diff) | |
download | scummvm-rg350-10a3eebe5a3aba9a3dee570fce6ef338cc5ec3d4.tar.gz scummvm-rg350-10a3eebe5a3aba9a3dee570fce6ef338cc5ec3d4.tar.bz2 scummvm-rg350-10a3eebe5a3aba9a3dee570fce6ef338cc5ec3d4.zip |
Implements opcode 0xFFAA ('Reset Brandon's sprite')
svn-id: r25262
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/sprites.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/kyra/sprites.cpp b/engines/kyra/sprites.cpp index 4a6f8f199f..13a405d066 100644 --- a/engines/kyra/sprites.cpp +++ b/engines/kyra/sprites.cpp @@ -337,7 +337,13 @@ void Sprites::updateSceneAnims() { break; case 0xFFAA: data += 2; - debugC(1, kDebugLevelSprites, "TODO func: Reset Brandon's sprite"); + debugC(6, kDebugLevelSprites, "func: Reset Brandon's sprite"); + _engine->animator()->actors()->sceneAnimPtr = 0; + _engine->animator()->actors()->bkgdChangeFlag = 1; + _engine->animator()->actors()->refreshFlag = 1; + _engine->animator()->restoreAllObjectBackgrounds(); + _engine->animator()->flagAllObjectsForRefresh(); + _engine->animator()->updateAllObjectShapes(); break; case 0xFFAB: data += 2; |