mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
-missed animator_v2.cpp in last commit
svn-id: r31171
This commit is contained in:
parent
760b44da10
commit
68a603139d
@ -258,6 +258,11 @@ void KyraEngine_v2::flagAnimObjsForRefresh() {
|
||||
curEntry->needRefresh = 1;
|
||||
}
|
||||
|
||||
void KyraEngine_v2::flagAnimObjsUnk8() {
|
||||
for (AnimObj *curEntry = _animList; curEntry; curEntry = curEntry->nextObject)
|
||||
curEntry->unk8 = 1;
|
||||
}
|
||||
|
||||
void KyraEngine_v2::updateCharFacing() {
|
||||
if (_mainCharacter.x1 > _mouseX)
|
||||
_mainCharacter.facing = 5;
|
||||
|
@ -466,7 +466,7 @@ protected:
|
||||
void refreshAnimObjectsIfNeed();
|
||||
void updateItemAnimations();
|
||||
|
||||
void flagAnimObjUnk8();
|
||||
void flagAnimObjsUnk8();
|
||||
void flagAnimObjsForRefresh();
|
||||
|
||||
void updateCharFacing();
|
||||
|
@ -374,7 +374,7 @@ int KyraEngine_v2::o2_drawShape(ScriptState *script) {
|
||||
_screen->drawShape(0, shp, x, y, 2, dsFlag ? 1 : 0);
|
||||
|
||||
flagAnimObjsForRefresh();
|
||||
flagAnimObjUnk8();
|
||||
flagAnimObjsUnk8();
|
||||
refreshAnimObjectsIfNeed();
|
||||
_screen->showMouse();
|
||||
}
|
||||
@ -570,7 +570,7 @@ int KyraEngine_v2::o2_drawSceneShape(ScriptState *script) {
|
||||
|
||||
_screen->drawShape(0, _sceneShapeTable[shape], x, y, 2, flag);
|
||||
|
||||
flagAnimObjUnk8();
|
||||
flagAnimObjsUnk8();
|
||||
flagAnimObjsForRefresh();
|
||||
refreshAnimObjectsIfNeed();
|
||||
_screen->showMouse();
|
||||
|
Loading…
Reference in New Issue
Block a user