diff options
author | Gregory Montoir | 2004-01-22 22:28:57 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-01-22 22:28:57 +0000 |
commit | 99e3175d548d5dce704aaedab9ed291a4b365dae (patch) | |
tree | cc1186fa37405b2bccb3b483390100e6edf591a0 /queen/logic.cpp | |
parent | 90b96a94abeb8ee02d5468f9088a23174a0ccc60 (diff) | |
download | scummvm-rg350-99e3175d548d5dce704aaedab9ed291a4b365dae.tar.gz scummvm-rg350-99e3175d548d5dce704aaedab9ed291a4b365dae.tar.bz2 scummvm-rg350-99e3175d548d5dce704aaedab9ed291a4b365dae.zip |
(slightly) less hackish bounding box code
svn-id: r12576
Diffstat (limited to 'queen/logic.cpp')
-rw-r--r-- | queen/logic.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/queen/logic.cpp b/queen/logic.cpp index 4ab3aaa865..4c034ffe87 100644 --- a/queen/logic.cpp +++ b/queen/logic.cpp @@ -1196,9 +1196,6 @@ void Logic::handlePinnacleRoom() { joe->frameNum = _vm->input()->mousePosX() / 36 + 43 + FRAMES_JOE_XTRA; - // adjust bounding box for fullscreen - joe->box.y2 = piton->box.y2 = GAME_SCREEN_HEIGHT - 1; - // bobs have been unpacked from animating objects, we don't need them // to animate anymore ; so turn animating off joe->animating = piton->animating = false; @@ -1483,7 +1480,6 @@ void Logic::asmMakeFrankGrowing() { BobSlot *bobFrank = _vm->graphics()->bob(5); bobFrank->frameNum = 38; bobFrank->curPos(160, 200); - bobFrank->box.y2 = GAME_SCREEN_HEIGHT - 1; int i; for (i = 10; i <= 100; i += 4) { @@ -1507,7 +1503,6 @@ void Logic::asmMakeRobotGrowing() { BobSlot *bobRobot = _vm->graphics()->bob(5); bobRobot->frameNum = 38; bobRobot->curPos(160, 200); - bobRobot->box.y2 = GAME_SCREEN_HEIGHT - 1; int i; for (i = 10; i <= 100; i += 4) { @@ -1694,7 +1689,6 @@ void Logic::asmMakeLightningHitPlane() { BobSlot *planeBob = _vm->graphics()->bob(5); BobSlot *lightningBob = _vm->graphics()->bob(20); - planeBob->box.y2 = lightningBob->box.y2 = 199; planeBob->y = 135; planeBob->scale = 20; |