TORCS  1.3.9
The Open Racing Car Simulator
racegl.cpp File Reference


More...

#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
 

Detailed Description


Author
Eric Espie
Version
$Id$

Definition in file racegl.cpp.

Macro Definition Documentation

◆ LINES

#define LINES   21

Definition at line 256 of file racegl.cpp.

Function Documentation

◆ reAddKeys()

static void reAddKeys ( void  )
static

Definition at line 117 of file racegl.cpp.

Here is the call graph for this function:

◆ reAddResKeys()

static void reAddResKeys ( void  )
static

Definition at line 268 of file racegl.cpp.

Here is the call graph for this function:

◆ ReBoardInfo()

static void ReBoardInfo ( void *  )
static

Definition at line 67 of file racegl.cpp.

Here is the call graph for this function:

◆ reContDisplay()

static void reContDisplay ( void  )
static

Definition at line 287 of file racegl.cpp.

Here is the call graph for this function:

◆ reDisplay()

static void reDisplay ( void  )
static

Definition at line 50 of file racegl.cpp.

Here is the call graph for this function:

◆ reHookActivate()

static void reHookActivate ( void *  )
static

Definition at line 224 of file racegl.cpp.

Here is the call graph for this function:

◆ ReHookInit()

void* ReHookInit ( void  )

Definition at line 230 of file racegl.cpp.

Here is the call graph for this function:

◆ ReHookShutdown()

void ReHookShutdown ( void  )

Definition at line 243 of file racegl.cpp.

Here is the call graph for this function:

◆ reMovieCapture()

static void reMovieCapture ( void *  )
static

Definition at line 90 of file racegl.cpp.

Here is the call graph for this function:

◆ reResCont()

static void reResCont ( void *  )
static

Definition at line 295 of file racegl.cpp.

Here is the call graph for this function:

◆ ReResEraseScreen()

void ReResEraseScreen ( void  )

Definition at line 406 of file racegl.cpp.

Here is the call graph for this function:

◆ ReResGetLines()

int ReResGetLines ( void  )

Definition at line 400 of file racegl.cpp.

◆ reResScreenActivate()

static void reResScreenActivate ( void *  )
static

Definition at line 278 of file racegl.cpp.

Here is the call graph for this function:

◆ ReResScreenAddText()

void ReResScreenAddText ( char *  text)

Definition at line 366 of file racegl.cpp.

Here is the call graph for this function:

◆ ReResScreenInit()

void* ReResScreenInit ( void  )

Definition at line 311 of file racegl.cpp.

Here is the call graph for this function:

◆ ReResScreenRemoveText()

void ReResScreenRemoveText ( int  line)

Definition at line 417 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 384 of file racegl.cpp.

Here is the call graph for this function:

◆ ReResScreenSetTitle()

void ReResScreenSetTitle ( char *  title)

Definition at line 358 of file racegl.cpp.

Here is the call graph for this function:

◆ reResScreenShutdown()

static void reResScreenShutdown ( void *  )
static

Definition at line 301 of file racegl.cpp.

◆ ReResShowCont()

void ReResShowCont ( void  )

Definition at line 426 of file racegl.cpp.

Here is the call graph for this function:

◆ reScreenActivate()

static void reScreenActivate ( void *  )
static

Definition at line 56 of file racegl.cpp.

Here is the call graph for this function:

◆ ReScreenInit()

void* ReScreenInit ( void  )

Definition at line 171 of file racegl.cpp.

Here is the call graph for this function:

◆ ReScreenShutdown()

void ReScreenShutdown ( void  )

Definition at line 214 of file racegl.cpp.

Here is the call graph for this function:

◆ ReSetRaceBigMsg()

void ReSetRaceBigMsg ( const char *  msg)

Definition at line 155 of file racegl.cpp.

Here is the call graph for this function:

◆ ReSetRaceMsg()

void ReSetRaceMsg ( const char *  msg)

Definition at line 139 of file racegl.cpp.

Here is the call graph for this function:

◆ reSkipPreStart()

static void reSkipPreStart ( void *  )
static

Definition at line 81 of file racegl.cpp.

Variable Documentation

◆ bgcolor

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

Definition at line 45 of file racegl.cpp.

◆ reBigMsgId

int reBigMsgId
static

Definition at line 43 of file racegl.cpp.

◆ reColor

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

Definition at line 258 of file racegl.cpp.

◆ reCurLine

int reCurLine
static

Definition at line 265 of file racegl.cpp.

◆ red

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

Definition at line 47 of file racegl.cpp.

◆ reHookHandle

void* reHookHandle = 0
static

Definition at line 40 of file racegl.cpp.

◆ reMsgId

int reMsgId
static

Definition at line 42 of file racegl.cpp.

◆ rePauseId

int rePauseId
static

Definition at line 41 of file racegl.cpp.

◆ reResMsg

char* reResMsg[LINES]
static

Definition at line 264 of file racegl.cpp.

◆ reResMsgClr

int reResMsgClr[LINES]
static

Definition at line 263 of file racegl.cpp.

◆ reResMsgId

int reResMsgId[LINES]
static

Definition at line 262 of file racegl.cpp.

◆ reResScreenHdle

void* reResScreenHdle = 0
static

Definition at line 260 of file racegl.cpp.

◆ reResTitleId

int reResTitleId
static

Definition at line 261 of file racegl.cpp.

◆ reScreenHandle

void* reScreenHandle = 0
static

Definition at line 39 of file racegl.cpp.

◆ white

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

Definition at line 46 of file racegl.cpp.