diff options
author | Gregory Montoir | 2003-10-20 08:39:18 +0000 |
---|---|---|
committer | Gregory Montoir | 2003-10-20 08:39:18 +0000 |
commit | 59f5854be2283c1f0bc138f7fa08f753bb47274e (patch) | |
tree | 070f43bf6359986c80c3661057f856dfae5f3005 | |
parent | 769f033b003d848ed9722dab239670386ce2317a (diff) | |
download | scummvm-rg350-59f5854be2283c1f0bc138f7fa08f753bb47274e.tar.gz scummvm-rg350-59f5854be2283c1f0bc138f7fa08f753bb47274e.tar.bz2 scummvm-rg350-59f5854be2283c1f0bc138f7fa08f753bb47274e.zip |
real Logic::anim cleanup
svn-id: r10910
-rw-r--r-- | queen/logic.cpp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/queen/logic.cpp b/queen/logic.cpp index 29cc6ecbe7..56c7b23371 100644 --- a/queen/logic.cpp +++ b/queen/logic.cpp @@ -902,25 +902,6 @@ void Logic::roomSetupObjects() { curBob = 5 + _numFurnitureAnimated; animSetup(pgd, curImage + 1, curBob + numObjectAnimated, pod->name > 0); curImage += pgd->lastFrame; -/* AnimFrame *paf = NULL; - if (pod->name > 0) { - paf = _newAnim[curBob + numObjectAnimated]; - } - BobSlot *pbs = _graphics->bob(curBob + numObjectAnimated); - int16 f = animFindAll(pgd, curImage + 1, paf); - curImage += pgd->lastFrame; - if (paf != NULL) { - if (f < 0) { - pbs->xflip = true; - } - pbs->active = true; - pbs->x = pgd->x; - pbs->y = pgd->y; - _graphics->bobAnimString(curBob + numObjectAnimated, paf); - } - else { - pbs->animating = false; - }*/ ++numObjectAnimated; } else if (lastFrame != 0) { @@ -1066,24 +1047,6 @@ uint16 Logic::roomRefreshObject(uint16 obj) { if (pgd->firstFrame < 0) { animSetup(pgd, curImage, curBob, pod->name != 0); curImage += pgd->lastFrame - 1; -/* AnimFrame *paf = NULL; - if (pod->name != 0) { - paf = _newAnim[curBob]; - } - int16 f = animFindAll(pgd, curImage, paf); - curImage += pgd->lastFrame - 1; - if (f < 0) { - pbs->xflip = true; - } - if (paf != NULL) { - pbs->active = true; - pbs->x = pgd->x; - pbs->y = pgd->y; - _graphics->bobAnimString(curBob, _newAnim[curBob]); - } - else { - pbs->animating = false; - }*/ } else if (lastFrame != 0) { // turn on an animated bob |