mirror of
https://github.com/scummvm/scummvm.git
synced 2026-11-18 21:34:48 +00:00
DIRECTOR: Fxi dissolve transition
This commit is contained in:
1 parent
02e16487e2
commit
77bf1eb73f
1 file changed
+1
-8
@@ -310,7 +310,7 @@ static void dissolveTrans(TransParams &t, Score *score, Common::Rect &clipRect)
|
||||
|
||||
// Calculate steps
|
||||
uint32 pixPerStepInit = 1;
|
||||
t.steps = (1 << (hBits * vBits)) - 1;
|
||||
t.steps = (1 << (hBits + vBits)) - 1;
|
||||
|
||||
while (t.steps > 64) {
|
||||
pixPerStepInit <<= 1;
|
||||
@@ -333,13 +333,6 @@ static void dissolveTrans(TransParams &t, Score *score, Common::Rect &clipRect)
|
||||
rnd = (rnd & 1) ? (rnd >> 1) ^ seed : rnd >> 1;
|
||||
|
||||
if (pixPerStep > 0) {
|
||||
if (pixPerStep % 10000 == 0) {
|
||||
g_system->delayMillis(10);
|
||||
if (processQuitEvent(true))
|
||||
break;
|
||||
|
||||
g_system->updateScreen();
|
||||
}
|
||||
if (--pixPerStep == 0) {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user