coastline 0.0.4
Loading...
Searching...
No Matches
rallyconfig.h File Reference

The settings of the game saved in BossRally.cfg, and their reading from BossRally.ini and the command line. More...

#include "common/guid.h"
#include "common/inputbinding.h"
Include dependency graph for rallyconfig.h:

Go to the source code of this file.

Classes

class  RallyConfig
 The settings saved in BossRally.cfg. More...

Macros

#define MAX_PATH   260
 The longest path of the Windows API, the size of the paths the settings save.
#define MENU_SELECTION_COUNT   12
 The number of menu selections the configuration saves.

Functions

void LoadBossRallyIniSettings (const char *pszCmdLine)
 Read BossRally.ini and apply the command line on top of it.

Variables

RallyConfig g_GlobalRallyConfig
 Settings of the running game.

Detailed Description

The settings of the game saved in BossRally.cfg, and their reading from BossRally.ini and the command line.

Macro Definition Documentation

◆ MAX_PATH

#define MAX_PATH   260

The longest path of the Windows API, the size of the paths the settings save.

◆ MENU_SELECTION_COUNT

#define MENU_SELECTION_COUNT   12

The number of menu selections the configuration saves.

Function Documentation

◆ LoadBossRallyIniSettings()

void LoadBossRallyIniSettings ( const char * pszCmdLine)

Read BossRally.ini and apply the command line on top of it.

Each line sets the key it begins with, and each key found anywhere on the command line is set again.

Parameters
pszCmdLineCommand line the launcher received.
Ghidra address:
BRD3D: 0x10007bd0
Ghidra address:
BRGlide: 0x10007f40

Variable Documentation

◆ g_GlobalRallyConfig

RallyConfig g_GlobalRallyConfig
extern

Settings of the running game.

Ghidra address:
BRD3D: 0x10b4df30
Ghidra address:
BRGlide: 0x10b71290