coastline 0.0.4
Loading...
Searching...
No Matches
seasons.h
Go to the documentation of this file.
1#ifndef COASTLINE_SEASONS_H
2#define COASTLINE_SEASONS_H
3
8
9#include "common/profile.h"
10#include "common/types.h"
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
17typedef struct {
18#if TGR_BOSS_RALLY
19 u32 nameStringId;
20#else
21 const char *name;
22 const char *subtitle;
23#endif
26 u8 cars[2];
29} Season;
30
42
43#ifdef __cplusplus
44}
45#endif
46
47#endif /* COASTLINE_SEASONS_H */
The saved settings and progress of a player, and the size of the championship.
#define SEASON_RACES
Definition profile.h:17
#define SEASONS
Definition profile.h:16
Season g_SeasonTable[SEASONS]
The race and track settings of each championship season.
A season of the championship.
Definition seasons.h:17
const char * name
Definition seasons.h:21
const char * subtitle
Definition seasons.h:22
s32 raceCount
Definition seasons.h:24
u16 unlocks
Definition seasons.h:27
s32 pointsNeeded
Definition seasons.h:25
u8 races[SEASON_RACES][2]
Definition seasons.h:28
u8 cars[2]
Definition seasons.h:26
The integer and floating-point types of the console, for headers shared with Windows.
unsigned int u32
Definition ultratypes.h:20
unsigned short u16
Definition ultratypes.h:19
int s32
Definition ultratypes.h:25
unsigned char u8
Definition ultratypes.h:18