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

Loading screen. More...

#include <stdlib.h>
#include <tgfclient.h>
#include <car.h>
Include dependency graph for loadingscreen.cpp:

Go to the source code of this file.

Macros

#define TEXTLINES   23

Functions

static void rmDeativate (void)
void RmLoadingScreenStart (const char *title, const char *bgimg)
 Set up loading screen.
void RmShutdownLoadingScreen (void)
 Shut down loading screen.
void RmLoadingScreenSetText (const char *text)
 Set a new line of text on the loading screen.

Variables

static void * menuHandle = NULL
static int rmTextId [TEXTLINES]
static char * rmTextLines [TEXTLINES] = {0}
static int rmCurText
float black [4] = { 0.0, 0.0, 0.0, 0.0 }
float white [TEXTLINES][4]

Detailed Description

Loading screen.

Author
Eric Espie, Bernhard Wymann

Definition in file loadingscreen.cpp.

Macro Definition Documentation

◆ TEXTLINES

#define TEXTLINES   23

Definition at line 32 of file loadingscreen.cpp.

Function Documentation

◆ rmDeativate()

void rmDeativate ( void )
static

Definition at line 42 of file loadingscreen.cpp.

Variable Documentation

◆ black

float black[4] = { 0.0, 0.0, 0.0, 0.0 }

Definition at line 37 of file loadingscreen.cpp.

◆ menuHandle

void* menuHandle = NULL
static

Definition at line 31 of file loadingscreen.cpp.

◆ rmCurText

int rmCurText
static

Definition at line 35 of file loadingscreen.cpp.

◆ rmTextId

int rmTextId[TEXTLINES]
static

Definition at line 33 of file loadingscreen.cpp.

◆ rmTextLines

char* rmTextLines[TEXTLINES] = {0}
static

Definition at line 34 of file loadingscreen.cpp.

◆ white

float white[TEXTLINES][4]

Definition at line 38 of file loadingscreen.cpp.