![]() |
torcs - 1.2.2 | ![]() |
#include <car.h>
Collaboration diagram for tPrivCar:
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 |
|
parameters for car caracteristics
|
|
|
|
|
|
car's corners position
|
|
|
|
|
|
index when multiple drivers are in the same dll
|
|
|
|
|
|
|
|
|
|
remaining fuel (liters)
|
|
current gear
|
|
incl reverse and neutral
|
|
gearRatio[gear + gearOffset] is the ratio for gear
|
|
including final drive
|
|
dll name
|
|
|
|
accessible parameters for modules
|
|
|
|
skid intensity
|
|
|