torcs - 1.2.2

src/libs/raceengineclient/raceinit.cpp File Reference


Detailed Description

Author:
Eric Espie
Version:
Id
raceinit.cpp,v 1.8 2004/01/18 16:04:47 torcs Exp

#include <stdlib.h>
#include <stdio.h>
#include <tgfclient.h>
#include <raceman.h>
#include <robot.h>
#include <racescreens.h>
#include <robottools.h>
#include "raceengine.h"
#include "racemain.h"
#include "racestate.h"
#include "racegl.h"
#include "raceresults.h"
#include "raceinit.h"

Include dependency graph for raceinit.cpp:

Include dependency graph

Compounds

struct  tMainMod

Functions

void ReInit (void)
void ReShutdown (void)
void ReStartNewRace (void *)
void ReAddRacemanListButton (void *menuHandle)
int ReInitCars (void)
 Initialize the cars for a race.

int ReInitTrack (void)
 Initialize the track for a race manager.

void ReRaceCleanup (void)
void ReRaceCleanDrivers (void)
char * ReGetCurrentRaceName (void)
char * ReGetPrevRaceName (void)

Variables

tModListReRaceModList = 0

Function Documentation

void ReAddRacemanListButton void *  menuHandle  ) 
 

Here is the call graph for this function:

char* ReGetCurrentRaceName void   ) 
 

Here is the call graph for this function:

char* ReGetPrevRaceName void   ) 
 

Here is the call graph for this function:

void ReInit void   ) 
 

Here is the call graph for this function:

int ReInitCars void   ) 
 

Initialize the cars for a race.

The car are positionned on the starting grid.

Returns:
0 Ok -1 Error

Here is the call graph for this function:

int ReInitTrack void   ) 
 

Initialize the track for a race manager.

Returns:
0 ... Ok
-1 .. Error

Here is the call graph for this function:

void ReRaceCleanDrivers void   ) 
 

Here is the call graph for this function:

void ReRaceCleanup void   ) 
 

Here is the call graph for this function:

void ReShutdown void   ) 
 

Here is the call graph for this function:

void ReStartNewRace void *   ) 
 

Here is the call graph for this function:


Variable Documentation

tModList* ReRaceModList = 0
 


Generated at Thu Feb 26 21:52:47 2004 for torcs by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-1999
TORCS © Eric Espié 1999, 2002.