#include <stdlib.h>
#include <stdio.h>
#include <tgfclient.h>
#include <raceman.h>
#include <robot.h>
#include <racescreens.h>
#include <robottools.h>
#include <portability.h>
#include <string>
#include <map>
#include <musicplayer/musicplayer.h>
#include "raceengine.h"
#include "racemain.h"
#include "racestate.h"
#include "racegl.h"
#include "raceresults.h"
#include "racetrackselect.h"
#include "raceinit.h"
Go to the source code of this file.
◆ initPits()
◆ initStartingGrid()
| void initStartingGrid |
( |
void | | ) |
|
|
static |
◆ isItThisRobot()
| bool isItThisRobot |
( |
tRmInfo * | reInfo, |
|
|
const char * | path, |
|
|
tModInfo * | modInfo ) |
◆ ReAddRacemanListButton()
| void ReAddRacemanListButton |
( |
void * | menuHandle | ) |
|
◆ reDumpTrack()
| void reDumpTrack |
( |
tTrack * | track, |
|
|
int | verbose ) |
|
static |
Dump the track segments on screen.
- Parameters
-
| track | track to dump |
| verbose | if set to 1 all the segments are described (long) |
Definition at line 739 of file raceinit.cpp.
◆ ReGetCurrentRaceName()
| const char * ReGetCurrentRaceName |
( |
void | | ) |
|
◆ ReGetPrevRaceName()
| const char * ReGetPrevRaceName |
( |
void | | ) |
|
◆ ReInit()
◆ ReInitCars()
Initialize the cars for a race.
The car are positionned on the starting grid.
- Returns
- 0 Ok -1 Error
Definition at line 553 of file raceinit.cpp.
◆ ReInitTrack()
Initialize the current race-manager track.
The configured track is validated before the track loader is called. If the configured category/name pair no longer points to a readable track XML, an available fallback track is selected and written back to the race manager for interactive runs. Console runs keep the fallback in memory only.
- Returns
- 0 ... Ok
-1 .. Error, no valid track could be selected or loaded
Definition at line 833 of file raceinit.cpp.
◆ ReRaceCleanDrivers()
| void ReRaceCleanDrivers |
( |
void | | ) |
|
◆ ReRaceCleanup()
| void ReRaceCleanup |
( |
void | | ) |
|
◆ reRegisterRaceman()
| void reRegisterRaceman |
( |
tFList * | racemanCur | ) |
|
|
static |
◆ ReRunRaceOnConsole()
| void ReRunRaceOnConsole |
( |
const char * | raceconfig | ) |
|
◆ reSelectRaceman()
| void reSelectRaceman |
( |
void * | params | ) |
|
|
static |
◆ ReShutdown()
◆ reSortRacemanList()
| void reSortRacemanList |
( |
tFList ** | racemanList | ) |
|
|
static |
◆ ReStartNewRace()
| void ReStartNewRace |
( |
void * | | ) |
|
◆ level_str
◆ reEventModList
◆ ReRaceModList