coastline 0.0.4
Loading...
Searching...
No Matches
raceprogress.h
Go to the documentation of this file.
1#ifndef COASTLINE_RACE_PROGRESS_H
2#define COASTLINE_RACE_PROGRESS_H
3
4#include "common/racers.h"
5
6#if TGR_BOSS_RALLY
7#include "common/assetnames.h"
8#include "common/strings.h"
9#endif
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15#if TGR_BOSS_RALLY
17static inline const char *GetRaceProgressMessage(s32 id) {
18 return GetStringResource(id);
19}
21static inline const char *GetNetworkRaceFinishMessage(void) {
22 return g_szEmptyUiString;
23}
29extern s32 g_anRaceProgressStringIds[RACER_SLOTS];
30#endif /* TGR_BOSS_RALLY */
31
32#ifdef __cplusplus
33}
34#endif
35
36#endif /* COASTLINE_RACE_PROGRESS_H */
const char g_szEmptyUiString[]
The empty string of the user interface.
The racers of a race: their progress through the gates and laps, their places, and the sharing of the...
#define RACER_SLOTS
The racers of a race.
Definition racerslot.h:11
The strings of the language resource library, loaded into a table by identifier.
char * GetStringResource(unsigned nResourceId)
Look up a string of the loaded string table.
int s32
Definition ultratypes.h:25