TORCS  1.3.9
The Open Racing Car Simulator

Simulation Module Interface Definition. More...

#include <track.h>
#include <raceman.h>
Include dependency graph for simu.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tSimItf
 Interface Structure for Simulation. More...
 

Macros

#define SIM_IDENT   0
 

Typedefs

typedef void(* tfSimInit) (int nbCars, tTrack *track, tdble fuelFactor, tdble damageFactor, tdble tireFactor)
 Callback function prototype for simulation module initialization (bring up module and hand over track and parameters) More...
 
typedef void(* tfSimConfig) (tCarElt *carElt, struct RmInfo *reInfo)
 Callback function prototype for simulation configuration of a given car. More...
 
typedef void(* tfSimReConfig) (tCarElt *carElt)
 Callback function prototype for simulation reconfiguration of a given car (refueling, setup adjustments) More...
 
typedef void(* tfSimUpdate) (struct Situation *s, double deltaTime, int telemetry)
 Callback function prototype for progressing the given Situation by a given simulation time step. More...
 
typedef void(* tfSimShutdown) (void)
 Callback function prototype for simulation module shutdown. More...
 

Detailed Description

Simulation Module Interface Definition.

Author
Bernhard Wymann, Eric Espie
Version
$Id$

Definition in file simu.h.

Macro Definition Documentation

◆ SIM_IDENT

#define SIM_IDENT   0

Definition at line 40 of file simu.h.