Implements opcode 0xFFAA ('Reset Brandon's sprite')

svn-id: r25262
This commit is contained in:
Johannes Schickel 2007-01-29 19:41:52 +00:00
parent fc5ed85972
commit 10a3eebe5a

View File

@ -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;