TORCS  1.3.9
The Open Racing Car Simulator
car.h File Reference

This is the car structure. More...

#include <track.h>
#include <plib/sg.h>
Include dependency graph for car.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tWheelSpec
 Wheels Specifications. More...
 
struct  tVisualAttributes
 Static visual attributes. More...
 
struct  tInitCar
 Static Public info. More...
 
struct  CarPenalty
 One penalty. More...
 
struct  tCarRaceInfo
 Race Administrative info. More...
 
struct  tPublicCar
 Public info on the cars. More...
 
struct  tWheelState
 Dynamic wheel information. More...
 
struct  tCollisionState_
 
struct  tPrivCar
 Data known only by the driver. More...
 
struct  tCarCtrl
 Info returned by driver during the race. More...
 
struct  tCarPitSetupValue
 
struct  tCarPitSetup
 
struct  tCarPitCmd
 Command issued by the car during pit stop. More...
 
struct  CarElt
 Car structure (tCarElt). More...
 

Macros

#define CAR_IDENT   0
 
#define MAX_NAME_LEN   32
 
#define FRNT_RGT   0
 front right More...
 
#define FRNT_LFT   1
 front left More...
 
#define REAR_RGT   2
 rear right More...
 
#define REAR_LFT   3
 rear left More...
 
#define FRNT   0
 front More...
 
#define REAR   1
 rear More...
 
#define RIGHT   0
 right More...
 
#define LEFT   1
 left More...
 
#define _rimRadius(i)   info.wheel[i].rimRadius
 short cut to tWheelSpec::rimRadius More...
 
#define _tireHeight(i)   info.wheel[i].tireHeight
 short cut to tWheelSpec::tireHeight More...
 
#define _tireWidth(i)   info.wheel[i].tireWidth
 short cut to tWheelSpec::tireWidth More...
 
#define _brakeDiskRadius(i)   info.wheel[i].brakeDiskRadius
 short cut to tWheelSpec::brakeDiskRadius More...
 
#define _wheelRadius(i)   info.wheel[i].wheelRadius
 short cut to tWheelSpec::wheelRadius More...
 
#define _name   info.name
 short cut to tInitCar::name More...
 
#define _teamname   info.teamname
 short cut to tInitCar::teamname More...
 
#define _carName   info.carName
 short cut to tInitCar::carName More...
 
#define _category   info.category
 short cut to tInitCar::category More...
 
#define _driverType   info.driverType
 short cut to tInitCar::driverType More...
 
#define _skillLevel   info.skillLevel
 short cut to tInitCar::skillLevel More...
 
#define _raceNumber   info.raceNumber
 short cut to tInitCar::raceNumber More...
 
#define _startRank   info.startRank
 short cut to tInitCar::startRank More...
 
#define _dimension   info.dimension
 short cut to tInitCar::dimension More...
 
#define _dimension_x   info.dimension.x
 short cut to tInitCar::dimension.x More...
 
#define _dimension_y   info.dimension.y
 short cut to tInitCar::dimension.y More...
 
#define _dimension_z   info.dimension.z
 short cut to tInitCar::dimension.z More...
 
#define _drvPos_x   info.drvPos.x
 short cut to tInitCar::drvPos.x More...
 
#define _drvPos_y   info.drvPos.y
 short cut to tInitCar::drvPos.y More...
 
#define _drvPos_z   info.drvPos.z
 short cut to tInitCar::drvPos.z More...
 
#define _bonnetPos_x   info.bonnetPos.x
 short cut to tInitCar::bonnetPos.x More...
 
#define _bonnetPos_y   info.bonnetPos.y
 short cut to tInitCar::bonnetPos.y More...
 
#define _bonnetPos_z   info.bonnetPos.z
 short cut to tInitCar::bonnetPos.z More...
 
#define _statGC   info.statGC
 short cut to tInitCar::statGC More...
 
#define _statGC_x   info.statGC.x
 short cut to tInitCar::statGC.x More...
 
#define _statGC_y   info.statGC.y
 short cut to tInitCar::statGC.y More...
 
#define _statGC_z   info.statGC.z
 short cut to tInitCar::statGC.z More...
 
#define _iconColor   info.iconColor
 short cut to tInitCar::iconColor More...
 
#define _tank   info.tank
 short cut to tInitCar::tank More...
 
#define _steerLock   info.steerLock
 short cut to tInitCar::steerLock More...
 
#define _exhaustNb   info.visualAttr.exhaustNb
 short cut to tVisualAttributes::exhaustNb More...
 
#define _exhaustPos   info.visualAttr.exhaustPos
 short cut to tVisualAttributes::exhaustPos More...
 
#define _exhaustPower   info.visualAttr.exhaustPower
 short cut to tVisualAttributes::exhaustPower More...
 
#define RM_DRV_HUMAN   1
 
#define RM_DRV_ROBOT   2
 
#define RM_PENALTY_DRIVETHROUGH   1
 
#define RM_PENALTY_STOPANDGO   2
 
#define _bestLapTime   race.bestLapTime
 
#define _commitBestLapTime   race.commitBestLapTime
 
#define _deltaBestLapTime   race.deltaBestLapTime
 
#define _curLapTime   race.curLapTime
 
#define _curTime   race.curTime
 
#define _lastLapTime   race.lastLapTime
 
#define _topSpeed   race.topSpeed
 
#define _currentMinSpeedForLap   race.currentMinSpeedForLap
 
#define _laps   race.laps
 
#define _nbPitStops   race.nbPitStops
 
#define _remainingLaps   race.remainingLaps
 
#define _pos   race.pos
 
#define _timeBehindLeader   race.timeBehindLeader
 
#define _lapsBehindLeader   race.lapsBehindLeader
 
#define _timeBehindPrev   race.timeBehindPrev
 
#define _timeBeforeNext   race.timeBeforeNext
 
#define _distRaced   race.distRaced
 
#define _distFromStartLine   race.distFromStartLine
 
#define _pit   race.pit
 
#define _scheduledEventTime   race.scheduledEventTime
 
#define _event   race.event
 
#define _penaltyList   race.penaltyList
 
#define _penaltyTime   race.penaltyTime
 
#define RM_CAR_STATE_FINISH   0x00000100
 Car having passed the finish line. More...
 
#define RM_CAR_STATE_PIT   0x00000001
 Car currently stopped in pits. More...
 
#define RM_CAR_STATE_DNF   0x00000002
 Car did not finish. More...
 
#define RM_CAR_STATE_PULLUP   0x00000004
 Car pulled out in the air. More...
 
#define RM_CAR_STATE_PULLSIDE   0x00000008
 Car pulled out in the air. More...
 
#define RM_CAR_STATE_PULLDN   0x00000010
 Car pulled out in the air. More...
 
#define RM_CAR_STATE_OUT   (RM_CAR_STATE_DNF | RM_CAR_STATE_FINISH)
 Car out of race. More...
 
#define RM_CAR_STATE_NO_SIMU   0x000000FF
 Do not simulate the car. More...
 
#define RM_CAR_STATE_BROKEN   0x00000200
 Engine no more working. More...
 
#define RM_CAR_STATE_OUTOFGAS   0x00000400
 Out of Gas. More...
 
#define RM_CAR_STATE_ELIMINATED   0x00000800
 Eliminated due to rules infringement. More...
 
#define RM_CAR_STATE_SIMU_NO_MOVE   0x00010000
 Simulation without car move (i.e. More...
 
#define _DynGC   pub.DynGC
 
#define _pos_X   pub.DynGC.pos.x
 
#define _pos_Y   pub.DynGC.pos.y
 
#define _pos_Z   pub.DynGC.pos.z
 
#define _roll   pub.DynGC.pos.ax
 
#define _pitch   pub.DynGC.pos.ay
 
#define _yaw   pub.DynGC.pos.az
 
#define _yaw_rate   pub.DynGC.vel.az
 
#define _speed_x   pub.DynGC.vel.x
 
#define _speed_y   pub.DynGC.vel.y
 
#define _speed_z   pub.DynGC.vel.z
 
#define _accel_x   pub.DynGC.acc.x
 
#define _accel_y   pub.DynGC.acc.y
 
#define _accel_z   pub.DynGC.acc.z
 
#define _state   pub.state
 
#define _trkPos   pub.trkPos
 
#define _speed_X   pub.DynGCg.vel.x
 
#define _speed_Y   pub.DynGCg.vel.y
 
#define _corner_x(i)   pub.corner[i].ax
 
#define _corner_y(i)   pub.corner[i].ay
 
#define _posMat   pub.posMat
 
#define _ride(i)   priv.wheel[i].relPos.z
 
#define _brakeTemp(i)   priv.wheel[i].brakeTemp
 
#define _wheelSpinVel(i)   priv.wheel[i].spinVel
 
#define _wheelSeg(i)   priv.wheel[i].seg
 
#define _wheelSlipSide(i)   priv.wheel[i].slipSide
 
#define _wheelSlipAccel(i)   priv.wheel[i].slipAccel
 
#define _wheelFx(i)   priv.wheel[i].Fx
 
#define _wheelFy(i)   priv.wheel[i].Fy
 
#define _wheelFz(i)   priv.wheel[i].Fz
 
#define MAX_GEARS   10 /* including reverse and neutral */
 
#define _driverIndex   priv.driverIndex
 
#define _paramsHandle   priv.paramsHandle
 
#define _carHandle   priv.carHandle
 
#define _modName   priv.modName
 
#define _enginerpm   priv.enginerpm
 
#define _enginerpmRedLine   priv.enginerpmRedLine
 
#define _enginerpmMax   priv.enginerpmMax
 
#define _enginerpmMaxTq   priv.enginerpmMaxTq
 
#define _enginerpmMaxPw   priv.enginerpmMaxPw
 
#define _engineMaxTq   priv.engineMaxTq
 
#define _engineMaxPw   priv.engineMaxPw
 
#define _gearRatio   priv.gearRatio
 
#define _gearNb   priv.gearNb
 
#define _gearOffset   priv.gearOffset
 
#define _fuel   priv.fuel
 
#define _gear   priv.gear
 
#define _debug   priv.debug
 
#define _skid   priv.skid
 
#define _reaction   priv.reaction
 
#define _dammage   priv.dammage
 
#define RM_CMD_NONE   0
 No race command. More...
 
#define RM_CMD_PIT_ASKED   1
 Race command: Pit asked. More...
 
#define RM_MSG_LEN   31
 
#define RM_LIGHT_HEAD1   0x00000001
 head light 1 More...
 
#define RM_LIGHT_HEAD2   0x00000002
 head light 2 More...
 
#define _steerCmd   ctrl.steer
 
#define _accelCmd   ctrl.accelCmd
 
#define _brakeCmd   ctrl.brakeCmd
 
#define _clutchCmd   ctrl.clutchCmd
 
#define _gearCmd   ctrl.gear
 
#define _raceCmd   ctrl.raceCmd
 
#define _msgCmd   ctrl.msg
 
#define _msgColorCmd   ctrl.msgColor
 
#define _lightCmd   ctrl.lightCmd
 
#define RM_PIT_REPAIR   0
 
#define RM_PIT_STOPANDGO   1
 
#define _pitFuel   pitcmd.fuel
 
#define _pitRepair   pitcmd.repair
 
#define _pitStopType   pitcmd.stopType
 
#define SECT_SIMU_SETTINGS   "Simulation Options"
 
#define SECT_CAR   "Car"
 
#define SECT_FRNT   "Front"
 
#define SECT_FRNTWING   "Front Wing"
 
#define SECT_FRNTAXLE   "Front Axle"
 
#define SECT_FRNTARB   "Front Anti-Roll Bar"
 
#define SECT_FRNTRGTWHEEL   "Front Right Wheel"
 
#define SECT_FRNTLFTWHEEL   "Front Left Wheel"
 
#define SECT_FRNTRGTSUSP   "Front Right Suspension"
 
#define SECT_FRNTLFTSUSP   "Front Left Suspension"
 
#define SECT_FRNTRGTBRAKE   "Front Right Brake"
 
#define SECT_FRNTLFTBRAKE   "Front Left Brake"
 
#define SECT_FRNTDIFFERENTIAL   "Front Differential"
 
#define SECT_REAR   "Rear"
 
#define SECT_REARWING   "Rear Wing"
 
#define SECT_REARAXLE   "Rear Axle"
 
#define SECT_REARARB   "Rear Anti-Roll Bar"
 
#define SECT_REARRGTWHEEL   "Rear Right Wheel"
 
#define SECT_REARLFTWHEEL   "Rear Left Wheel"
 
#define SECT_REARRGTSUSP   "Rear Right Suspension"
 
#define SECT_REARLFTSUSP   "Rear Left Suspension"
 
#define SECT_REARRGTBRAKE   "Rear Right Brake"
 
#define SECT_REARLFTBRAKE   "Rear Left Brake"
 
#define SECT_REARDIFFERENTIAL   "Rear Differential"
 
#define SECT_CENTRALDIFFERENTIAL   "Central Differential"
 
#define SECT_STEER   "Steer"
 
#define SECT_BRKSYST   "Brake System"
 
#define SECT_AERODYNAMICS   "Aerodynamics"
 
#define SECT_ENGINE   "Engine"
 
#define SECT_CLUTCH   "Clutch"
 
#define SECT_DRIVETRAIN   "Drivetrain"
 
#define SECT_GEARBOX   "Gearbox"
 
#define SECT_DRIVER   "Driver"
 
#define SECT_BONNET   "Bonnet"
 
#define SECT_GROBJECTS   "Graphic Objects"
 
#define SECT_EXHAUST   "Exhaust"
 
#define SECT_LIGHT   "Light"
 
#define PRM_CATEGORY   "category"
 
#define PRM_LEN   "body length"
 
#define PRM_WIDTH   "body width"
 
#define PRM_OVERALLLEN   "overall length"
 
#define PRM_OVERALLWIDTH   "overall width"
 
#define PRM_HEIGHT   "body height"
 
#define PRM_MASS   "mass"
 
#define PRM_FRWEIGHTREP   "front-rear weight repartition"
 
#define PRM_FRLWEIGHTREP   "front right-left weight repartition"
 
#define PRM_RRLWEIGHTREP   "rear right-left weight repartition"
 
#define PRM_GCHEIGHT   "GC height"
 
#define PRM_TANK   "fuel tank"
 
#define PRM_FUEL   "initial fuel"
 
#define PRM_CENTR   "mass repartition coefficient"
 
#define PRM_INERTIA   "inertia"
 
#define PRM_EFFICIENCY   "efficiency"
 
#define PRM_TYPE   "type"
 
#define PRM_SIZE   "size"
 
#define PRM_MU   "mu"
 
#define PRM_RIMDIAM   "rim diameter"
 
#define PRM_TIREWIDTH   "tire width"
 
#define PRM_TIRERATIO   "tire height-width ratio"
 
#define PRM_RIDEHEIGHT   "ride height"
 
#define PRM_TOE   "toe"
 
#define PRM_CAMBER   "camber"
 
#define PRM_CASTER   "caster"
 
#define PRM_CA   "stiffness"
 
#define PRM_RFACTOR   "dynamic friction"
 
#define PRM_EFACTOR   "elasticity factor"
 
#define PRM_PRESSURE   "pressure"
 
#define PRM_LOADFMAX   "load factor max"
 
#define PRM_LOADFMIN   "load factor min"
 
#define PRM_OPLOAD   "operating load"
 
#define PRM_TREADTHICKNESS   "tread thickness"
 
#define PRM_RIMMASS   "rim mass"
 
#define PRM_HYSTERESIS   "hysteresis"
 
#define PRM_IDEALTEMP   "ideal temperature"
 
#define PRM_WEAR   "wear"
 
#define PRM_SPR   "spring"
 
#define PRM_SUSPCOURSE   "suspension course"
 
#define PRM_BELLCRANK   "bellcrank"
 
#define PRM_PACKERS   "packers"
 
#define PRM_SLOWBUMP   "slow bump"
 
#define PRM_SLOWREBOUND   "slow rebound"
 
#define PRM_FASTBUMP   "fast bump"
 
#define PRM_FASTREBOUND   "fast rebound"
 
#define PRM_BUMPTHRESHOLD   "fast bump threshold"
 
#define PRM_REBOUNDTHRESHOLD   "fast rebound threshold"
 
#define PRM_XPOS   "xpos"
 
#define PRM_YPOS   "ypos"
 
#define PRM_ZPOS   "zpos"
 
#define PRM_STEERLOCK   "steer lock"
 
#define PRM_STEERSPD   "max steer speed"
 
#define PRM_BRKDIAM   "disk diameter"
 
#define PRM_BRKAREA   "piston area"
 
#define PRM_BRKREP   "front-rear brake repartition"
 
#define PRM_BRKPRESS   "max pressure"
 
#define PRM_BRKREPCMD_MAXCLICKS   "brake repartition max clicks"
 
#define PRM_BRKREPCMD_CLICKVALUE   "brake repartition offset per click"
 
#define PRM_CX   "Cx"
 
#define PRM_FCL   "front Clift"
 
#define PRM_RCL   "rear Clift"
 
#define PRM_FRNTAREA   "front area"
 
#define PRM_WINGAREA   "area"
 
#define PRM_WINGANGLE   "angle"
 
#define PRM_REVSLIM   "revs limiter"
 
#define PRM_REVSMAX   "revs maxi"
 
#define PRM_TICKOVER   "tickover"
 
#define PRM_RPM   "rpm"
 
#define PRM_TQ   "Tq"
 
#define ARR_DATAPTS   "data points"
 
#define PRM_FUELCONS   "fuel cons factor"
 
#define PRM_ENGBRKCOEFF   "brake coefficient"
 
#define PRM_POWER   "power"
 
#define PRM_TURBO   "turbo"
 
#define PRM_TURBO_RPM   "turbo rpm"
 
#define PRM_TURBO_FACTOR   "turbo factor"
 
#define PRM_TURBO_LAG   "turbo lag"
 
#define PRM_RATIO   "ratio"
 
#define PRM_BIAS   "bias"
 
#define ARR_GEARS   "gears"
 
#define PRM_SHIFTTIME   "shift time"
 
#define PRM_ROLLCENTER   "roll center height"
 
#define LST_RANGES   "Ranges"
 
#define PRM_THRESHOLD   "threshold"
 
#define PRM_CAR   "car"
 
#define PRM_WHEELSON   "wheels"
 
#define PRM_ENV   "env"
 
#define PRM_BONNET   "bonnet"
 
#define PRM_WHEEL_TEXTURE   "wheel texture"
 
#define PRM_SHADOW_TEXTURE   "shadow texture"
 
#define PRM_MIN_TQ_BIAS   "min torque bias"
 
#define PRM_MAX_TQ_BIAS   "max torque bias"
 
#define PRM_MAX_SLIP_BIAS   "max slip bias"
 
#define PRM_LOCKING_TQ   "locking input torque"
 
#define PRM_LOCKINGBRAKE_TQ   "locking brake input torque"
 
#define PRM_VISCOSITY_FACTOR   "viscosity factor"
 
#define VAL_DIFF_NONE   "NONE"
 
#define VAL_DIFF_SPOOL   "SPOOL"
 
#define VAL_DIFF_FREE   "FREE"
 
#define VAL_DIFF_LIMITED_SLIP   "LIMITED SLIP"
 
#define VAL_DIFF_VISCOUS_COUPLER   "VISCOUS COUPLER"
 
#define VAL_TRANS_RWD   "RWD"
 
#define VAL_TRANS_FWD   "FWD"
 
#define VAL_TRANS_4WD   "4WD"
 
#define PRM_TACHO_TEX   "tachometer texture"
 
#define PRM_TACHO_XSZ   "tachometer width"
 
#define PRM_TACHO_YSZ   "tachometer height"
 
#define PRM_TACHO_XPOS   "tachometer x pos"
 
#define PRM_TACHO_YPOS   "tachometer y pos"
 
#define PRM_TACHO_NDLXSZ   "tachometer needle width"
 
#define PRM_TACHO_NDLYSZ   "tachometer needle height"
 
#define PRM_TACHO_XCENTER   "tachometer needle x center"
 
#define PRM_TACHO_YCENTER   "tachometer needle y center"
 
#define PRM_TACHO_XDIGITCENTER   "tachometer digit x center"
 
#define PRM_TACHO_YDIGITCENTER   "tachometer digit y center"
 
#define PRM_TACHO_MINVAL   "tachometer min value"
 
#define PRM_TACHO_MAXVAL   "tachometer max value"
 
#define PRM_TACHO_MINANG   "tachometer min angle"
 
#define PRM_TACHO_MAXANG   "tachometer max angle"
 
#define PRM_SPEEDO_TEX   "speedometer texture"
 
#define PRM_SPEEDO_XSZ   "speedometer width"
 
#define PRM_SPEEDO_YSZ   "speedometer height"
 
#define PRM_SPEEDO_XPOS   "speedometer x pos"
 
#define PRM_SPEEDO_YPOS   "speedometer y pos"
 
#define PRM_SPEEDO_NDLXSZ   "speedometer needle width"
 
#define PRM_SPEEDO_NDLYSZ   "speedometer needle height"
 
#define PRM_SPEEDO_XCENTER   "speedometer needle x center"
 
#define PRM_SPEEDO_YCENTER   "speedometer needle y center"
 
#define PRM_SPEEDO_XDIGITCENTER   "speedometer digit x center"
 
#define PRM_SPEEDO_YDIGITCENTER   "speedometer digit y center"
 
#define PRM_SPEEDO_MINVAL   "speedometer min value"
 
#define PRM_SPEEDO_MAXVAL   "speedometer max value"
 
#define PRM_SPEEDO_MINANG   "speedometer min angle"
 
#define PRM_SPEEDO_MAXANG   "speedometer max angle"
 
#define PRM_SPEEDO_DIGITAL   "speedometer digital"
 
#define PRM_WHEEL_3D   "3d wheel basename"
 
#define PRM_WHEEL_3D_DIR   "3d wheel directory"
 
#define VAL_LIGHT_HEAD1   "head1"
 
#define VAL_LIGHT_HEAD2   "head2"
 
#define VAL_LIGHT_BRAKE   "brake"
 
#define VAL_LIGHT_BRAKE2   "brake2"
 
#define VAL_LIGHT_REVERSE   "reverse"
 
#define VAL_LIGHT_REAR   "rear"
 
#define PRM_DAMAGE_TYRES   "damage/tyres"
 
#define PRM_DAMAGE_SUSPENSION   "damage/suspension"
 
#define PRM_DAMAGE_ALIGNMENT   "damage/alignment"
 
#define PRM_DAMAGE_AERO   "damage/aero"
 
#define PRM_MODEL_AEROFLOW   "model/aero/flow"
 
#define PRM_MODEL_AERO_FACTOR   "model/aero/factor"
 
#define PRM_MODEL_TYRE_TEMPERATURE   "model/tyre/temperature"
 
#define SEM_COLLISION   0x01
 
#define SEM_COLLISION_XYSCENE   0x02
 
#define SEM_COLLISION_CAR   0x04
 
#define SEM_COLLISION_Z   0x08
 
#define SEM_COLLISION_Z_CRASH   0x10
 

Typedefs

typedef struct CarPenalty tCarPenalty
 One penalty. More...
 
typedef struct tCollisionState_ tCollisionState
 
typedef struct CarElt tCarElt
 Car structure (tCarElt). More...
 

Functions

 GF_TAILQ_HEAD (CarPenaltyHead, struct CarPenalty)
 

Detailed Description

This is the car structure.

Author
Eric Espie
Note
Short cuts are to be used with the carElt structure.

Definition in file car.h.

Macro Definition Documentation

◆ _accel_x

#define _accel_x   pub.DynGC.acc.x

Definition at line 237 of file car.h.

◆ _accel_y

#define _accel_y   pub.DynGC.acc.y

Definition at line 238 of file car.h.

◆ _accel_z

#define _accel_z   pub.DynGC.acc.z

Definition at line 239 of file car.h.

◆ _accelCmd

#define _accelCmd   ctrl.accelCmd

Definition at line 362 of file car.h.

◆ _bestLapTime

#define _bestLapTime   race.bestLapTime

Definition at line 166 of file car.h.

◆ _bonnetPos_x

#define _bonnetPos_x   info.bonnetPos.x

short cut to tInitCar::bonnetPos.x

Definition at line 108 of file car.h.

◆ _bonnetPos_y

#define _bonnetPos_y   info.bonnetPos.y

short cut to tInitCar::bonnetPos.y

Definition at line 109 of file car.h.

◆ _bonnetPos_z

#define _bonnetPos_z   info.bonnetPos.z

short cut to tInitCar::bonnetPos.z

Definition at line 110 of file car.h.

◆ _brakeCmd

#define _brakeCmd   ctrl.brakeCmd

Definition at line 363 of file car.h.

◆ _brakeDiskRadius

#define _brakeDiskRadius (   i)    info.wheel[i].brakeDiskRadius

short cut to tWheelSpec::brakeDiskRadius

Definition at line 62 of file car.h.

◆ _brakeTemp

#define _brakeTemp (   i)    priv.wheel[i].brakeTemp

Definition at line 267 of file car.h.

◆ _carHandle

#define _carHandle   priv.carHandle

Definition at line 324 of file car.h.

◆ _carName

#define _carName   info.carName

short cut to tInitCar::carName

Definition at line 95 of file car.h.

◆ _category

#define _category   info.category

short cut to tInitCar::category

Definition at line 96 of file car.h.

◆ _clutchCmd

#define _clutchCmd   ctrl.clutchCmd

Definition at line 364 of file car.h.

◆ _commitBestLapTime

#define _commitBestLapTime   race.commitBestLapTime

Definition at line 167 of file car.h.

◆ _corner_x

#define _corner_x (   i)    pub.corner[i].ax

Definition at line 244 of file car.h.

◆ _corner_y

#define _corner_y (   i)    pub.corner[i].ay

Definition at line 245 of file car.h.

◆ _curLapTime

#define _curLapTime   race.curLapTime

Definition at line 169 of file car.h.

◆ _currentMinSpeedForLap

#define _currentMinSpeedForLap   race.currentMinSpeedForLap

Definition at line 173 of file car.h.

◆ _curTime

#define _curTime   race.curTime

Definition at line 170 of file car.h.

◆ _dammage

#define _dammage   priv.dammage

Definition at line 341 of file car.h.

◆ _debug

#define _debug   priv.debug

Definition at line 338 of file car.h.

◆ _deltaBestLapTime

#define _deltaBestLapTime   race.deltaBestLapTime

Definition at line 168 of file car.h.

◆ _dimension

#define _dimension   info.dimension

short cut to tInitCar::dimension

Definition at line 101 of file car.h.

◆ _dimension_x

#define _dimension_x   info.dimension.x

short cut to tInitCar::dimension.x

Definition at line 102 of file car.h.

◆ _dimension_y

#define _dimension_y   info.dimension.y

short cut to tInitCar::dimension.y

Definition at line 103 of file car.h.

◆ _dimension_z

#define _dimension_z   info.dimension.z

short cut to tInitCar::dimension.z

Definition at line 104 of file car.h.

◆ _distFromStartLine

#define _distFromStartLine   race.distFromStartLine

Definition at line 183 of file car.h.

◆ _distRaced

#define _distRaced   race.distRaced

Definition at line 182 of file car.h.

◆ _driverIndex

#define _driverIndex   priv.driverIndex

Definition at line 322 of file car.h.

◆ _driverType

#define _driverType   info.driverType

short cut to tInitCar::driverType

Definition at line 97 of file car.h.

◆ _drvPos_x

#define _drvPos_x   info.drvPos.x

short cut to tInitCar::drvPos.x

Definition at line 105 of file car.h.

◆ _drvPos_y

#define _drvPos_y   info.drvPos.y

short cut to tInitCar::drvPos.y

Definition at line 106 of file car.h.

◆ _drvPos_z

#define _drvPos_z   info.drvPos.z

short cut to tInitCar::drvPos.z

Definition at line 107 of file car.h.

◆ _DynGC

#define _DynGC   pub.DynGC

Definition at line 226 of file car.h.

◆ _engineMaxPw

#define _engineMaxPw   priv.engineMaxPw

Definition at line 332 of file car.h.

◆ _engineMaxTq

#define _engineMaxTq   priv.engineMaxTq

Definition at line 331 of file car.h.

◆ _enginerpm

#define _enginerpm   priv.enginerpm

Definition at line 326 of file car.h.

◆ _enginerpmMax

#define _enginerpmMax   priv.enginerpmMax

Definition at line 328 of file car.h.

◆ _enginerpmMaxPw

#define _enginerpmMaxPw   priv.enginerpmMaxPw

Definition at line 330 of file car.h.

◆ _enginerpmMaxTq

#define _enginerpmMaxTq   priv.enginerpmMaxTq

Definition at line 329 of file car.h.

◆ _enginerpmRedLine

#define _enginerpmRedLine   priv.enginerpmRedLine

Definition at line 327 of file car.h.

◆ _event

#define _event   race.event

Definition at line 186 of file car.h.

◆ _exhaustNb

#define _exhaustNb   info.visualAttr.exhaustNb

short cut to tVisualAttributes::exhaustNb

Definition at line 118 of file car.h.

◆ _exhaustPos

#define _exhaustPos   info.visualAttr.exhaustPos

short cut to tVisualAttributes::exhaustPos

Definition at line 119 of file car.h.

◆ _exhaustPower

#define _exhaustPower   info.visualAttr.exhaustPower

short cut to tVisualAttributes::exhaustPower

Definition at line 120 of file car.h.

◆ _fuel

#define _fuel   priv.fuel

Definition at line 336 of file car.h.

◆ _gear

#define _gear   priv.gear

Definition at line 337 of file car.h.

◆ _gearCmd

#define _gearCmd   ctrl.gear

Definition at line 365 of file car.h.

◆ _gearNb

#define _gearNb   priv.gearNb

Definition at line 334 of file car.h.

◆ _gearOffset

#define _gearOffset   priv.gearOffset

Definition at line 335 of file car.h.

◆ _gearRatio

#define _gearRatio   priv.gearRatio

Definition at line 333 of file car.h.

◆ _iconColor

#define _iconColor   info.iconColor

short cut to tInitCar::iconColor

Definition at line 115 of file car.h.

◆ _laps

#define _laps   race.laps

Definition at line 174 of file car.h.

◆ _lapsBehindLeader

#define _lapsBehindLeader   race.lapsBehindLeader

Definition at line 179 of file car.h.

◆ _lastLapTime

#define _lastLapTime   race.lastLapTime

Definition at line 171 of file car.h.

◆ _lightCmd

#define _lightCmd   ctrl.lightCmd

Definition at line 369 of file car.h.

◆ _modName

#define _modName   priv.modName

Definition at line 325 of file car.h.

◆ _msgCmd

#define _msgCmd   ctrl.msg

Definition at line 367 of file car.h.

◆ _msgColorCmd

#define _msgColorCmd   ctrl.msgColor

Definition at line 368 of file car.h.

◆ _name

#define _name   info.name

short cut to tInitCar::name

Definition at line 93 of file car.h.

◆ _nbPitStops

#define _nbPitStops   race.nbPitStops

Definition at line 175 of file car.h.

◆ _paramsHandle

#define _paramsHandle   priv.paramsHandle

Definition at line 323 of file car.h.

◆ _penaltyList

#define _penaltyList   race.penaltyList

Definition at line 187 of file car.h.

◆ _penaltyTime

#define _penaltyTime   race.penaltyTime

Definition at line 188 of file car.h.

◆ _pit

#define _pit   race.pit

Definition at line 184 of file car.h.

◆ _pitch

#define _pitch   pub.DynGC.pos.ay

Definition at line 231 of file car.h.

◆ _pitFuel

#define _pitFuel   pitcmd.fuel

Definition at line 447 of file car.h.

◆ _pitRepair

#define _pitRepair   pitcmd.repair

Definition at line 448 of file car.h.

◆ _pitStopType

#define _pitStopType   pitcmd.stopType

Definition at line 449 of file car.h.

◆ _pos

#define _pos   race.pos

Definition at line 177 of file car.h.

◆ _pos_X

#define _pos_X   pub.DynGC.pos.x

Definition at line 227 of file car.h.

◆ _pos_Y

#define _pos_Y   pub.DynGC.pos.y

Definition at line 228 of file car.h.

◆ _pos_Z

#define _pos_Z   pub.DynGC.pos.z

Definition at line 229 of file car.h.

◆ _posMat

#define _posMat   pub.posMat

Definition at line 246 of file car.h.

◆ _raceCmd

#define _raceCmd   ctrl.raceCmd

Definition at line 366 of file car.h.

◆ _raceNumber

#define _raceNumber   info.raceNumber

short cut to tInitCar::raceNumber

Definition at line 99 of file car.h.

◆ _reaction

#define _reaction   priv.reaction

Definition at line 340 of file car.h.

◆ _remainingLaps

#define _remainingLaps   race.remainingLaps

Definition at line 176 of file car.h.

◆ _ride

#define _ride (   i)    priv.wheel[i].relPos.z

Definition at line 266 of file car.h.

◆ _rimRadius

#define _rimRadius (   i)    info.wheel[i].rimRadius

short cut to tWheelSpec::rimRadius

Definition at line 59 of file car.h.

◆ _roll

#define _roll   pub.DynGC.pos.ax

Definition at line 230 of file car.h.

◆ _scheduledEventTime

#define _scheduledEventTime   race.scheduledEventTime

Definition at line 185 of file car.h.

◆ _skid

#define _skid   priv.skid

Definition at line 339 of file car.h.

◆ _skillLevel

#define _skillLevel   info.skillLevel

short cut to tInitCar::skillLevel

Definition at line 98 of file car.h.

◆ _speed_x

#define _speed_x   pub.DynGC.vel.x

Definition at line 234 of file car.h.

◆ _speed_X

#define _speed_X   pub.DynGCg.vel.x

Definition at line 242 of file car.h.

◆ _speed_y

#define _speed_y   pub.DynGC.vel.y

Definition at line 235 of file car.h.

◆ _speed_Y

#define _speed_Y   pub.DynGCg.vel.y

Definition at line 243 of file car.h.

◆ _speed_z

#define _speed_z   pub.DynGC.vel.z

Definition at line 236 of file car.h.

◆ _startRank

#define _startRank   info.startRank

short cut to tInitCar::startRank

Definition at line 100 of file car.h.

◆ _state

#define _state   pub.state

Definition at line 240 of file car.h.

◆ _statGC

#define _statGC   info.statGC

short cut to tInitCar::statGC

Definition at line 111 of file car.h.

◆ _statGC_x

#define _statGC_x   info.statGC.x

short cut to tInitCar::statGC.x

Definition at line 112 of file car.h.

◆ _statGC_y

#define _statGC_y   info.statGC.y

short cut to tInitCar::statGC.y

Definition at line 113 of file car.h.

◆ _statGC_z

#define _statGC_z   info.statGC.z

short cut to tInitCar::statGC.z

Definition at line 114 of file car.h.

◆ _steerCmd

#define _steerCmd   ctrl.steer

Definition at line 361 of file car.h.

◆ _steerLock

#define _steerLock   info.steerLock

short cut to tInitCar::steerLock

Definition at line 117 of file car.h.

◆ _tank

#define _tank   info.tank

short cut to tInitCar::tank

Definition at line 116 of file car.h.

◆ _teamname

#define _teamname   info.teamname

short cut to tInitCar::teamname

Definition at line 94 of file car.h.

◆ _timeBeforeNext

#define _timeBeforeNext   race.timeBeforeNext

Definition at line 181 of file car.h.

◆ _timeBehindLeader

#define _timeBehindLeader   race.timeBehindLeader

Definition at line 178 of file car.h.

◆ _timeBehindPrev

#define _timeBehindPrev   race.timeBehindPrev

Definition at line 180 of file car.h.

◆ _tireHeight

#define _tireHeight (   i)    info.wheel[i].tireHeight

short cut to tWheelSpec::tireHeight

Definition at line 60 of file car.h.

◆ _tireWidth

#define _tireWidth (   i)    info.wheel[i].tireWidth

short cut to tWheelSpec::tireWidth

Definition at line 61 of file car.h.

◆ _topSpeed

#define _topSpeed   race.topSpeed

Definition at line 172 of file car.h.

◆ _trkPos

#define _trkPos   pub.trkPos

Definition at line 241 of file car.h.

◆ _wheelFx

#define _wheelFx (   i)    priv.wheel[i].Fx

Definition at line 272 of file car.h.

◆ _wheelFy

#define _wheelFy (   i)    priv.wheel[i].Fy

Definition at line 273 of file car.h.

◆ _wheelFz

#define _wheelFz (   i)    priv.wheel[i].Fz

Definition at line 274 of file car.h.

◆ _wheelRadius

#define _wheelRadius (   i)    info.wheel[i].wheelRadius

short cut to tWheelSpec::wheelRadius

Definition at line 63 of file car.h.

◆ _wheelSeg

#define _wheelSeg (   i)    priv.wheel[i].seg

Definition at line 269 of file car.h.

◆ _wheelSlipAccel

#define _wheelSlipAccel (   i)    priv.wheel[i].slipAccel

Definition at line 271 of file car.h.

◆ _wheelSlipSide

#define _wheelSlipSide (   i)    priv.wheel[i].slipSide

Definition at line 270 of file car.h.

◆ _wheelSpinVel

#define _wheelSpinVel (   i)    priv.wheel[i].spinVel

Definition at line 268 of file car.h.

◆ _yaw

#define _yaw   pub.DynGC.pos.az

Definition at line 232 of file car.h.

◆ _yaw_rate

#define _yaw_rate   pub.DynGC.vel.az

Definition at line 233 of file car.h.

◆ ARR_DATAPTS

#define ARR_DATAPTS   "data points"

Definition at line 591 of file car.h.

◆ ARR_GEARS

#define ARR_GEARS   "gears"

Definition at line 603 of file car.h.

◆ CAR_IDENT

#define CAR_IDENT   0

Definition at line 33 of file car.h.

◆ FRNT

#define FRNT   0

front

Definition at line 42 of file car.h.

◆ FRNT_LFT

#define FRNT_LFT   1

front left

Definition at line 39 of file car.h.

◆ FRNT_RGT

#define FRNT_RGT   0

front right

Definition at line 38 of file car.h.

◆ LEFT

#define LEFT   1

left

Definition at line 45 of file car.h.

◆ LST_RANGES

#define LST_RANGES   "Ranges"

Definition at line 608 of file car.h.

◆ MAX_GEARS

#define MAX_GEARS   10 /* including reverse and neutral */

Definition at line 276 of file car.h.

◆ MAX_NAME_LEN

#define MAX_NAME_LEN   32

Definition at line 35 of file car.h.

◆ PRM_BELLCRANK

#define PRM_BELLCRANK   "bellcrank"

Definition at line 555 of file car.h.

◆ PRM_BIAS

#define PRM_BIAS   "bias"

Definition at line 601 of file car.h.

◆ PRM_BONNET

#define PRM_BONNET   "bonnet"

Definition at line 613 of file car.h.

◆ PRM_BRKAREA

#define PRM_BRKAREA   "piston area"

Definition at line 572 of file car.h.

◆ PRM_BRKDIAM

#define PRM_BRKDIAM   "disk diameter"

Definition at line 571 of file car.h.

◆ PRM_BRKPRESS

#define PRM_BRKPRESS   "max pressure"

Definition at line 574 of file car.h.

◆ PRM_BRKREP

#define PRM_BRKREP   "front-rear brake repartition"

Definition at line 573 of file car.h.

◆ PRM_BRKREPCMD_CLICKVALUE

#define PRM_BRKREPCMD_CLICKVALUE   "brake repartition offset per click"

Definition at line 576 of file car.h.

◆ PRM_BRKREPCMD_MAXCLICKS

#define PRM_BRKREPCMD_MAXCLICKS   "brake repartition max clicks"

Definition at line 575 of file car.h.

◆ PRM_BUMPTHRESHOLD

#define PRM_BUMPTHRESHOLD   "fast bump threshold"

Definition at line 561 of file car.h.

◆ PRM_CA

#define PRM_CA   "stiffness"

Definition at line 539 of file car.h.

◆ PRM_CAMBER

#define PRM_CAMBER   "camber"

Definition at line 537 of file car.h.

◆ PRM_CAR

#define PRM_CAR   "car"

Definition at line 610 of file car.h.

◆ PRM_CASTER

#define PRM_CASTER   "caster"

Definition at line 538 of file car.h.

◆ PRM_CATEGORY

#define PRM_CATEGORY   "category"

Definition at line 511 of file car.h.

◆ PRM_CENTR

#define PRM_CENTR   "mass repartition coefficient"

Definition at line 524 of file car.h.

◆ PRM_CX

#define PRM_CX   "Cx"

Definition at line 578 of file car.h.

◆ PRM_DAMAGE_AERO

#define PRM_DAMAGE_AERO   "damage/aero"

Definition at line 684 of file car.h.

◆ PRM_DAMAGE_ALIGNMENT

#define PRM_DAMAGE_ALIGNMENT   "damage/alignment"

Definition at line 683 of file car.h.

◆ PRM_DAMAGE_SUSPENSION

#define PRM_DAMAGE_SUSPENSION   "damage/suspension"

Definition at line 682 of file car.h.

◆ PRM_DAMAGE_TYRES

#define PRM_DAMAGE_TYRES   "damage/tyres"

Definition at line 681 of file car.h.

◆ PRM_EFACTOR

#define PRM_EFACTOR   "elasticity factor"

Definition at line 541 of file car.h.

◆ PRM_EFFICIENCY

#define PRM_EFFICIENCY   "efficiency"

Definition at line 526 of file car.h.

◆ PRM_ENGBRKCOEFF

#define PRM_ENGBRKCOEFF   "brake coefficient"

Definition at line 593 of file car.h.

◆ PRM_ENV

#define PRM_ENV   "env"

Definition at line 612 of file car.h.

◆ PRM_FASTBUMP

#define PRM_FASTBUMP   "fast bump"

Definition at line 559 of file car.h.

◆ PRM_FASTREBOUND

#define PRM_FASTREBOUND   "fast rebound"

Definition at line 560 of file car.h.

◆ PRM_FCL

#define PRM_FCL   "front Clift"

Definition at line 579 of file car.h.

◆ PRM_FRLWEIGHTREP

#define PRM_FRLWEIGHTREP   "front right-left weight repartition"

Definition at line 519 of file car.h.

◆ PRM_FRNTAREA

#define PRM_FRNTAREA   "front area"

Definition at line 581 of file car.h.

◆ PRM_FRWEIGHTREP

#define PRM_FRWEIGHTREP   "front-rear weight repartition"

Definition at line 518 of file car.h.

◆ PRM_FUEL

#define PRM_FUEL   "initial fuel"

Definition at line 523 of file car.h.

◆ PRM_FUELCONS

#define PRM_FUELCONS   "fuel cons factor"

Definition at line 592 of file car.h.

◆ PRM_GCHEIGHT

#define PRM_GCHEIGHT   "GC height"

Definition at line 521 of file car.h.

◆ PRM_HEIGHT

#define PRM_HEIGHT   "body height"

Definition at line 516 of file car.h.

◆ PRM_HYSTERESIS

#define PRM_HYSTERESIS   "hysteresis"

Definition at line 548 of file car.h.

◆ PRM_IDEALTEMP

#define PRM_IDEALTEMP   "ideal temperature"

Definition at line 549 of file car.h.

◆ PRM_INERTIA

#define PRM_INERTIA   "inertia"

Definition at line 525 of file car.h.

◆ PRM_LEN

#define PRM_LEN   "body length"

Definition at line 512 of file car.h.

◆ PRM_LOADFMAX

#define PRM_LOADFMAX   "load factor max"

Definition at line 543 of file car.h.

◆ PRM_LOADFMIN

#define PRM_LOADFMIN   "load factor min"

Definition at line 544 of file car.h.

◆ PRM_LOCKING_TQ

#define PRM_LOCKING_TQ   "locking input torque"

Definition at line 620 of file car.h.

◆ PRM_LOCKINGBRAKE_TQ

#define PRM_LOCKINGBRAKE_TQ   "locking brake input torque"

Definition at line 621 of file car.h.

◆ PRM_MASS

#define PRM_MASS   "mass"

Definition at line 517 of file car.h.

◆ PRM_MAX_SLIP_BIAS

#define PRM_MAX_SLIP_BIAS   "max slip bias"

Definition at line 619 of file car.h.

◆ PRM_MAX_TQ_BIAS

#define PRM_MAX_TQ_BIAS   "max torque bias"

Definition at line 618 of file car.h.

◆ PRM_MIN_TQ_BIAS

#define PRM_MIN_TQ_BIAS   "min torque bias"

Definition at line 617 of file car.h.

◆ PRM_MODEL_AERO_FACTOR

#define PRM_MODEL_AERO_FACTOR   "model/aero/factor"

Definition at line 686 of file car.h.

◆ PRM_MODEL_AEROFLOW

#define PRM_MODEL_AEROFLOW   "model/aero/flow"

Definition at line 685 of file car.h.

◆ PRM_MODEL_TYRE_TEMPERATURE

#define PRM_MODEL_TYRE_TEMPERATURE   "model/tyre/temperature"

Definition at line 687 of file car.h.

◆ PRM_MU

#define PRM_MU   "mu"

Definition at line 531 of file car.h.

◆ PRM_OPLOAD

#define PRM_OPLOAD   "operating load"

Definition at line 545 of file car.h.

◆ PRM_OVERALLLEN

#define PRM_OVERALLLEN   "overall length"

Definition at line 514 of file car.h.

◆ PRM_OVERALLWIDTH

#define PRM_OVERALLWIDTH   "overall width"

Definition at line 515 of file car.h.

◆ PRM_PACKERS

#define PRM_PACKERS   "packers"

Definition at line 556 of file car.h.

◆ PRM_POWER

#define PRM_POWER   "power"

Definition at line 594 of file car.h.

◆ PRM_PRESSURE

#define PRM_PRESSURE   "pressure"

Definition at line 542 of file car.h.

◆ PRM_RATIO

#define PRM_RATIO   "ratio"

Definition at line 600 of file car.h.

◆ PRM_RCL

#define PRM_RCL   "rear Clift"

Definition at line 580 of file car.h.

◆ PRM_REBOUNDTHRESHOLD

#define PRM_REBOUNDTHRESHOLD   "fast rebound threshold"

Definition at line 562 of file car.h.

◆ PRM_REVSLIM

#define PRM_REVSLIM   "revs limiter"

Definition at line 586 of file car.h.

◆ PRM_REVSMAX

#define PRM_REVSMAX   "revs maxi"

Definition at line 587 of file car.h.

◆ PRM_RFACTOR

#define PRM_RFACTOR   "dynamic friction"

Definition at line 540 of file car.h.

◆ PRM_RIDEHEIGHT

#define PRM_RIDEHEIGHT   "ride height"

Definition at line 535 of file car.h.

◆ PRM_RIMDIAM

#define PRM_RIMDIAM   "rim diameter"

Definition at line 532 of file car.h.

◆ PRM_RIMMASS

#define PRM_RIMMASS   "rim mass"

Definition at line 547 of file car.h.

◆ PRM_ROLLCENTER

#define PRM_ROLLCENTER   "roll center height"

Definition at line 606 of file car.h.

◆ PRM_RPM

#define PRM_RPM   "rpm"

Definition at line 589 of file car.h.

◆ PRM_RRLWEIGHTREP

#define PRM_RRLWEIGHTREP   "rear right-left weight repartition"

Definition at line 520 of file car.h.

◆ PRM_SHADOW_TEXTURE

#define PRM_SHADOW_TEXTURE   "shadow texture"

Definition at line 615 of file car.h.

◆ PRM_SHIFTTIME

#define PRM_SHIFTTIME   "shift time"

Definition at line 604 of file car.h.

◆ PRM_SIZE

#define PRM_SIZE   "size"

Definition at line 528 of file car.h.

◆ PRM_SLOWBUMP

#define PRM_SLOWBUMP   "slow bump"

Definition at line 557 of file car.h.

◆ PRM_SLOWREBOUND

#define PRM_SLOWREBOUND   "slow rebound"

Definition at line 558 of file car.h.

◆ PRM_SPEEDO_DIGITAL

#define PRM_SPEEDO_DIGITAL   "speedometer digital"

Definition at line 668 of file car.h.

◆ PRM_SPEEDO_MAXANG

#define PRM_SPEEDO_MAXANG   "speedometer max angle"

Definition at line 667 of file car.h.

◆ PRM_SPEEDO_MAXVAL

#define PRM_SPEEDO_MAXVAL   "speedometer max value"

Definition at line 665 of file car.h.

◆ PRM_SPEEDO_MINANG

#define PRM_SPEEDO_MINANG   "speedometer min angle"

Definition at line 666 of file car.h.

◆ PRM_SPEEDO_MINVAL

#define PRM_SPEEDO_MINVAL   "speedometer min value"

Definition at line 664 of file car.h.

◆ PRM_SPEEDO_NDLXSZ

#define PRM_SPEEDO_NDLXSZ   "speedometer needle width"

Definition at line 658 of file car.h.

◆ PRM_SPEEDO_NDLYSZ

#define PRM_SPEEDO_NDLYSZ   "speedometer needle height"

Definition at line 659 of file car.h.

◆ PRM_SPEEDO_TEX

#define PRM_SPEEDO_TEX   "speedometer texture"

Definition at line 653 of file car.h.

◆ PRM_SPEEDO_XCENTER

#define PRM_SPEEDO_XCENTER   "speedometer needle x center"

Definition at line 660 of file car.h.

◆ PRM_SPEEDO_XDIGITCENTER

#define PRM_SPEEDO_XDIGITCENTER   "speedometer digit x center"

Definition at line 662 of file car.h.

◆ PRM_SPEEDO_XPOS

#define PRM_SPEEDO_XPOS   "speedometer x pos"

Definition at line 656 of file car.h.

◆ PRM_SPEEDO_XSZ

#define PRM_SPEEDO_XSZ   "speedometer width"

Definition at line 654 of file car.h.

◆ PRM_SPEEDO_YCENTER

#define PRM_SPEEDO_YCENTER   "speedometer needle y center"

Definition at line 661 of file car.h.

◆ PRM_SPEEDO_YDIGITCENTER

#define PRM_SPEEDO_YDIGITCENTER   "speedometer digit y center"

Definition at line 663 of file car.h.

◆ PRM_SPEEDO_YPOS

#define PRM_SPEEDO_YPOS   "speedometer y pos"

Definition at line 657 of file car.h.

◆ PRM_SPEEDO_YSZ

#define PRM_SPEEDO_YSZ   "speedometer height"

Definition at line 655 of file car.h.

◆ PRM_SPR

#define PRM_SPR   "spring"

Definition at line 553 of file car.h.

◆ PRM_STEERLOCK

#define PRM_STEERLOCK   "steer lock"

Definition at line 568 of file car.h.

◆ PRM_STEERSPD

#define PRM_STEERSPD   "max steer speed"

Definition at line 569 of file car.h.

◆ PRM_SUSPCOURSE

#define PRM_SUSPCOURSE   "suspension course"

Definition at line 554 of file car.h.

◆ PRM_TACHO_MAXANG

#define PRM_TACHO_MAXANG   "tachometer max angle"

Definition at line 651 of file car.h.

◆ PRM_TACHO_MAXVAL

#define PRM_TACHO_MAXVAL   "tachometer max value"

Definition at line 649 of file car.h.

◆ PRM_TACHO_MINANG

#define PRM_TACHO_MINANG   "tachometer min angle"

Definition at line 650 of file car.h.

◆ PRM_TACHO_MINVAL

#define PRM_TACHO_MINVAL   "tachometer min value"

Definition at line 648 of file car.h.

◆ PRM_TACHO_NDLXSZ

#define PRM_TACHO_NDLXSZ   "tachometer needle width"

Definition at line 642 of file car.h.

◆ PRM_TACHO_NDLYSZ

#define PRM_TACHO_NDLYSZ   "tachometer needle height"

Definition at line 643 of file car.h.

◆ PRM_TACHO_TEX

#define PRM_TACHO_TEX   "tachometer texture"

Definition at line 637 of file car.h.

◆ PRM_TACHO_XCENTER

#define PRM_TACHO_XCENTER   "tachometer needle x center"

Definition at line 644 of file car.h.

◆ PRM_TACHO_XDIGITCENTER

#define PRM_TACHO_XDIGITCENTER   "tachometer digit x center"

Definition at line 646 of file car.h.

◆ PRM_TACHO_XPOS

#define PRM_TACHO_XPOS   "tachometer x pos"

Definition at line 640 of file car.h.

◆ PRM_TACHO_XSZ

#define PRM_TACHO_XSZ   "tachometer width"

Definition at line 638 of file car.h.

◆ PRM_TACHO_YCENTER

#define PRM_TACHO_YCENTER   "tachometer needle y center"

Definition at line 645 of file car.h.

◆ PRM_TACHO_YDIGITCENTER

#define PRM_TACHO_YDIGITCENTER   "tachometer digit y center"

Definition at line 647 of file car.h.

◆ PRM_TACHO_YPOS

#define PRM_TACHO_YPOS   "tachometer y pos"

Definition at line 641 of file car.h.

◆ PRM_TACHO_YSZ

#define PRM_TACHO_YSZ   "tachometer height"

Definition at line 639 of file car.h.

◆ PRM_TANK

#define PRM_TANK   "fuel tank"

Definition at line 522 of file car.h.

◆ PRM_THRESHOLD

#define PRM_THRESHOLD   "threshold"

Definition at line 609 of file car.h.

◆ PRM_TICKOVER

#define PRM_TICKOVER   "tickover"

Definition at line 588 of file car.h.

◆ PRM_TIRERATIO

#define PRM_TIRERATIO   "tire height-width ratio"

Definition at line 534 of file car.h.

◆ PRM_TIREWIDTH

#define PRM_TIREWIDTH   "tire width"

Definition at line 533 of file car.h.

◆ PRM_TOE

#define PRM_TOE   "toe"

Definition at line 536 of file car.h.

◆ PRM_TQ

#define PRM_TQ   "Tq"

Definition at line 590 of file car.h.

◆ PRM_TREADTHICKNESS

#define PRM_TREADTHICKNESS   "tread thickness"

Definition at line 546 of file car.h.

◆ PRM_TURBO

#define PRM_TURBO   "turbo"

Definition at line 595 of file car.h.

◆ PRM_TURBO_FACTOR

#define PRM_TURBO_FACTOR   "turbo factor"

Definition at line 597 of file car.h.

◆ PRM_TURBO_LAG

#define PRM_TURBO_LAG   "turbo lag"

Definition at line 598 of file car.h.

◆ PRM_TURBO_RPM

#define PRM_TURBO_RPM   "turbo rpm"

Definition at line 596 of file car.h.

◆ PRM_TYPE

#define PRM_TYPE   "type"

Definition at line 527 of file car.h.

◆ PRM_VISCOSITY_FACTOR

#define PRM_VISCOSITY_FACTOR   "viscosity factor"

Definition at line 622 of file car.h.

◆ PRM_WEAR

#define PRM_WEAR   "wear"

Definition at line 550 of file car.h.

◆ PRM_WHEEL_3D

#define PRM_WHEEL_3D   "3d wheel basename"

Definition at line 670 of file car.h.

◆ PRM_WHEEL_3D_DIR

#define PRM_WHEEL_3D_DIR   "3d wheel directory"

Definition at line 671 of file car.h.

◆ PRM_WHEEL_TEXTURE

#define PRM_WHEEL_TEXTURE   "wheel texture"

Definition at line 614 of file car.h.

◆ PRM_WHEELSON

#define PRM_WHEELSON   "wheels"

Definition at line 611 of file car.h.

◆ PRM_WIDTH

#define PRM_WIDTH   "body width"

Definition at line 513 of file car.h.

◆ PRM_WINGANGLE

#define PRM_WINGANGLE   "angle"

Definition at line 583 of file car.h.

◆ PRM_WINGAREA

#define PRM_WINGAREA   "area"

Definition at line 582 of file car.h.

◆ PRM_XPOS

#define PRM_XPOS   "xpos"

Definition at line 564 of file car.h.

◆ PRM_YPOS

#define PRM_YPOS   "ypos"

Definition at line 565 of file car.h.

◆ PRM_ZPOS

#define PRM_ZPOS   "zpos"

Definition at line 566 of file car.h.

◆ REAR

#define REAR   1

rear

Definition at line 43 of file car.h.

◆ REAR_LFT

#define REAR_LFT   3

rear left

Definition at line 41 of file car.h.

◆ REAR_RGT

#define REAR_RGT   2

rear right

Definition at line 40 of file car.h.

◆ RIGHT

#define RIGHT   0

right

Definition at line 44 of file car.h.

◆ RM_CAR_STATE_BROKEN

#define RM_CAR_STATE_BROKEN   0x00000200

Engine no more working.

Definition at line 218 of file car.h.

◆ RM_CAR_STATE_DNF

#define RM_CAR_STATE_DNF   0x00000002

Car did not finish.

Definition at line 212 of file car.h.

◆ RM_CAR_STATE_ELIMINATED

#define RM_CAR_STATE_ELIMINATED   0x00000800

Eliminated due to rules infringement.

Definition at line 220 of file car.h.

◆ RM_CAR_STATE_FINISH

#define RM_CAR_STATE_FINISH   0x00000100

Car having passed the finish line.

Definition at line 210 of file car.h.

◆ RM_CAR_STATE_NO_SIMU

#define RM_CAR_STATE_NO_SIMU   0x000000FF

Do not simulate the car.

Definition at line 217 of file car.h.

◆ RM_CAR_STATE_OUT

#define RM_CAR_STATE_OUT   (RM_CAR_STATE_DNF | RM_CAR_STATE_FINISH)

Car out of race.

Definition at line 216 of file car.h.

◆ RM_CAR_STATE_OUTOFGAS

#define RM_CAR_STATE_OUTOFGAS   0x00000400

Out of Gas.

Definition at line 219 of file car.h.

◆ RM_CAR_STATE_PIT

#define RM_CAR_STATE_PIT   0x00000001

Car currently stopped in pits.

Definition at line 211 of file car.h.

◆ RM_CAR_STATE_PULLDN

#define RM_CAR_STATE_PULLDN   0x00000010

Car pulled out in the air.

Definition at line 215 of file car.h.

◆ RM_CAR_STATE_PULLSIDE

#define RM_CAR_STATE_PULLSIDE   0x00000008

Car pulled out in the air.

Definition at line 214 of file car.h.

◆ RM_CAR_STATE_PULLUP

#define RM_CAR_STATE_PULLUP   0x00000004

Car pulled out in the air.

Definition at line 213 of file car.h.

◆ RM_CAR_STATE_SIMU_NO_MOVE

#define RM_CAR_STATE_SIMU_NO_MOVE   0x00010000

Simulation without car move (i.e.

clutch applied and no wheel move)

Definition at line 221 of file car.h.

◆ RM_CMD_NONE

#define RM_CMD_NONE   0

No race command.

Definition at line 351 of file car.h.

◆ RM_CMD_PIT_ASKED

#define RM_CMD_PIT_ASKED   1

Race command: Pit asked.

Definition at line 352 of file car.h.

◆ RM_DRV_HUMAN

#define RM_DRV_HUMAN   1

Definition at line 122 of file car.h.

◆ RM_DRV_ROBOT

#define RM_DRV_ROBOT   2

Definition at line 123 of file car.h.

◆ RM_LIGHT_HEAD1

#define RM_LIGHT_HEAD1   0x00000001

head light 1

Definition at line 357 of file car.h.

◆ RM_LIGHT_HEAD2

#define RM_LIGHT_HEAD2   0x00000002

head light 2

Definition at line 358 of file car.h.

◆ RM_MSG_LEN

#define RM_MSG_LEN   31

Definition at line 354 of file car.h.

◆ RM_PENALTY_DRIVETHROUGH

#define RM_PENALTY_DRIVETHROUGH   1

Definition at line 126 of file car.h.

◆ RM_PENALTY_STOPANDGO

#define RM_PENALTY_STOPANDGO   2

Definition at line 127 of file car.h.

◆ RM_PIT_REPAIR

#define RM_PIT_REPAIR   0

Definition at line 438 of file car.h.

◆ RM_PIT_STOPANDGO

#define RM_PIT_STOPANDGO   1

Definition at line 439 of file car.h.

◆ SECT_AERODYNAMICS

#define SECT_AERODYNAMICS   "Aerodynamics"

Definition at line 499 of file car.h.

◆ SECT_BONNET

#define SECT_BONNET   "Bonnet"

Definition at line 505 of file car.h.

◆ SECT_BRKSYST

#define SECT_BRKSYST   "Brake System"

Definition at line 498 of file car.h.

◆ SECT_CAR

#define SECT_CAR   "Car"

Definition at line 473 of file car.h.

◆ SECT_CENTRALDIFFERENTIAL

#define SECT_CENTRALDIFFERENTIAL   "Central Differential"

Definition at line 496 of file car.h.

◆ SECT_CLUTCH

#define SECT_CLUTCH   "Clutch"

Definition at line 501 of file car.h.

◆ SECT_DRIVER

#define SECT_DRIVER   "Driver"

Definition at line 504 of file car.h.

◆ SECT_DRIVETRAIN

#define SECT_DRIVETRAIN   "Drivetrain"

Definition at line 502 of file car.h.

◆ SECT_ENGINE

#define SECT_ENGINE   "Engine"

Definition at line 500 of file car.h.

◆ SECT_EXHAUST

#define SECT_EXHAUST   "Exhaust"

Definition at line 507 of file car.h.

◆ SECT_FRNT

#define SECT_FRNT   "Front"

Definition at line 474 of file car.h.

◆ SECT_FRNTARB

#define SECT_FRNTARB   "Front Anti-Roll Bar"

Definition at line 477 of file car.h.

◆ SECT_FRNTAXLE

#define SECT_FRNTAXLE   "Front Axle"

Definition at line 476 of file car.h.

◆ SECT_FRNTDIFFERENTIAL

#define SECT_FRNTDIFFERENTIAL   "Front Differential"

Definition at line 484 of file car.h.

◆ SECT_FRNTLFTBRAKE

#define SECT_FRNTLFTBRAKE   "Front Left Brake"

Definition at line 483 of file car.h.

◆ SECT_FRNTLFTSUSP

#define SECT_FRNTLFTSUSP   "Front Left Suspension"

Definition at line 481 of file car.h.

◆ SECT_FRNTLFTWHEEL

#define SECT_FRNTLFTWHEEL   "Front Left Wheel"

Definition at line 479 of file car.h.

◆ SECT_FRNTRGTBRAKE

#define SECT_FRNTRGTBRAKE   "Front Right Brake"

Definition at line 482 of file car.h.

◆ SECT_FRNTRGTSUSP

#define SECT_FRNTRGTSUSP   "Front Right Suspension"

Definition at line 480 of file car.h.

◆ SECT_FRNTRGTWHEEL

#define SECT_FRNTRGTWHEEL   "Front Right Wheel"

Definition at line 478 of file car.h.

◆ SECT_FRNTWING

#define SECT_FRNTWING   "Front Wing"

Definition at line 475 of file car.h.

◆ SECT_GEARBOX

#define SECT_GEARBOX   "Gearbox"

Definition at line 503 of file car.h.

◆ SECT_GROBJECTS

#define SECT_GROBJECTS   "Graphic Objects"

Definition at line 506 of file car.h.

◆ SECT_LIGHT

#define SECT_LIGHT   "Light"

Definition at line 508 of file car.h.

◆ SECT_REAR

#define SECT_REAR   "Rear"

Definition at line 485 of file car.h.

◆ SECT_REARARB

#define SECT_REARARB   "Rear Anti-Roll Bar"

Definition at line 488 of file car.h.

◆ SECT_REARAXLE

#define SECT_REARAXLE   "Rear Axle"

Definition at line 487 of file car.h.

◆ SECT_REARDIFFERENTIAL

#define SECT_REARDIFFERENTIAL   "Rear Differential"

Definition at line 495 of file car.h.

◆ SECT_REARLFTBRAKE

#define SECT_REARLFTBRAKE   "Rear Left Brake"

Definition at line 494 of file car.h.

◆ SECT_REARLFTSUSP

#define SECT_REARLFTSUSP   "Rear Left Suspension"

Definition at line 492 of file car.h.

◆ SECT_REARLFTWHEEL

#define SECT_REARLFTWHEEL   "Rear Left Wheel"

Definition at line 490 of file car.h.

◆ SECT_REARRGTBRAKE

#define SECT_REARRGTBRAKE   "Rear Right Brake"

Definition at line 493 of file car.h.

◆ SECT_REARRGTSUSP

#define SECT_REARRGTSUSP   "Rear Right Suspension"

Definition at line 491 of file car.h.

◆ SECT_REARRGTWHEEL

#define SECT_REARRGTWHEEL   "Rear Right Wheel"

Definition at line 489 of file car.h.

◆ SECT_REARWING

#define SECT_REARWING   "Rear Wing"

Definition at line 486 of file car.h.

◆ SECT_SIMU_SETTINGS

#define SECT_SIMU_SETTINGS   "Simulation Options"

Definition at line 472 of file car.h.

◆ SECT_STEER

#define SECT_STEER   "Steer"

Definition at line 497 of file car.h.

◆ SEM_COLLISION

#define SEM_COLLISION   0x01

Definition at line 690 of file car.h.

◆ SEM_COLLISION_CAR

#define SEM_COLLISION_CAR   0x04

Definition at line 692 of file car.h.

◆ SEM_COLLISION_XYSCENE

#define SEM_COLLISION_XYSCENE   0x02

Definition at line 691 of file car.h.

◆ SEM_COLLISION_Z

#define SEM_COLLISION_Z   0x08

Definition at line 693 of file car.h.

◆ SEM_COLLISION_Z_CRASH

#define SEM_COLLISION_Z_CRASH   0x10

Definition at line 694 of file car.h.

◆ VAL_DIFF_FREE

#define VAL_DIFF_FREE   "FREE"

Definition at line 627 of file car.h.

◆ VAL_DIFF_LIMITED_SLIP

#define VAL_DIFF_LIMITED_SLIP   "LIMITED SLIP"

Definition at line 628 of file car.h.

◆ VAL_DIFF_NONE

#define VAL_DIFF_NONE   "NONE"

Definition at line 625 of file car.h.

◆ VAL_DIFF_SPOOL

#define VAL_DIFF_SPOOL   "SPOOL"

Definition at line 626 of file car.h.

◆ VAL_DIFF_VISCOUS_COUPLER

#define VAL_DIFF_VISCOUS_COUPLER   "VISCOUS COUPLER"

Definition at line 629 of file car.h.

◆ VAL_LIGHT_BRAKE

#define VAL_LIGHT_BRAKE   "brake"

Definition at line 676 of file car.h.

◆ VAL_LIGHT_BRAKE2

#define VAL_LIGHT_BRAKE2   "brake2"

Definition at line 677 of file car.h.

◆ VAL_LIGHT_HEAD1

#define VAL_LIGHT_HEAD1   "head1"

Definition at line 674 of file car.h.

◆ VAL_LIGHT_HEAD2

#define VAL_LIGHT_HEAD2   "head2"

Definition at line 675 of file car.h.

◆ VAL_LIGHT_REAR

#define VAL_LIGHT_REAR   "rear"

Definition at line 679 of file car.h.

◆ VAL_LIGHT_REVERSE

#define VAL_LIGHT_REVERSE   "reverse"

Definition at line 678 of file car.h.

◆ VAL_TRANS_4WD

#define VAL_TRANS_4WD   "4WD"

Definition at line 633 of file car.h.

◆ VAL_TRANS_FWD

#define VAL_TRANS_FWD   "FWD"

Definition at line 632 of file car.h.

◆ VAL_TRANS_RWD

#define VAL_TRANS_RWD   "RWD"

Definition at line 631 of file car.h.

Typedef Documentation

◆ tCarElt

typedef struct CarElt tCarElt

Car structure (tCarElt).

This is the main car structure, used everywhere in the code.

◆ tCarPenalty

typedef struct CarPenalty tCarPenalty

One penalty.

◆ tCollisionState

Function Documentation

◆ GF_TAILQ_HEAD()

GF_TAILQ_HEAD ( CarPenaltyHead  ,
struct CarPenalty   
)