torcs - 1.2.2

src/modules/graphic/ssggraph.sav/grmain.cpp File Reference

#include <time.h>
#include <stdlib.h>
#include <stdio.h>
#include <GL/glut.h>
#include <plib/ssg.h>
#include <tgfclient.h>
#include <graphic.h>
#include "grmain.h"
#include "grshadow.h"
#include "grskidmarks.h"
#include "grsmoke.h"
#include "grcar.h"
#include "grscreen.h"
#include "grcam.h"
#include "grscene.h"
#include "grsound.h"
#include "grboard.h"
#include "grutil.h"
#include "grtrackmap.h"
#include "grcarlight.h"

Include dependency graph for grmain.cpp:

Include dependency graph

Functions

bool InitMultiTex (void)
int initView (int x, int y, int width, int height, int, void *screen)
int refresh (tSituation *s)
int initCars (tSituation *s)
void shutdownCars (void)
int initTrack (tTrack *track)
void shutdownTrack (void)

Variables

int maxTextureUnits = 0
float grFps
double grCurTime
double grDeltaTime
int segIndice = 0
tdble grMaxDammage = 10000.0
int grNbCars = 0
void * grHandle = NULL
void * grTrackHandle = NULL
int grWinx
int grWiny
int grWinw
int grWinh
tgrCarInfogrCarInfo
ssgContext grContext
cGrScreengrScreens [GR_NB_MAX_SCREEN]
int grNbScreen = 1
tdble grLodFactorValue = 1.0

Function Documentation

int initCars tSituation s  ) 
 

Here is the call graph for this function:

bool InitMultiTex void   ) 
 

Here is the call graph for this function:

int initTrack tTrack track  ) 
 

Here is the call graph for this function:

int initView int  x,
int  y,
int  width,
int  height,
int  ,
void *  screen
 

Here is the call graph for this function:

int refresh tSituation s  ) 
 

Here is the call graph for this function:

void shutdownCars void   ) 
 

Here is the call graph for this function:

void shutdownTrack void   ) 
 

Here is the call graph for this function:


Variable Documentation

tgrCarInfo* grCarInfo
 

ssgContext grContext
 

double grCurTime
 

double grDeltaTime
 

float grFps
 

void* grHandle = NULL
 

tdble grLodFactorValue = 1.0
 

tdble grMaxDammage = 10000.0
 

int grNbCars = 0
 

int grNbScreen = 1
 

class cGrScreen* grScreens[GR_NB_MAX_SCREEN]
 

void* grTrackHandle = NULL
 

int grWinh
 

int grWinw
 

int grWinx
 

int grWiny
 

int maxTextureUnits = 0
 

int segIndice = 0
 


Generated at Thu Feb 26 21:53:17 2004 for torcs by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-1999
TORCS © Eric Espié 1999, 2002.