if (new_level_nr>leveldir[leveldir_nr].levels-1)
new_level_nr = leveldir[leveldir_nr].levels-1;
- if (old_level_nr==new_level_nr || !DelayReached(&level_delay,15))
+ if (old_level_nr==new_level_nr || !DelayReached(&level_delay,150))
goto out;
level_nr = new_level_nr;
}
j++;
- DrawGraphicExtHiRes(drawto,gc,xstart,ystart+(i-start)*ystep,
- graphic+frame);
+ DrawGraphicExt(drawto, gc, xstart, ystart+(i-start)*ystep, graphic+frame);
i++;
}
joystick_status=JOYSTICK_OFF;
goto error_out;
}
- Delay(10000);
+ Delay(10);
}
new_joystick_xleft = joy_ctrl.x;
joystick_status=JOYSTICK_OFF;
goto error_out;
}
- Delay(10000);
+ Delay(10);
}
new_joystick_xright = joy_ctrl.x;
joystick_status=JOYSTICK_OFF;
goto error_out;
}
- Delay(10000);
+ Delay(10);
}
new_joystick_xmiddle = joy_ctrl.x;
DrawText(SX+16, SY+16, "NO JOYSTICK",FS_BIG,FC_YELLOW);
DrawText(SX+16, SY+48, " AVAILABLE ",FS_BIG,FC_YELLOW);
BackToFront();
- Delay(3000000);
+ Delay(3000);
DrawSetupScreen();
}
TapeStop();
GameActions();
+
+ BackToFront();
}
void HandleVideoButtons(int mx, int my, int button)