TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
racegl.cpp File Reference
#include <stdlib.h>
#include <stdio.h>
#include <tgfclient.h>
#include <raceman.h>
#include <robot.h>
#include "racemain.h"
#include "raceinit.h"
#include "racestate.h"
#include "raceengine.h"
#include "racegl.h"
Include dependency graph for racegl.cpp:

Go to the source code of this file.

Macros

#define LINES   21

Functions

static void reDisplay (void)
static void reScreenActivate (void *)
static void ReBoardInfo (void *)
static void reSkipPreStart (void *)
static void reMovieCapture (void *)
static void reAddKeys (void)
void ReSetRaceMsg (const char *msg)
void ReSetRaceBigMsg (const char *msg)
void * ReScreenInit (void)
void ReScreenShutdown (void)
static void reHookActivate (void *)
void * ReHookInit (void)
void ReHookShutdown (void)
static void reAddResKeys (void)
static void reResScreenActivate (void *)
static void reContDisplay (void)
static void reResCont (void *)
static void reResScreenShutdown (void *)
void * ReResScreenInit (void)
void ReResScreenSetTitle (char *title)
void ReResScreenAddText (char *text)
void ReResScreenSetText (const char *text, int line, int clr)
int ReResGetLines (void)
void ReResEraseScreen (void)
void ReResScreenRemoveText (int line)
void ReResShowCont (void)

Variables

static void * reScreenHandle = 0
static void * reHookHandle = 0
static int rePauseId
static int reMsgId
static int reBigMsgId
static float bgcolor [4] = {0.0, 0.0, 0.0, 0.0}
static float white [4] = {1.0, 1.0, 1.0, 1.0}
static float red [4] = {1.0, 0.0, 0.0, 1.0}
static float * reColor [] = {white, red}
static void * reResScreenHdle = 0
static int reResTitleId
static int reResMsgId [LINES]
static int reResMsgClr [LINES]
static char * reResMsg [LINES]
static int reCurLine

Macro Definition Documentation

◆ LINES

#define LINES   21

Definition at line 252 of file racegl.cpp.

Function Documentation

◆ reAddKeys()

void reAddKeys ( void )
static

Definition at line 113 of file racegl.cpp.

Here is the call graph for this function:

◆ reAddResKeys()

void reAddResKeys ( void )
static

Definition at line 264 of file racegl.cpp.

Here is the call graph for this function:

◆ ReBoardInfo()

void ReBoardInfo ( void * )
static

Definition at line 63 of file racegl.cpp.

Here is the call graph for this function:

◆ reContDisplay()

void reContDisplay ( void )
static

Definition at line 283 of file racegl.cpp.

Here is the call graph for this function:

◆ reDisplay()

void reDisplay ( void )
static

Definition at line 46 of file racegl.cpp.

Here is the call graph for this function:

◆ reHookActivate()

void reHookActivate ( void * )
static

Definition at line 220 of file racegl.cpp.

Here is the call graph for this function:

◆ ReHookInit()

void * ReHookInit ( void )

Definition at line 226 of file racegl.cpp.

Here is the call graph for this function:

◆ ReHookShutdown()

void ReHookShutdown ( void )

Definition at line 239 of file racegl.cpp.

Here is the call graph for this function:

◆ reMovieCapture()

void reMovieCapture ( void * )
static

Definition at line 86 of file racegl.cpp.

Here is the call graph for this function:

◆ reResCont()

void reResCont ( void * )
static

Definition at line 291 of file racegl.cpp.

Here is the call graph for this function:

◆ ReResEraseScreen()

void ReResEraseScreen ( void )

Definition at line 404 of file racegl.cpp.

Here is the call graph for this function:

◆ ReResGetLines()

int ReResGetLines ( void )

Definition at line 398 of file racegl.cpp.

◆ reResScreenActivate()

void reResScreenActivate ( void * )
static

Definition at line 274 of file racegl.cpp.

Here is the call graph for this function:

◆ ReResScreenAddText()

void ReResScreenAddText ( char * text)

Definition at line 364 of file racegl.cpp.

Here is the call graph for this function:

◆ ReResScreenInit()

void * ReResScreenInit ( void )

Definition at line 307 of file racegl.cpp.

Here is the call graph for this function:

◆ ReResScreenRemoveText()

void ReResScreenRemoveText ( int line)

Definition at line 415 of file racegl.cpp.

Here is the call graph for this function:

◆ ReResScreenSetText()

void ReResScreenSetText ( const char * text,
int line,
int clr )

Definition at line 382 of file racegl.cpp.

Here is the call graph for this function:

◆ ReResScreenSetTitle()

void ReResScreenSetTitle ( char * title)

Definition at line 356 of file racegl.cpp.

Here is the call graph for this function:

◆ reResScreenShutdown()

void reResScreenShutdown ( void * )
static

Definition at line 297 of file racegl.cpp.

◆ ReResShowCont()

void ReResShowCont ( void )

Definition at line 424 of file racegl.cpp.

Here is the call graph for this function:

◆ reScreenActivate()

void reScreenActivate ( void * )
static

Definition at line 52 of file racegl.cpp.

Here is the call graph for this function:

◆ ReScreenInit()

void * ReScreenInit ( void )

Definition at line 167 of file racegl.cpp.

Here is the call graph for this function:

◆ ReScreenShutdown()

void ReScreenShutdown ( void )

Definition at line 210 of file racegl.cpp.

Here is the call graph for this function:

◆ ReSetRaceBigMsg()

void ReSetRaceBigMsg ( const char * msg)

Definition at line 151 of file racegl.cpp.

Here is the call graph for this function:

◆ ReSetRaceMsg()

void ReSetRaceMsg ( const char * msg)

Definition at line 135 of file racegl.cpp.

Here is the call graph for this function:

◆ reSkipPreStart()

void reSkipPreStart ( void * )
static

Definition at line 77 of file racegl.cpp.

Variable Documentation

◆ bgcolor

float bgcolor[4] = {0.0, 0.0, 0.0, 0.0}
static

Definition at line 41 of file racegl.cpp.

◆ reBigMsgId

int reBigMsgId
static

Definition at line 39 of file racegl.cpp.

◆ reColor

float* reColor[] = {white, red}
static

Definition at line 254 of file racegl.cpp.

◆ reCurLine

int reCurLine
static

Definition at line 261 of file racegl.cpp.

◆ red

float red[4] = {1.0, 0.0, 0.0, 1.0}
static

Definition at line 43 of file racegl.cpp.

◆ reHookHandle

void* reHookHandle = 0
static

Definition at line 36 of file racegl.cpp.

◆ reMsgId

int reMsgId
static

Definition at line 38 of file racegl.cpp.

◆ rePauseId

int rePauseId
static

Definition at line 37 of file racegl.cpp.

◆ reResMsg

char* reResMsg[LINES]
static

Definition at line 260 of file racegl.cpp.

◆ reResMsgClr

int reResMsgClr[LINES]
static

Definition at line 259 of file racegl.cpp.

◆ reResMsgId

int reResMsgId[LINES]
static

Definition at line 258 of file racegl.cpp.

◆ reResScreenHdle

void* reResScreenHdle = 0
static

Definition at line 256 of file racegl.cpp.

◆ reResTitleId

int reResTitleId
static

Definition at line 257 of file racegl.cpp.

◆ reScreenHandle

void* reScreenHandle = 0
static

Definition at line 35 of file racegl.cpp.

◆ white

float white[4] = {1.0, 1.0, 1.0, 1.0}
static

Definition at line 42 of file racegl.cpp.