coastline 0.0.4
Loading...
Searching...
No Matches
SdlFrontEndState Struct Reference

Front-end choices and host paths for one active game session. More...

#include <frontendstate.h>

Public Attributes

char configPath [4096]
char seasonPath [FRONT_END_SAVE_PATH_SIZE]
char timeAttackPath [FRONT_END_SAVE_PATH_SIZE]
int chosenCar
int networkCarSetup
int rootMenu
int transmission
int tires
int suspension
int car
int laps
int unlockedCars
int unlockedTracks
int handling
int benchmark
int networkPlay
int frontEndEnabled

Detailed Description

Front-end choices and host paths for one active game session.

Member Data Documentation

◆ configPath

char SdlFrontEndState::configPath[4096]

The null-terminated path of the active configuration file.

◆ seasonPath

char SdlFrontEndState::seasonPath[FRONT_END_SAVE_PATH_SIZE]

The path of the saved season file.

◆ timeAttackPath

char SdlFrontEndState::timeAttackPath[FRONT_END_SAVE_PATH_SIZE]

The path of the saved time-attack ghost.

◆ chosenCar

int SdlFrontEndState::chosenCar

The selected car index transferred from the front end into race setup.

◆ networkCarSetup

int SdlFrontEndState::networkCarSetup

Whether the network car setup screen is active.

◆ rootMenu

int SdlFrontEndState::rootMenu

Whether the root front-end screen is active.

◆ transmission

int SdlFrontEndState::transmission

The selected transmission mode.

◆ tires

int SdlFrontEndState::tires

The selected tyre option index.

◆ suspension

int SdlFrontEndState::suspension

The selected suspension option index.

◆ car

int SdlFrontEndState::car

The car option index displayed in car setup.

◆ laps

int SdlFrontEndState::laps

The configured race lap count.

◆ unlockedCars

int SdlFrontEndState::unlockedCars

The accumulated car unlock mask, one bit per car.

◆ unlockedTracks

int SdlFrontEndState::unlockedTracks

The accumulated track unlock mask, one bit per track.

◆ handling

int SdlFrontEndState::handling

The selected handling option index.

◆ benchmark

int SdlFrontEndState::benchmark

Whether benchmark mode is requested.

◆ networkPlay

int SdlFrontEndState::networkPlay

Whether the selected race uses network play.

◆ frontEndEnabled

int SdlFrontEndState::frontEndEnabled

Whether PC front-end-dependent features are enabled.


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