TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
Situation Struct Reference

cars situation used to inform the GUI and the drivers More...

#include <raceman.h>

Collaboration diagram for Situation:

Public Attributes

tRaceAdmInfo raceInfo
double deltaTime
 Legacy rbDrive delta for existing robot modules; normal robots use this value.
double currentTime
 current time in sec since the beginning of the simulation
int nbPlayers
 number of human player in local (splitted screen)
tCarElt ** cars
 list of cars
double driveDeltaTime [RM_DRV_ROBOT+1]
 rbDrive delta indexed by RM_DRV_*; index 0 is unused.

Detailed Description

cars situation used to inform the GUI and the drivers

Definition at line 84 of file raceman.h.

Member Data Documentation

◆ cars

tCarElt** Situation::cars

list of cars

Definition at line 89 of file raceman.h.

◆ currentTime

double Situation::currentTime

current time in sec since the beginning of the simulation

Definition at line 87 of file raceman.h.

◆ deltaTime

double Situation::deltaTime

Legacy rbDrive delta for existing robot modules; normal robots use this value.

Definition at line 86 of file raceman.h.

◆ driveDeltaTime

double Situation::driveDeltaTime[RM_DRV_ROBOT+1]

rbDrive delta indexed by RM_DRV_*; index 0 is unused.

Definition at line 90 of file raceman.h.

◆ nbPlayers

int Situation::nbPlayers

number of human player in local (splitted screen)

Definition at line 88 of file raceman.h.

◆ raceInfo

tRaceAdmInfo Situation::raceInfo

Definition at line 85 of file raceman.h.


The documentation for this struct was generated from the following file:
  • C:/Users/berni/Development/torcs_git/torcs-code/torcs/torcs/src/interfaces/raceman.h