torcs - 1.2.2

src/modules/graphic/ssggraph.sav/grsmoke.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  ssgVtxTableSmoke
struct  tgrSmoke_st
struct  tgrSmokeManager

Defines

#define SMOKE_INIT_SIZE   0.2f
#define MAX_SMOKE_LIFE   120
#define MAX_SMOKE_NUMBER   300
#define DELTAT   0.1f
#define VZ_INIT   0.05f
#define VY_INIT   0.1f
#define VX_INIT   0.1f
#define V_EXPANSION   0.4f
#define SMOKE_TYPE_TIRE   1
#define SMOKE_TYPE_ENGINE   2

Typedefs

typedef tgrSmoke_st tgrSmoke

Functions

void grInitSmoke (int index)
void grAddSmoke (tCarElt *car, double t)
void grUpdateSmoke (double t)
 update if necessary the smoke for a car

void grShutdownSmoke ()
 remove the smoke information for a car


Variables

int grSmokeMaxNumber
double grSmokeDeltaT
double grSmokeLife


Define Documentation

#define DELTAT   0.1f
 

#define MAX_SMOKE_LIFE   120
 

#define MAX_SMOKE_NUMBER   300
 

#define SMOKE_INIT_SIZE   0.2f
 

#define SMOKE_TYPE_ENGINE   2
 

#define SMOKE_TYPE_TIRE   1
 

#define V_EXPANSION   0.4f
 

#define VX_INIT   0.1f
 

#define VY_INIT   0.1f
 

#define VZ_INIT   0.05f
 


Typedef Documentation

typedef struct tgrSmoke_st tgrSmoke
 


Function Documentation

void grAddSmoke tCarElt car,
double  t
 

Here is the call graph for this function:

void grInitSmoke int  index  ) 
 

Here is the call graph for this function:

void grShutdownSmoke  ) 
 

remove the smoke information for a car

void grUpdateSmoke double  t  ) 
 

update if necessary the smoke for a car


Variable Documentation

double grSmokeDeltaT
 

double grSmokeLife
 

int grSmokeMaxNumber
 


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