TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
simuconfig.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <tgfclient.h>
#include <raceinit.h>
#include "simuconfig.h"
#include <portability.h>
Include dependency graph for simuconfig.cpp:

Go to the source code of this file.

Functions

static void ReadSimuCfg (void)
static void SaveSimuVersion (void)
static void ChangeSimuVersion (int delta)
static void onActivate (void)
void * SimuMenuInit (void *prevMenu)

Variables

static float LabelColor [] = {1.0, 0.0, 1.0, 1.0}
static const char * simuVersionList [] = {"simuv2", "simuv3"}
static const int nbVersions = sizeof(simuVersionList) / sizeof(simuVersionList[0])
static int curVersion = 0
static int SimuVersionId
static void * scrHandle = NULL
static void * prevHandle = NULL

Function Documentation

◆ ChangeSimuVersion()

void ChangeSimuVersion ( int delta)
static

Definition at line 90 of file simuconfig.cpp.

Here is the call graph for this function:

◆ onActivate()

void onActivate ( void )
static

Definition at line 107 of file simuconfig.cpp.

Here is the call graph for this function:

◆ ReadSimuCfg()

void ReadSimuCfg ( void )
static

Definition at line 46 of file simuconfig.cpp.

Here is the call graph for this function:

◆ SaveSimuVersion()

void SaveSimuVersion ( void )
static

Definition at line 72 of file simuconfig.cpp.

Here is the call graph for this function:

◆ SimuMenuInit()

void * SimuMenuInit ( void * prevMenu)

Definition at line 115 of file simuconfig.cpp.

Here is the call graph for this function:

Variable Documentation

◆ curVersion

int curVersion = 0
static

Definition at line 36 of file simuconfig.cpp.

◆ LabelColor

float LabelColor[] = {1.0, 0.0, 1.0, 1.0}
static

Definition at line 31 of file simuconfig.cpp.

◆ nbVersions

const int nbVersions = sizeof(simuVersionList) / sizeof(simuVersionList[0])
static

Definition at line 35 of file simuconfig.cpp.

◆ prevHandle

void* prevHandle = NULL
static

Definition at line 43 of file simuconfig.cpp.

◆ scrHandle

void* scrHandle = NULL
static

Definition at line 42 of file simuconfig.cpp.

◆ SimuVersionId

int SimuVersionId
static

Definition at line 39 of file simuconfig.cpp.

◆ simuVersionList

const char* simuVersionList[] = {"simuv2", "simuv3"}
static

Definition at line 34 of file simuconfig.cpp.