TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
miscscreens.cpp File Reference


Common screens for race manager menus More...

#include <stdio.h>
#include <tgfclient.h>
#include <robot.h>
#include <racescreens.h>
#include <portability.h>
Include dependency graph for miscscreens.cpp:

Go to the source code of this file.

Classes

struct  tStartRaceCall

Macros

#define MAX_LINES   20

Functions

void * RmTwoStateScreen (const char *title, const char *label1, const char *tip1, void *screen1, const char *label2, const char *tip2, void *screen2)
 Screen with 2 menu options (buttons)
void * RmTriStateScreen (const char *title, const char *label1, const char *tip1, void *screen1, const char *label2, const char *tip2, void *screen2, const char *label3, const char *tip3, void *screen3)
 Screen with 3 menu options (buttons)
void * RmFourStateScreen (const char *title, const char *label1, const char *tip1, void *screen1, const char *label2, const char *tip2, void *screen2, const char *label3, const char *tip3, void *screen3, const char *label4, const char *tip4, void *screen4)
 Screen with 4 menu options (buttons)
void * RmNStateScreen (const char *title, const char **label, const char **tip, void **screen, const int n)
 Screen with N menu options (buttons)
static void rmDisplayStartRace (tRmInfo *info, void *startScr, void *abortScr, int start)
static void rmChgStartScreen (tStartRaceCall *psrc)
void RmDisplayStartRace (tRmInfo *info, void *startScr, void *abortScr)

Variables

static void * twoStateHdle = 0
static void * triStateHdle = 0
static void * fourStateHdle = 0
static void * nStateHandle = 0
static tStartRaceCall nextStartRace
static tStartRaceCall prevStartRace
static void * rmScrHdle = 0

Detailed Description


Common screens for race manager menus

Author
bernhard Wymann, Eric Espie

Definition in file miscscreens.cpp.

Macro Definition Documentation

◆ MAX_LINES

#define MAX_LINES   20

Definition at line 187 of file miscscreens.cpp.

Function Documentation

◆ rmChgStartScreen()

void rmChgStartScreen ( tStartRaceCall * psrc)
static

Definition at line 203 of file miscscreens.cpp.

Here is the call graph for this function:

◆ RmDisplayStartRace()

void RmDisplayStartRace ( tRmInfo * info,
void * startScr,
void * abortScr )

Definition at line 338 of file miscscreens.cpp.

Here is the call graph for this function:

◆ rmDisplayStartRace()

void rmDisplayStartRace ( tRmInfo * info,
void * startScr,
void * abortScr,
int start )
static

Definition at line 212 of file miscscreens.cpp.

Here is the call graph for this function:

Variable Documentation

◆ fourStateHdle

void* fourStateHdle = 0
static

Definition at line 33 of file miscscreens.cpp.

◆ nextStartRace

tStartRaceCall nextStartRace
static

Definition at line 197 of file miscscreens.cpp.

◆ nStateHandle

void* nStateHandle = 0
static

Definition at line 34 of file miscscreens.cpp.

◆ prevStartRace

tStartRaceCall prevStartRace
static

Definition at line 197 of file miscscreens.cpp.

◆ rmScrHdle

void* rmScrHdle = 0
static

Definition at line 198 of file miscscreens.cpp.

◆ triStateHdle

void* triStateHdle = 0
static

Definition at line 32 of file miscscreens.cpp.

◆ twoStateHdle

void* twoStateHdle = 0
static

Definition at line 31 of file miscscreens.cpp.