TORCS  1.3.9
The Open Racing Car Simulator
graphconfig.cpp File Reference


More...

#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 (void *vp)
 
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()

static void ChangeFov ( void *  )
static

Definition at line 88 of file graphconfig.cpp.

Here is the call graph for this function:

◆ ChangeLodFactor()

static void ChangeLodFactor ( void *  )
static

Definition at line 103 of file graphconfig.cpp.

Here is the call graph for this function:

◆ ChangeSkid()

static void ChangeSkid ( void *  )
static

Definition at line 133 of file graphconfig.cpp.

Here is the call graph for this function:

◆ ChangeSmoke()

static void ChangeSmoke ( void *  )
static

Definition at line 118 of file graphconfig.cpp.

Here is the call graph for this function:

◆ changeWheelDetailState()

static void changeWheelDetailState ( void *  vp)
static

Definition at line 148 of file graphconfig.cpp.

Here is the call graph for this function:

◆ ExitGraphicOptions()

static void ExitGraphicOptions ( void *  prevMenu)
static

Definition at line 58 of file graphconfig.cpp.

Here is the call graph for this function:

◆ GraphMenuInit()

void* GraphMenuInit ( void *  prevMenu)

Definition at line 167 of file graphconfig.cpp.

Here is the call graph for this function:

◆ SaveGraphicOptions()

static void SaveGraphicOptions ( void *  prevMenu)
static

Definition at line 66 of file graphconfig.cpp.

Here is the call graph for this function:

Variable Documentation

◆ curOptionWheelDetail

int curOptionWheelDetail = 0
static

Definition at line 52 of file graphconfig.cpp.

◆ FovEditId

int FovEditId
static

Definition at line 35 of file graphconfig.cpp.

◆ FovFactorValue

int FovFactorValue = 100
static

Definition at line 36 of file graphconfig.cpp.

◆ LabelColor

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

Definition at line 50 of file graphconfig.cpp.

◆ LodFactorEditId

int LodFactorEditId
static

Definition at line 41 of file graphconfig.cpp.

◆ LodFactorValue

tdble LodFactorValue = 1.0
static

Definition at line 42 of file graphconfig.cpp.

◆ nbOptionsWheelDetail

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

Definition at line 51 of file graphconfig.cpp.

◆ scrHandle

void* scrHandle = NULL
static

Definition at line 34 of file graphconfig.cpp.

◆ SkidEditId

int SkidEditId
static

Definition at line 39 of file graphconfig.cpp.

◆ SkidValue

int SkidValue = 20
static

Definition at line 40 of file graphconfig.cpp.

◆ SmokeEditId

int SmokeEditId
static

Definition at line 37 of file graphconfig.cpp.

◆ SmokeValue

int SmokeValue = 300
static

Definition at line 38 of file graphconfig.cpp.

◆ WheelDetailOptionId

int WheelDetailOptionId
static

Definition at line 53 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 45 of file graphconfig.cpp.