TORCS  1.3.9
The Open Racing Car Simulator
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) More...
 
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) More...
 
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) More...
 
void * RmNStateScreen (const char *title, const char **label, const char **tip, void **screen, const int n)
 Screen with N menu options (buttons) More...
 
static void rmDisplayStartRace (tRmInfo *info, void *startScr, void *abortScr, int start)
 
static void rmChgStartScreen (void *vpsrc)
 
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
Version
$Id$

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()

static void rmChgStartScreen ( void *  vpsrc)
static

Definition at line 203 of file miscscreens.cpp.

Here is the call graph for this function:

◆ rmDisplayStartRace()

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

Definition at line 213 of file miscscreens.cpp.

Here is the call graph for this function:

◆ RmDisplayStartRace()

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

Definition at line 345 of file miscscreens.cpp.

Here is the call graph for this function:

Variable Documentation

◆ fourStateHdle

void* fourStateHdle = 0
static

Definition at line 35 of file miscscreens.cpp.

◆ nextStartRace

tStartRaceCall nextStartRace
static

Definition at line 197 of file miscscreens.cpp.

◆ nStateHandle

void* nStateHandle = 0
static

Definition at line 36 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 34 of file miscscreens.cpp.

◆ twoStateHdle

void* twoStateHdle = 0
static

Definition at line 33 of file miscscreens.cpp.