coastline 0.0.4
Loading...
Searching...
No Matches
racephases.h
Go to the documentation of this file.
1#ifndef COASTLINE_RACE_PHASES_H
2#define COASTLINE_RACE_PHASES_H
3#include "common/race.h"
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8#if TGR_BOSS_RALLY
16#if TGR_PLATFORM == TGR_PLATFORM_SDL
17int *GetSdlRaceStarted(void);
18#define g_bRaceStartReached (*GetSdlRaceStarted())
19#else
20extern int g_bRaceStartReached;
21#endif
22
23#ifdef ENABLE_PATCHES
28extern int g_bRaceStartsItself;
29#endif /* ENABLE_PATCHES */
30#else
33#endif /* TGR_BOSS_RALLY */
34
36void StepRacePhases(void);
37
38#ifdef __cplusplus
39}
40#endif
41#endif
The screen of a race: its phases, its views, the pause menu, the results it keeps for the results scr...
void StepRacePhases(void)
Update the countdown, racing, results, and exit phases.
void AdvanceRacePhase(void)
Advance the race phase when network readiness permits it.