2021-07-07 18:08:01 +00:00
|
|
|
extern bool turbo_mode;
|
|
|
|
|
|
|
|
// Number of VSync events to wait for at the end of the current frame.
|
|
|
|
extern unsigned int slowdown_factor;
|
|
|
|
|
2021-07-06 19:19:50 +00:00
|
|
|
#if (GAME == 5)
|
|
|
|
// Only written to in Slow Mode.
|
|
|
|
extern bool slowdown_caused_by_bullets;
|
|
|
|
#endif
|
2021-07-07 18:08:01 +00:00
|
|
|
|
|
|
|
// Blocks until the number of VSync events given in [slowdown_factor] have
|
|
|
|
// occurred, then resets the [slowdown_factor] to 1.
|
|
|
|
void near slowdown_frame_delay(void);
|