coastline 0.0.4
Loading...
Searching...
No Matches
settings.h
Go to the documentation of this file.
1#pragma once
2
7
8#include "common/assetnames.h"
9#include "common/game.h"
10#include "common/trackselect.h"
11#if TGR_PLATFORM == TGR_PLATFORM_SDL
14#endif
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
27
34extern char g_szBossRallyIniPath[];
35
42#if TGR_PLATFORM != TGR_PLATFORM_SDL
43extern int g_dwNetworkPlayMode;
44#endif
45
52#if TGR_PLATFORM != TGR_PLATFORM_SDL
53extern int g_dwChosenCar;
54#endif
55
62extern int g_dwChosenWeather;
63
70extern int g_dwHandlingType;
71
78extern int g_dwTransmissionType;
79
86extern int g_dwSuspensionType;
87
94extern int g_dwTireType;
95
102extern char g_szTracks[];
103
110extern char g_szCarsDirPath[];
111
118extern char g_szSfxDirPath[];
119
126extern int g_bInterpolateFrames;
127
135
142#if TGR_PLATFORM != TGR_PLATFORM_SDL
143extern int g_bDisableCarShadow;
144#endif
145
152#if TGR_PLATFORM != TGR_PLATFORM_SDL
153extern int g_dwRunBenchmark;
154#endif
155
156#if TGR_PLATFORM == TGR_PLATFORM_WIN && defined(ENABLE_PATCHES)
158extern int g_nTestSceneGameMode;
159
161extern int g_nTestSceneSeason;
162
164extern int g_bTestSceneSession;
165#endif
166
173extern int g_dwPlayMusicMode;
174
181extern int g_bSoundEnabledIni;
182
188extern int g_bD3DAlphaCompare;
189
196
202extern int g_dwD3DClearZBuffer;
203
209extern int g_bD3DWaitCanFlip;
210
216extern int g_bD3DWaitFlipDone;
217
224extern int g_dwD3DDestBlendMode;
225
232extern int g_bNetMaxPlayers;
233
240extern int g_wNetAllowedCarsMask;
241
248extern int g_bNetTireSetting;
249
256extern int g_bNetSuspensionSetting;
257
265
273
274#ifdef __cplusplus
275}
276#endif
The selections of the menus that the game reads, which the menus of the PC release and those of the S...
#define g_dwNetworkPlayMode
Definition frontendstate.h:79
#define g_dwChosenCar
Definition frontendstate.h:55
#define g_dwRunBenchmark
Definition frontendstate.h:77
The main thread of the game, the weather of a race, and the player slots.
#define g_bDisableCarShadow
Definition renderbackend.h:322
char g_szCarsDirPath[]
The directory of the cars, from CarDir=.
int g_bNetSuspensionSetting
The suspension of a network game, from bsuspension= on the command line.
int g_bInterpolateFrames
Whether frames are interpolated, from Interpolate=.
int g_dwHandlingType
The handling of the car, from HandlingType=.
int g_wNetAllowedCarsMask
The cars a network game allows, from bcar= on the command line.
int g_bD3DWaitFlipDone
Whether a flip waits until it is done, from D3DWaitFlipDone=.
int g_dwD3DClearZBuffer
Whether the depth buffer is cleared each frame, from D3DClearZBuffer=.
int g_bD3DWaitCanFlip
Whether a flip waits until the surface can flip, from D3DWaitCanFlip=.
int g_dwTextureQualityLevel
The selected texture quality level for the Boss Rally renderer.
int g_bSpeedSensitiveSteering
Whether speed reduces analogue steering lock, from SpeedSensitive=.
int g_dwSuspensionType
The suspension of the car, from SuspensionType=.
int g_dwTireType
The tires of the car, from TireType=.
int g_dwConfigFramebufferHeight
The height of the display mode set.
int g_dwConfigFramebufferWidth
The width of the display mode set.
int g_dwTransmissionType
The transmission of the car, from TransmissionType=.
int g_dwChosenWeather
The mode of network play, from NetworkPlay=.
char g_szBossRallyIniPath[]
Path of BossRally.ini, built from g_szInstallDirectory.
int g_bSoundEnabledIni
Whether sound effects play, from PlaySFX=.
int g_bD3DAlphaCompare
Whether Direct3D tests the alpha of a pixel, from D3DAlphaCompare=.
int g_bNetMaxPlayers
The most players of a network game, from cPlayers= on the command line.
int g_dwPlayMusicMode
Whether the shadow of a car is not drawn, the inverse of D3DDrawCarShadow=.
int g_bNetTireSetting
The tires of a network game, from btire= on the command line.
char g_szTracks[]
The directory of the tracks, from TrackDir=.
int g_dwD3DAlwaysSquareTextures
Whether textures are made square, from D3DAlwaysSquareTextures=.
int g_dwD3DDestBlendMode
The blend of the destination of a translucent pixel, D3DBLEND_INVSRCALPHA when D3DInvSrcAlpha= is set...
char g_szSfxDirPath[]
The directory of the sound effects, from SFXDir=.
The tracks: how many there are, and the one chosen for the next race.