TORCS  1.3.9
The Open Racing Car Simulator
grscene.h File Reference
#include <track.h>
#include "grmultitexstate.h"
Include dependency graph for grscene.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int grInitScene (void)
 
int grLoadScene (tTrack *track)
 
void grDrawScene (void)
 
void grShutdownScene (void)
 
void grCustomizePits (void)
 
void grDrawBackground (class cGrCamera *, class cGrBackgroundCam *bgCam)
 

Variables

int grWrldX
 
int grWrldY
 
int grWrldZ
 
int grWrldMaxSize
 
tTrackgrTrack
 
ssgRoot * TheScene
 
ssgBranch * SunAnchor
 
ssgBranch * LandAnchor
 
ssgBranch * CarsAnchor
 
ssgBranch * ShadowAnchor
 
ssgBranch * PitsAnchor
 
ssgBranch * SmokeAnchor
 
ssgBranch * SkidAnchor
 
ssgBranch * CarlightAnchor
 
ssgBranch * ThePits
 
ssgStateSelector * grEnvSelector
 
grMultiTexStategrEnvState
 
grMultiTexStategrEnvShadowState
 
grMultiTexStategrEnvShadowStateOnCars
 

Function Documentation

◆ grCustomizePits()

void grCustomizePits ( void  )

Definition at line 618 of file grscene.cpp.

Here is the call graph for this function:

◆ grDrawBackground()

void grDrawBackground ( class cGrCamera ,
class cGrBackgroundCam bgCam 
)

Definition at line 605 of file grscene.cpp.

Here is the call graph for this function:

◆ grDrawScene()

void grDrawScene ( void  )

Definition at line 244 of file grscene.cpp.

◆ grInitScene()

int grInitScene ( void  )

Definition at line 93 of file grscene.cpp.

Here is the call graph for this function:

◆ grLoadScene()

int grLoadScene ( tTrack track)

Definition at line 168 of file grscene.cpp.

Here is the call graph for this function:

◆ grShutdownScene()

void grShutdownScene ( void  )

Definition at line 252 of file grscene.cpp.

Variable Documentation

◆ CarlightAnchor

ssgBranch* CarlightAnchor

Definition at line 77 of file grscene.cpp.

◆ CarsAnchor

ssgBranch* CarsAnchor

Definition at line 72 of file grscene.cpp.

◆ grEnvSelector

ssgStateSelector* grEnvSelector

Definition at line 59 of file grscene.cpp.

◆ grEnvShadowState

grMultiTexState* grEnvShadowState

Definition at line 61 of file grscene.cpp.

◆ grEnvShadowStateOnCars

grMultiTexState* grEnvShadowStateOnCars

Definition at line 62 of file grscene.cpp.

◆ grEnvState

grMultiTexState* grEnvState

Definition at line 60 of file grscene.cpp.

◆ grTrack

tTrack* grTrack

Definition at line 57 of file grscene.cpp.

◆ grWrldMaxSize

int grWrldMaxSize

Definition at line 56 of file grscene.cpp.

◆ grWrldX

int grWrldX

Definition at line 53 of file grscene.cpp.

◆ grWrldY

int grWrldY

Definition at line 54 of file grscene.cpp.

◆ grWrldZ

int grWrldZ

Definition at line 55 of file grscene.cpp.

◆ LandAnchor

ssgBranch* LandAnchor

Definition at line 71 of file grscene.cpp.

◆ PitsAnchor

ssgBranch* PitsAnchor

Definition at line 74 of file grscene.cpp.

◆ ShadowAnchor

ssgBranch* ShadowAnchor

Definition at line 73 of file grscene.cpp.

◆ SkidAnchor

ssgBranch* SkidAnchor

Definition at line 76 of file grscene.cpp.

◆ SmokeAnchor

ssgBranch* SmokeAnchor

Definition at line 75 of file grscene.cpp.

◆ SunAnchor

ssgBranch* SunAnchor

Definition at line 70 of file grscene.cpp.

◆ ThePits

ssgBranch* ThePits

Definition at line 79 of file grscene.cpp.

◆ TheScene

ssgRoot* TheScene

Definition at line 66 of file grscene.cpp.