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

Go to the source code of this file.

Functions

static void ExitGraphicOptions (void *prevMenu)
static void SaveGraphicOptions (void *prevMenu)
static void ChangeFov (void)
static void ChangeLodFactor (void)
static void ChangeSmoke (void)
static void ChangeSkid (void)
static void changeWheelDetailState (int delta)
void * GraphMenuInit (void *prevMenu)

Variables

static void * scrHandle = NULL
static int FovEditId
static int FovFactorValue = 100
static int SmokeEditId
static int SmokeValue = 300
static int SkidEditId
static int SkidValue = 20
static int LodFactorEditId
static tdble LodFactorValue = 1.0
static const char * wheelDetailOptionList []
static float LabelColor [] = {1.0, 0.0, 1.0, 1.0}
static const int nbOptionsWheelDetail = sizeof(wheelDetailOptionList) / sizeof(wheelDetailOptionList[0])
static int curOptionWheelDetail = 0
static int WheelDetailOptionId

Detailed Description

Author
Eric Espie
Version
$Id$

Definition in file graphconfig.cpp.

Function Documentation

◆ ChangeFov()

void ChangeFov ( void )
static

Definition at line 87 of file graphconfig.cpp.

Here is the call graph for this function:

◆ ChangeLodFactor()

void ChangeLodFactor ( void )
static

Definition at line 102 of file graphconfig.cpp.

Here is the call graph for this function:

◆ ChangeSkid()

void ChangeSkid ( void )
static

Definition at line 132 of file graphconfig.cpp.

Here is the call graph for this function:

◆ ChangeSmoke()

void ChangeSmoke ( void )
static

Definition at line 117 of file graphconfig.cpp.

Here is the call graph for this function:

◆ changeWheelDetailState()

void changeWheelDetailState ( int delta)
static

Definition at line 147 of file graphconfig.cpp.

Here is the call graph for this function:

◆ ExitGraphicOptions()

void ExitGraphicOptions ( void * prevMenu)
static

Definition at line 57 of file graphconfig.cpp.

Here is the call graph for this function:

◆ GraphMenuInit()

void * GraphMenuInit ( void * prevMenu)

Definition at line 166 of file graphconfig.cpp.

Here is the call graph for this function:

◆ SaveGraphicOptions()

void SaveGraphicOptions ( void * prevMenu)
static

Definition at line 65 of file graphconfig.cpp.

Here is the call graph for this function:

Variable Documentation

◆ curOptionWheelDetail

int curOptionWheelDetail = 0
static

Definition at line 51 of file graphconfig.cpp.

◆ FovEditId

int FovEditId
static

Definition at line 34 of file graphconfig.cpp.

◆ FovFactorValue

int FovFactorValue = 100
static

Definition at line 35 of file graphconfig.cpp.

◆ LabelColor

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

Definition at line 49 of file graphconfig.cpp.

◆ LodFactorEditId

int LodFactorEditId
static

Definition at line 40 of file graphconfig.cpp.

◆ LodFactorValue

tdble LodFactorValue = 1.0
static

Definition at line 41 of file graphconfig.cpp.

◆ nbOptionsWheelDetail

const int nbOptionsWheelDetail = sizeof(wheelDetailOptionList) / sizeof(wheelDetailOptionList[0])
static

Definition at line 50 of file graphconfig.cpp.

◆ scrHandle

void* scrHandle = NULL
static

Definition at line 33 of file graphconfig.cpp.

◆ SkidEditId

int SkidEditId
static

Definition at line 38 of file graphconfig.cpp.

◆ SkidValue

int SkidValue = 20
static

Definition at line 39 of file graphconfig.cpp.

◆ SmokeEditId

int SmokeEditId
static

Definition at line 36 of file graphconfig.cpp.

◆ SmokeValue

int SmokeValue = 300
static

Definition at line 37 of file graphconfig.cpp.

◆ WheelDetailOptionId

int WheelDetailOptionId
static

Definition at line 52 of file graphconfig.cpp.

◆ wheelDetailOptionList

const char* wheelDetailOptionList[]
static
Initial value:
= {
}
#define GR_ATT_WHEELRENDERING_DETAILED
Definition graphic.h:58
#define GR_ATT_WHEELRENDERING_SIMPLE
Definition graphic.h:59

Definition at line 44 of file graphconfig.cpp.