TORCS  1.3.9
The Open Racing Car Simulator
wheel.cpp File Reference
#include <stdio.h>
#include "sim.h"
Include dependency graph for wheel.cpp:

Go to the source code of this file.

Functions

void SimWheelConfig (tCar *car, int index)
 
void SimWheelReConfig (tCar *car, int index)
 
void SimWheelUpdateRide (tCar *car, int index)
 
void SimWheelUpdateForce (tCar *car, int index)
 
void SimWheelUpdateRotation (tCar *car)
 
void SimUpdateFreeWheels (tCar *car, int axlenb)
 
void SimWheelUpdateTire (tCar *car, int index)
 
void SimWheelResetWear (tCar *car, int index)
 

Variables

static const char * WheelSect [4] = {SECT_FRNTRGTWHEEL, SECT_FRNTLFTWHEEL, SECT_REARRGTWHEEL, SECT_REARLFTWHEEL}
 
static const char * SuspSect [4] = {SECT_FRNTRGTSUSP, SECT_FRNTLFTSUSP, SECT_REARRGTSUSP, SECT_REARLFTSUSP}
 
static const char * BrkSect [4] = {SECT_FRNTRGTBRAKE, SECT_FRNTLFTBRAKE, SECT_REARRGTBRAKE, SECT_REARLFTBRAKE}
 

Function Documentation

◆ SimUpdateFreeWheels()

void SimUpdateFreeWheels ( tCar car,
int  axlenb 
)

Definition at line 392 of file wheel.cpp.

◆ SimWheelConfig()

void SimWheelConfig ( tCar car,
int  index 
)

Definition at line 26 of file wheel.cpp.

Here is the call graph for this function:

◆ SimWheelReConfig()

void SimWheelReConfig ( tCar car,
int  index 
)

Definition at line 137 of file wheel.cpp.

Here is the call graph for this function:

◆ SimWheelResetWear()

void SimWheelResetWear ( tCar car,
int  index 
)

Definition at line 504 of file wheel.cpp.

◆ SimWheelUpdateForce()

void SimWheelUpdateForce ( tCar car,
int  index 
)

Definition at line 211 of file wheel.cpp.

Here is the call graph for this function:

◆ SimWheelUpdateRide()

void SimWheelUpdateRide ( tCar car,
int  index 
)

Definition at line 166 of file wheel.cpp.

Here is the call graph for this function:

◆ SimWheelUpdateRotation()

void SimWheelUpdateRotation ( tCar car)

Definition at line 373 of file wheel.cpp.

◆ SimWheelUpdateTire()

void SimWheelUpdateTire ( tCar car,
int  index 
)

Definition at line 421 of file wheel.cpp.

Variable Documentation

◆ BrkSect

Definition at line 24 of file wheel.cpp.

◆ SuspSect

const char* SuspSect[4] = {SECT_FRNTRGTSUSP, SECT_FRNTLFTSUSP, SECT_REARRGTSUSP, SECT_REARLFTSUSP}
static

Definition at line 23 of file wheel.cpp.

◆ WheelSect

Definition at line 22 of file wheel.cpp.