coastline 0.0.4
Loading...
Searching...
No Matches
profile.h
Go to the documentation of this file.
1#ifndef COASTLINE_PROFILE_H
2#define COASTLINE_PROFILE_H
3
8
9#include "common/types.h"
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15/* The size of the championship. */
16#define SEASONS 6
17#define SEASON_RACES 4
18
54
56void InitPlayerProfileDefaults(PlayerProfile *profile, s32 trackCount);
57
69
70#if TGR_BOSS_RALLY
77extern PlayerProfile g_SeasonProgress;
78#endif
79
80#ifdef __cplusplus
81}
82#endif
83
84#endif /* COASTLINE_PROFILE_H */
#define SEASON_RACES
Definition profile.h:17
void InitPlayerProfileDefaults(PlayerProfile *profile, s32 trackCount)
Initialise profile options and clear records for the available tracks.
#define SEASONS
Definition profile.h:16
PlayerProfile g_aSeasonSaveBuffers[2]
The profiles of the two players a controller pak saves.
The saved settings and progress of a player.
Definition profile.h:23
f32 lapRecords[16]
Definition profile.h:38
s32 controllerLayout
Definition profile.h:51
s32 transmission
Definition profile.h:45
s32 suspension
Definition profile.h:49
u16 unlockedTracks
Definition profile.h:41
u8 round
Definition profile.h:28
u16 seasonPoints[SEASONS]
Definition profile.h:34
f32 raceRecords[16]
Definition profile.h:52
s32 tires
Definition profile.h:47
u16 unlockedWeathers
Definition profile.h:42
s32 handling
Definition profile.h:43
f32 seasonTimes[SEASONS][SEASON_RACES]
Definition profile.h:36
u16 unlocks
Definition profile.h:39
u8 seasonPlaces[SEASONS][SEASON_RACES]
Definition profile.h:29
u8 season
Definition profile.h:27
s32 championshipFlags
Definition profile.h:24
The integer and floating-point types of the console, for headers shared with Windows.
float f32
Definition ultratypes.h:38
unsigned short u16
Definition ultratypes.h:19
int s32
Definition ultratypes.h:25
unsigned char u8
Definition ultratypes.h:18