|
coastline 0.0.4
|
The selections of the menus that the game reads, which the menus of the PC release and those of the SDL game set. More...

Go to the source code of this file.
Classes | |
| struct | SdlFrontEndState |
| Front-end choices and host paths for one active game session. More... | |
Typedefs | |
| typedef struct SdlFrontEndState | SdlFrontEndState |
| Front-end choices and host paths for one active game session. | |
Functions | |
| SdlFrontEndState * | GetSdlFrontEndState (void) |
| void | BackupMenuSelections (void) |
| Copy the choices of the menus to adwMenuSelectionBackup of g_GlobalRallyConfig. | |
| void | ShowErrorMessage (int nErrorCode) |
| Show an error of the game in a message box from its second character, and exit when the error is fatal. | |
| void | ResolveRaceSelections (void) |
| Restore menu choices, advance unavailable selections, and apply race settings. | |
| void | ResetMenuSelectionsToDefaults (void) |
| Reset menu selections, championship profiles, and result display values. | |
| void | StopActiveFrontEndForSeasonTransition (void) |
| Stop and shut down the active menu screen after a season transition. | |
The selections of the menus that the game reads, which the menus of the PC release and those of the SDL game set.
| #define KEY_CONFIG_ENTRY_COUNT 21 |
The number of controls displayed by key configuration.
| #define FRONT_END_SAVE_PATH_SIZE 260 |
The size of the path of a saved season or ghost, MAX_PATH of Windows.
| #define g_szConfigFilePath (GetSdlFrontEndState()->configPath) |
The null-terminated path of the active configuration file.
| #define g_szSeasonSaveFileName (GetSdlFrontEndState()->seasonPath) |
The path of the saved season file.
| #define g_szTimeAttackSaveFileName (GetSdlFrontEndState()->timeAttackPath) |
The path of the saved time-attack ghost.
| #define g_dwChosenCar (GetSdlFrontEndState()->chosenCar) |
The selected car index transferred from the front end into race setup.
| #define g_dwInNetworkCarSetup (GetSdlFrontEndState()->networkCarSetup) |
Whether the network car setup screen is active.
| #define g_dwFrontEndAtRootMenu (GetSdlFrontEndState()->rootMenu) |
Whether the root front-end screen is active.
| #define g_dwSelectedTransmission (GetSdlFrontEndState()->transmission) |
The selected transmission mode.
| #define g_dwTireMenuIndex (GetSdlFrontEndState()->tires) |
The selected tyre option index.
| #define g_dwSuspensionMenuIndex (GetSdlFrontEndState()->suspension) |
The selected suspension option index.
| #define g_dwCarMenuIndex (GetSdlFrontEndState()->car) |
The car option index displayed in car setup.
| #define g_dwTotalLapsSetting (GetSdlFrontEndState()->laps) |
The configured race lap count.
| #define g_dwAccumUnlockedCarMask (GetSdlFrontEndState()->unlockedCars) |
The accumulated car unlock mask, one bit per car.
| #define g_dwAccumUnlockedTrackMask (GetSdlFrontEndState()->unlockedTracks) |
The accumulated track unlock mask, one bit per track.
| #define g_dwHandlingTypeMenuIndex (GetSdlFrontEndState()->handling) |
The selected handling option index.
| #define g_dwRunBenchmark (GetSdlFrontEndState()->benchmark) |
Whether benchmark mode is requested.
| #define g_dwNetworkPlayMode (GetSdlFrontEndState()->networkPlay) |
Whether the selected race uses network play.
| #define g_dwNullStubEnable (GetSdlFrontEndState()->frontEndEnabled) |
Whether PC front-end-dependent features are enabled.
| typedef struct SdlFrontEndState SdlFrontEndState |
Front-end choices and host paths for one active game session.
| SdlFrontEndState * GetSdlFrontEndState | ( | void | ) |
| void BackupMenuSelections | ( | void | ) |
Copy the choices of the menus to adwMenuSelectionBackup of g_GlobalRallyConfig.
| void ShowErrorMessage | ( | int | nErrorCode | ) |
Show an error of the game in a message box from its second character, and exit when the error is fatal.
Codes above the error-table bound show nothing.
| nErrorCode | The error code. |
| void ResolveRaceSelections | ( | void | ) |
Restore menu choices, advance unavailable selections, and apply race settings.
| void ResetMenuSelectionsToDefaults | ( | void | ) |
Reset menu selections, championship profiles, and result display values.
| void StopActiveFrontEndForSeasonTransition | ( | void | ) |
Stop and shut down the active menu screen after a season transition.