TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
raceengine.cpp File Reference
#include <stdlib.h>
#include <stdio.h>
#include <tgfclient.h>
#include <robot.h>
#include <raceman.h>
#include <racescreens.h>
#include <robottools.h>
#include <portability.h>
#include "racemain.h"
#include "racegl.h"
#include "raceinit.h"
#include "racepit.h"
#include "raceresults.h"
#include "raceengine.h"
Include dependency graph for raceengine.cpp:

Go to the source code of this file.

Functions

static void ReRaceRules (tCarElt *car)
static void ReUpdtPitTime (tCarElt *car)
static void ReUpdtPitCmd (tCarElt *car)
static void ReRaceMsgUpdate (void)
static void ReRaceMsgSet (const char *msg, double life)
static void ReRaceBigMsgSet (const char *msg, double life)
static void ReManage (tCarElt *car)
static void ReSortCars (void)
static bool isDriverUpdateDue (int driverType, double currentTime, tRaceEngineInfo *raceEngineInfo)
static void resetDriverUpdateTimers (double lastTime, tRaceEngineInfo *raceEngineInfo)
static void runDueDriverCallbacks (tSituation *s, tRaceEngineInfo *raceEngineInfo)
static void ReOneStep (double deltaTimeIncrement)
void ReStart (void)
void ReStop (void)
static void reCapture (void)
int ReUpdate (void)
void ReTimeMod (int cmd)

Variables

static double msgDisp
static double bigMsgDisp
tRmInfo * ReInfo = 0

Function Documentation

◆ isDriverUpdateDue()

bool isDriverUpdateDue ( int driverType,
double currentTime,
tRaceEngineInfo * raceEngineInfo )
static

Definition at line 611 of file raceengine.cpp.

◆ reCapture()

void reCapture ( void )
static

Definition at line 719 of file raceengine.cpp.

Here is the call graph for this function:

◆ ReManage()

void ReManage ( tCarElt * car)
static

Definition at line 123 of file raceengine.cpp.

Here is the call graph for this function:

◆ ReOneStep()

void ReOneStep ( double deltaTimeIncrement)
static

Definition at line 660 of file raceengine.cpp.

Here is the call graph for this function:

◆ ReRaceBigMsgSet()

void ReRaceBigMsgSet ( const char * msg,
double life )
static

Definition at line 113 of file raceengine.cpp.

Here is the call graph for this function:

◆ ReRaceMsgSet()

void ReRaceMsgSet ( const char * msg,
double life )
static

Definition at line 103 of file raceengine.cpp.

Here is the call graph for this function:

◆ ReRaceMsgUpdate()

void ReRaceMsgUpdate ( void )
static

Definition at line 92 of file raceengine.cpp.

Here is the call graph for this function:

◆ ReRaceRules()

void ReRaceRules ( tCarElt * car)
static

Definition at line 401 of file raceengine.cpp.

Here is the call graph for this function:

◆ resetDriverUpdateTimers()

void resetDriverUpdateTimers ( double lastTime,
tRaceEngineInfo * raceEngineInfo )
static

Definition at line 619 of file raceengine.cpp.

◆ ReSortCars()

void ReSortCars ( void )
static

Definition at line 361 of file raceengine.cpp.

◆ ReStart()

void ReStart ( void )

Definition at line 705 of file raceengine.cpp.

Here is the call graph for this function:

◆ ReStop()

void ReStop ( void )

Definition at line 712 of file raceengine.cpp.

◆ ReTimeMod()

void ReTimeMod ( int cmd)

Definition at line 816 of file raceengine.cpp.

Here is the call graph for this function:

◆ ReUpdate()

int ReUpdate ( void )

Definition at line 745 of file raceengine.cpp.

Here is the call graph for this function:

◆ ReUpdtPitCmd()

void ReUpdtPitCmd ( tCarElt * car)
static

Definition at line 85 of file raceengine.cpp.

Here is the call graph for this function:

◆ ReUpdtPitTime()

void ReUpdtPitTime ( tCarElt * car)
static

Definition at line 49 of file raceengine.cpp.

Here is the call graph for this function:

◆ runDueDriverCallbacks()

void runDueDriverCallbacks ( tSituation * s,
tRaceEngineInfo * raceEngineInfo )
static

Definition at line 627 of file raceengine.cpp.

Here is the call graph for this function:

Variable Documentation

◆ bigMsgDisp

double bigMsgDisp
static

Definition at line 40 of file raceengine.cpp.

◆ msgDisp

double msgDisp
static

Definition at line 39 of file raceengine.cpp.

◆ ReInfo

tRmInfo* ReInfo = 0

Definition at line 42 of file raceengine.cpp.