![]() |
torcs - 1.2.2 | ![]() |
#include <car.h>
Collaboration diagram for tInitCar:
Public Attributes | |
char | name [MAX_NAME_LEN] |
Driver's name. | |
char | carName [MAX_NAME_LEN] |
Car object name. | |
char | category [MAX_NAME_LEN] |
Car's category. | |
int | raceNumber |
Car's race number. | |
int | startRank |
Car's starting position. | |
int | driverType |
Driver type. | |
int | skillLevel |
Driver's skill level (0=rookie -> 3=pro). | |
tdble | iconColor [3] |
Car color in leaders board. | |
t3Dd | dimension |
Car's mesures. | |
t3Dd | drvPos |
Driver's position. | |
t3Dd | bonnetPos |
Bonnet's position. | |
tdble | tank |
Fuel tank capa. | |
tdble | steerLock |
Steer lock angle. | |
t3Dd | statGC |
Static pos of GC (should be the origin of car axis). | |
tWheelSpec | wheel [4] |
Wheels specifications. | |
tVisualAttributes | visualAttr |
Visual attributes. |
|
Bonnet's position.
|
|
Car object name.
|
|
Car's category.
|
|
Car's mesures.
|
|
Driver type.
|
|
Driver's position.
|
|
Car color in leaders board.
|
|
Driver's name.
|
|
Car's race number.
|
|
Driver's skill level (0=rookie -> 3=pro).
|
|
Car's starting position.
|
|
Static pos of GC (should be the origin of car axis).
|
|
Steer lock angle.
|
|
Fuel tank capa.
|
|
Visual attributes.
|
|
Wheels specifications.
|