torcs - 1.2.2

tPublicCar Struct Reference

#include <car.h>

Collaboration diagram for tPublicCar:

Collaboration graph
[legend]
List of all members.

Detailed Description

Public info on the cars.


Public Attributes

tDynPt DynGC
 GC data (car axis).

tDynPt DynGCg
 GC data (world axis).

sgMat4 posMat
 position matrix

tTrkLocPos trkPos
 current track position

int state
 state of the car

tPosd corner [4]


Member Data Documentation

tPosd tPublicCar::corner[4]
 

tDynPt tPublicCar::DynGC
 

GC data (car axis).

tDynPt tPublicCar::DynGCg
 

GC data (world axis).

sgMat4 tPublicCar::posMat
 

position matrix

int tPublicCar::state
 

state of the car


The states are:

  • RM_CAR_STATE_FINISH
  • RM_CAR_STATE_PIT
  • RM_CAR_STATE_DNF
  • RM_CAR_STATE_PULLUP
  • RM_CAR_STATE_PULLSIDE
  • RM_CAR_STATE_PULLDN
  • RM_CAR_STATE_OUT
  • RM_CAR_STATE_NO_SIMU
  • RM_CAR_STATE_BROKEN
  • RM_CAR_STATE_OUTOFGAS

tTrkLocPos tPublicCar::trkPos
 

current track position

The segment is the track segment (not sides)


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.