torcs - 1.2.2

tPrivCar Struct Reference

#include <car.h>

Collaboration diagram for tPrivCar:

Collaboration graph
[legend]
List of all members.

Detailed Description

Data known only by the driver.


Public Attributes

void * paramsHandle
 accessible parameters for modules

void * carHandle
 parameters for car caracteristics

int driverIndex
 index when multiple drivers are in the same dll

char modName [MAX_NAME_LEN]
 dll name

tWheelState wheel [4]
tPosd corner [4]
 car's corners position

int gear
 current gear

tdble fuel
 remaining fuel (liters)

tdble enginerpm
tdble enginerpmRedLine
tdble enginerpmMax
tdble enginerpmMaxTq
tdble gearRatio [MAX_GEARS]
 including final drive

int gearNb
 incl reverse and neutral

int gearOffset
 gearRatio[gear + gearOffset] is the ratio for gear

tdble skid [4]
 skid intensity

tdble reaction [4]
int collision
t3Dd normal
t3Dd collpos
int dammage
int debug


Member Data Documentation

void* tPrivCar::carHandle
 

parameters for car caracteristics

int tPrivCar::collision
 

t3Dd tPrivCar::collpos
 

tPosd tPrivCar::corner[4]
 

car's corners position

int tPrivCar::dammage
 

int tPrivCar::debug
 

int tPrivCar::driverIndex
 

index when multiple drivers are in the same dll

tdble tPrivCar::enginerpm
 

tdble tPrivCar::enginerpmMax
 

tdble tPrivCar::enginerpmMaxTq
 

tdble tPrivCar::enginerpmRedLine
 

tdble tPrivCar::fuel
 

remaining fuel (liters)

int tPrivCar::gear
 

current gear

int tPrivCar::gearNb
 

incl reverse and neutral

int tPrivCar::gearOffset
 

gearRatio[gear + gearOffset] is the ratio for gear

tdble tPrivCar::gearRatio[MAX_GEARS]
 

including final drive

char tPrivCar::modName[MAX_NAME_LEN]
 

dll name

t3Dd tPrivCar::normal
 

void* tPrivCar::paramsHandle
 

accessible parameters for modules

tdble tPrivCar::reaction[4]
 

tdble tPrivCar::skid[4]
 

skid intensity

tWheelState tPrivCar::wheel[4]
 


The documentation for this struct was generated from the following file:
Generated at Thu Feb 26 21:54:15 2004 for torcs by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-1999
TORCS © Eric Espié 1999, 2002.