coastline 0.0.4
Loading...
Searching...
No Matches
coastline::MenuProfile Struct Reference

The parts of the profile of a player of the console the menus read, as InitPlayerProfileDefaults() of the console sets them. More...

#include <menus.h>

Collaboration diagram for coastline::MenuProfile:

Public Attributes

int handling = 0
int transmission = 1
int tires = 2
int suspension = 1
s32 championshipFlags = 0
 The progress of the championship across its years, bit 0 set while the seasons race the tracks mirrored.
u8 season = 0
u8 round = 0
std::array< u16, 6 > seasonPoints {}
std::array< std::array< u8, 4 >, 6 > seasonPlaces {}
 The place of each race of each season, from 0 for the winner.
std::array< std::array< f32, 4 >, 6 > seasonTimes {}
 The time of each race of each season, in seconds.
std::array< f32, MENU_TRACK_COUNT > lapRecords {}
std::array< f32, MENU_TRACK_COUNT > raceRecords {}
u16 unlocks = 0x102
u16 unlockedTracks = 4
u16 unlockedWeathers = 1
int controllerLayout = 0

Detailed Description

The parts of the profile of a player of the console the menus read, as InitPlayerProfileDefaults() of the console sets them.

Member Data Documentation

◆ handling

int coastline::MenuProfile::handling = 0

The handling the player chose last.

◆ transmission

int coastline::MenuProfile::transmission = 1

The transmission the player chose last, 1 for the automatic.

◆ tires

int coastline::MenuProfile::tires = 2

The tyres the player chose last.

◆ suspension

int coastline::MenuProfile::suspension = 1

The suspension the player chose last.

◆ championshipFlags

s32 coastline::MenuProfile::championshipFlags = 0

The progress of the championship across its years, bit 0 set while the seasons race the tracks mirrored.

◆ season

u8 coastline::MenuProfile::season = 0

The season of the championship being raced.

◆ round

u8 coastline::MenuProfile::round = 0

The race of the season being raced.

◆ seasonPoints

std::array<u16, 6> coastline::MenuProfile::seasonPoints {}

The points scored in each season.

◆ seasonPlaces

std::array<std::array<u8, 4>, 6> coastline::MenuProfile::seasonPlaces {}

The place of each race of each season, from 0 for the winner.

◆ seasonTimes

std::array<std::array<f32, 4>, 6> coastline::MenuProfile::seasonTimes {}

The time of each race of each season, in seconds.

◆ lapRecords

std::array<f32, MENU_TRACK_COUNT> coastline::MenuProfile::lapRecords {}

The best lap on each track, or 0 for none.

◆ raceRecords

std::array<f32, MENU_TRACK_COUNT> coastline::MenuProfile::raceRecords {}

The best race on each track, or 0 for none.

◆ unlocks

u16 coastline::MenuProfile::unlocks = 0x102

The unlocked cars, a bit for each.

◆ unlockedTracks

u16 coastline::MenuProfile::unlockedTracks = 4

The unlocked tracks, a bit for each.

◆ unlockedWeathers

u16 coastline::MenuProfile::unlockedWeathers = 1

The weathers the championship has raced in.

◆ controllerLayout

int coastline::MenuProfile::controllerLayout = 0

The button layout of the controller screen.


The documentation for this struct was generated from the following file: