TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
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 grSetRenderOrigin (double x, double y)
void grShutdownScene (void)
void grCustomizePits (void)
void grDrawBackground (class cGrCamera *, class cGrBackgroundCam *bgCam)

Variables

int grWrldX
int grWrldY
int grWrldZ
int grWrldMaxSize
sgVec3 grRenderOrigin
tTrack * grTrack
ssgRoot * TheScene
ssgTransform * SunAnchor
ssgBranch * LandAnchor
ssgBranch * CarsAnchor
ssgBranch * ShadowAnchor
ssgBranch * PitsAnchor
ssgTransform * SmokeAnchor
ssgBranch * SkidAnchor
ssgBranch * CarlightAnchor
ssgBranch * ThePits
ssgStateSelector * grEnvSelector
grMultiTexState * grEnvState
grMultiTexState * grEnvShadowState
grMultiTexState * grEnvShadowStateOnCars

Function Documentation

◆ grCustomizePits()

void grCustomizePits ( void )
extern

Definition at line 642 of file grscene.cpp.

Here is the call graph for this function:

◆ grDrawBackground()

void grDrawBackground ( class cGrCamera * cam,
class cGrBackgroundCam * bgCam )
extern

Definition at line 629 of file grscene.cpp.

Here is the call graph for this function:

◆ grDrawScene()

void grDrawScene ( void )
extern

Definition at line 249 of file grscene.cpp.

◆ grInitScene()

int grInitScene ( void )
extern

Definition at line 95 of file grscene.cpp.

Here is the call graph for this function:

◆ grLoadScene()

int grLoadScene ( tTrack * track)
extern

Definition at line 170 of file grscene.cpp.

Here is the call graph for this function:

◆ grSetRenderOrigin()

void grSetRenderOrigin ( double x,
double y )
extern

Definition at line 257 of file grscene.cpp.

◆ grShutdownScene()

void grShutdownScene ( void )
extern

Definition at line 276 of file grscene.cpp.

Variable Documentation

◆ CarlightAnchor

ssgBranch* CarlightAnchor
extern

Definition at line 79 of file grscene.cpp.

◆ CarsAnchor

ssgBranch* CarsAnchor
extern

Definition at line 74 of file grscene.cpp.

◆ grEnvSelector

ssgStateSelector* grEnvSelector
extern

Definition at line 60 of file grscene.cpp.

◆ grEnvShadowState

grMultiTexState* grEnvShadowState
extern

Definition at line 62 of file grscene.cpp.

◆ grEnvShadowStateOnCars

grMultiTexState* grEnvShadowStateOnCars
extern

Definition at line 63 of file grscene.cpp.

◆ grEnvState

grMultiTexState* grEnvState
extern

Definition at line 61 of file grscene.cpp.

◆ grRenderOrigin

sgVec3 grRenderOrigin
extern

Definition at line 57 of file grscene.cpp.

◆ grTrack

tTrack* grTrack
extern

Definition at line 58 of file grscene.cpp.

◆ grWrldMaxSize

int grWrldMaxSize
extern

Definition at line 56 of file grscene.cpp.

◆ grWrldX

int grWrldX
extern

Definition at line 53 of file grscene.cpp.

◆ grWrldY

int grWrldY
extern

Definition at line 54 of file grscene.cpp.

◆ grWrldZ

int grWrldZ
extern

Definition at line 55 of file grscene.cpp.

◆ LandAnchor

ssgBranch* LandAnchor
extern

Definition at line 73 of file grscene.cpp.

◆ PitsAnchor

ssgBranch* PitsAnchor
extern

Definition at line 76 of file grscene.cpp.

◆ ShadowAnchor

ssgBranch* ShadowAnchor
extern

Definition at line 75 of file grscene.cpp.

◆ SkidAnchor

ssgBranch* SkidAnchor
extern

Definition at line 78 of file grscene.cpp.

◆ SmokeAnchor

ssgTransform* SmokeAnchor
extern

Definition at line 77 of file grscene.cpp.

◆ SunAnchor

ssgTransform* SunAnchor
extern

Definition at line 72 of file grscene.cpp.

◆ ThePits

ssgBranch* ThePits
extern

Definition at line 81 of file grscene.cpp.

◆ TheScene

ssgRoot* TheScene
extern

Definition at line 67 of file grscene.cpp.