TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
transmission.cpp File Reference
#include "sim.h"
#include <portability.h>
Include dependency graph for transmission.cpp:

Go to the source code of this file.

Functions

void SimTransmissionConfig (tCar *car)
static void setupGear (void *hdle, tCar *car, tCarElt *carElt, tTransmission *trans, tdble gRatio, tdble fRatio, int i)
void SimTransmissionReConfig (tCar *car)
void SimGearboxUpdate (tCar *car)
void SimTransmissionUpdate (tCar *car)

Variables

static const char * gearname [MAX_GEARS] = {"r", "n", "1", "2", "3", "4", "5", "6", "7", "8"}

Function Documentation

◆ setupGear()

void setupGear ( void * hdle,
tCar * car,
tCarElt * carElt,
tTransmission * trans,
tdble gRatio,
tdble fRatio,
int i )
static

Definition at line 157 of file transmission.cpp.

Here is the call graph for this function:

◆ SimGearboxUpdate()

void SimGearboxUpdate ( tCar * car)

Definition at line 214 of file transmission.cpp.

◆ SimTransmissionConfig()

void SimTransmissionConfig ( tCar * car)

Definition at line 24 of file transmission.cpp.

Here is the call graph for this function:

◆ SimTransmissionReConfig()

void SimTransmissionReConfig ( tCar * car)

Definition at line 171 of file transmission.cpp.

Here is the call graph for this function:

◆ SimTransmissionUpdate()

void SimTransmissionUpdate ( tCar * car)

Definition at line 299 of file transmission.cpp.

Here is the call graph for this function:

Variable Documentation

◆ gearname

const char* gearname[MAX_GEARS] = {"r", "n", "1", "2", "3", "4", "5", "6", "7", "8"}
static

Definition at line 22 of file transmission.cpp.