diff options
author | athrxx | 2011-08-20 13:24:36 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-12-26 16:18:14 +0100 |
commit | c35de374dfe545ffc5044a00a247c5814e3b250e (patch) | |
tree | cad935e5db618270d5cf70f2e91d41ec32e514b7 /engines/kyra/screen_eob.cpp | |
parent | f7032c126dd097e8083e0fc740c7c856e0f2dd58 (diff) | |
download | scummvm-rg350-c35de374dfe545ffc5044a00a247c5814e3b250e.tar.gz scummvm-rg350-c35de374dfe545ffc5044a00a247c5814e3b250e.tar.bz2 scummvm-rg350-c35de374dfe545ffc5044a00a247c5814e3b250e.zip |
KYRA: (EOB) - lots of bug fixes, mostly for EOB II
Diffstat (limited to 'engines/kyra/screen_eob.cpp')
-rw-r--r-- | engines/kyra/screen_eob.cpp | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/engines/kyra/screen_eob.cpp b/engines/kyra/screen_eob.cpp index d29af69f0a..9c67750ba8 100644 --- a/engines/kyra/screen_eob.cpp +++ b/engines/kyra/screen_eob.cpp @@ -774,15 +774,8 @@ void Screen_Eob::drawExplosion(int scale, int radius, int numElements, int stepS int16 py = ((ptr3[i] >> 6) >> scale) + gy2; if (py > ymax) py = ymax; - if (posWithinRect(px, py, rX1, rY1, rX2, rY2)) { + if (posWithinRect(px, py, rX1, rY1, rX2, rY2)) setPagePixel(0, px, py, ptr6[i]); - if (i % 5 == 0) { - updateScreen(); - uint32 cur = _system->getMillis(); - if (end > cur) - _system->delayMillis(end - cur); - } - } } } @@ -914,14 +907,6 @@ void Screen_Eob::drawVortex(int numElements, int radius, int stepSize, int, int int16 px = CLIP((xCoords[ii] >> 6) + cx, 0, SCREEN_W - 1); int16 py = CLIP((yCoords[ii] >> 6) + cy, 0, SCREEN_H - 1); setPagePixel(0, px, py, pixBackup[ii]); - - if (ii % 15 == 0) { - updateScreen(); - uint32 cur = _system->getMillis(); - if (nextDelay > cur) - _system->delayMillis(nextDelay - cur); - nextDelay += 1; - } } } |