|
coastline 0.0.4
|
What a race is, in the terms of the race engine. More...
#include <racesession.h>

Public Attributes | |
| int | gameMode = 0 |
| int | players = 1 |
| int | track = 2 |
| int | musicTrack = -1 |
| The engine track selecting XM music, or -1 to use the race track. | |
| int | weather = 0 |
| int | laps = 3 |
| std::array< RacePlayerSetup, 2 > | cars {} |
| int | season = 0 |
| int | round = 0 |
| s32 | championshipFlags = 0 |
| std::array< f32, PC_RECORD_TRACKS > | lapRecords {} |
| The best lap on each track of the engine, or 0 for none. | |
| std::array< f32, PC_RECORD_TRACKS > | raceRecords {} |
| The best race on each track of the engine, or 0 for none. | |
| bool | waitForStart = false |
| Whether the race waits for the start binding before the countdown, as the PC release does. | |
| bool | autopilot = false |
| Whether the computer drives the car of the first player, for unattended checks. | |
| int | musicVolume = 9 |
| The level of the music, from 0 to 9. | |
| int | sfxVolume = 9 |
| The level of the sound effects, from 0 to 9. | |
| bool | speedInMph = true |
| Whether speeds show in miles an hour rather than kilometres. | |
| std::array< u8, 8 > | ghostHeader {} |
| The header of the recording of the ghost car of a time attack, as the console writes it. | |
| std::vector< u8 > | ghostRecording |
| Console controller recording, including its header, for ghosts without recorded poses. | |
| std::vector< u8 > | ghostFrames |
| The frames of the race engine the ghost car of a time attack plays, or none for no ghost. | |
What a race is, in the terms of the race engine.
| int coastline::RaceSetup::gameMode = 0 |
The mode, a GAME_MODE_ value.
| int coastline::RaceSetup::players = 1 |
The number of local players.
| int coastline::RaceSetup::track = 2 |
The track, an index of g_apszTrackFilenames.
| int coastline::RaceSetup::musicTrack = -1 |
The engine track selecting XM music, or -1 to use the race track.
| int coastline::RaceSetup::weather = 0 |
The weather, a WEATHER_ value.
| int coastline::RaceSetup::laps = 3 |
The laps of an arcade race.
| std::array<RacePlayerSetup, 2> coastline::RaceSetup::cars {} |
The car of each player.
| int coastline::RaceSetup::season = 0 |
The season of the championship.
| int coastline::RaceSetup::round = 0 |
The race of the season.
| s32 coastline::RaceSetup::championshipFlags = 0 |
The progress of the championship across its years.
| std::array<f32, PC_RECORD_TRACKS> coastline::RaceSetup::lapRecords {} |
The best lap on each track of the engine, or 0 for none.
| std::array<f32, PC_RECORD_TRACKS> coastline::RaceSetup::raceRecords {} |
The best race on each track of the engine, or 0 for none.
| bool coastline::RaceSetup::waitForStart = false |
Whether the race waits for the start binding before the countdown, as the PC release does.
| bool coastline::RaceSetup::autopilot = false |
Whether the computer drives the car of the first player, for unattended checks.
| int coastline::RaceSetup::musicVolume = 9 |
The level of the music, from 0 to 9.
| int coastline::RaceSetup::sfxVolume = 9 |
The level of the sound effects, from 0 to 9.
| bool coastline::RaceSetup::speedInMph = true |
Whether speeds show in miles an hour rather than kilometres.
| std::array<u8, 8> coastline::RaceSetup::ghostHeader {} |
The header of the recording of the ghost car of a time attack, as the console writes it.
| std::vector<u8> coastline::RaceSetup::ghostRecording |
Console controller recording, including its header, for ghosts without recorded poses.
| std::vector<u8> coastline::RaceSetup::ghostFrames |
The frames of the race engine the ghost car of a time attack plays, or none for no ghost.