TORCS  1.3.9
The Open Racing Car Simulator
cGrBoard Class Reference

#include <grboard.h>

Collaboration diagram for cGrBoard:

Public Member Functions

 cGrBoard (int myid)
 
 ~cGrBoard ()
 
void initBoard (void)
 
void shutdown (void)
 
void selectBoard (int brd)
 
void dispGaph (tCarElt *car)
 
void initBoardCar (tCarElt *car)
 
cGrTrackMapgetTrackMap ()
 
void refreshBoard (tSituation *s, float Fps, int forceArcade, tCarElt *curr)
 
void loadDefaults (tCarElt *curCar)
 

Protected Attributes

int id
 
int boardFlag
 
int leaderFlag
 
int debugFlag
 
int leaderNb
 
int counterFlag
 
int GFlag
 
int arcadeFlag
 

Private Member Functions

void grDispDebug (float fps, tCarElt *car)
 
void grDispGGraph (tCarElt *car)
 
void grDispCarBoard1 (tCarElt *car, tSituation *s)
 
void grDispMisc (tCarElt *car)
 
void grDrawGauge (tdble X1, tdble Y1, tdble H, float *clr1, float *clr2, tdble val, const char *title)
 
void grDispCarBoard2 (tCarElt *car, tSituation *s)
 
void grDispCarBoard (tCarElt *car, tSituation *s)
 
void grDispCounterBoard (tCarElt *car)
 
void grDispLeaderBoard (tCarElt *car, tSituation *s)
 
void grDispCounterBoard2 (tCarElt *car)
 
void grDispArcade (tCarElt *car, tSituation *s)
 

Private Attributes

cGrTrackMaptrackMap
 

Detailed Description

Definition at line 26 of file grboard.h.

Constructor & Destructor Documentation

◆ cGrBoard()

cGrBoard::cGrBoard ( int  myid)

Definition at line 57 of file grboard.cpp.

◆ ~cGrBoard()

cGrBoard::~cGrBoard ( )

Definition at line 64 of file grboard.cpp.

Member Function Documentation

◆ dispGaph()

void cGrBoard::dispGaph ( tCarElt car)

◆ getTrackMap()

cGrTrackMap* cGrBoard::getTrackMap ( )
inline

Definition at line 65 of file grboard.h.

◆ grDispArcade()

void cGrBoard::grDispArcade ( tCarElt car,
tSituation s 
)
private

Definition at line 838 of file grboard.cpp.

Here is the call graph for this function:

◆ grDispCarBoard()

void cGrBoard::grDispCarBoard ( tCarElt car,
tSituation s 
)
private

Definition at line 518 of file grboard.cpp.

Here is the call graph for this function:

◆ grDispCarBoard1()

void cGrBoard::grDispCarBoard1 ( tCarElt car,
tSituation s 
)
private

Definition at line 275 of file grboard.cpp.

Here is the call graph for this function:

◆ grDispCarBoard2()

void cGrBoard::grDispCarBoard2 ( tCarElt car,
tSituation s 
)
private

Definition at line 365 of file grboard.cpp.

Here is the call graph for this function:

◆ grDispCounterBoard()

void cGrBoard::grDispCounterBoard ( tCarElt car)
private

Definition at line 628 of file grboard.cpp.

Here is the call graph for this function:

◆ grDispCounterBoard2()

void cGrBoard::grDispCounterBoard2 ( tCarElt car)
private

Definition at line 742 of file grboard.cpp.

Here is the call graph for this function:

◆ grDispDebug()

void cGrBoard::grDispDebug ( float  fps,
tCarElt car 
)
private

Definition at line 138 of file grboard.cpp.

Here is the call graph for this function:

◆ grDispGGraph()

void cGrBoard::grDispGGraph ( tCarElt car)
private

Definition at line 169 of file grboard.cpp.

◆ grDispLeaderBoard()

void cGrBoard::grDispLeaderBoard ( tCarElt car,
tSituation s 
)
private

Definition at line 647 of file grboard.cpp.

Here is the call graph for this function:

◆ grDispMisc()

void cGrBoard::grDispMisc ( tCarElt car)
private

Definition at line 258 of file grboard.cpp.

Here is the call graph for this function:

◆ grDrawGauge()

void cGrBoard::grDrawGauge ( tdble  X1,
tdble  Y1,
tdble  H,
float *  clr1,
float *  clr2,
tdble  val,
const char *  title 
)
private

Definition at line 225 of file grboard.cpp.

Here is the call graph for this function:

◆ initBoard()

void cGrBoard::initBoard ( void  )

Definition at line 821 of file grboard.cpp.

◆ initBoardCar()

void cGrBoard::initBoardCar ( tCarElt car)

◆ loadDefaults()

void cGrBoard::loadDefaults ( tCarElt curCar)

Definition at line 70 of file grboard.cpp.

Here is the call graph for this function:

◆ refreshBoard()

void cGrBoard::refreshBoard ( tSituation s,
float  Fps,
int  forceArcade,
tCarElt curr 
)

Definition at line 901 of file grboard.cpp.

Here is the call graph for this function:

◆ selectBoard()

void cGrBoard::selectBoard ( int  brd)

Definition at line 101 of file grboard.cpp.

Here is the call graph for this function:

◆ shutdown()

void cGrBoard::shutdown ( void  )

Definition at line 829 of file grboard.cpp.

Member Data Documentation

◆ arcadeFlag

int cGrBoard::arcadeFlag
protected

Definition at line 38 of file grboard.h.

◆ boardFlag

int cGrBoard::boardFlag
protected

Definition at line 31 of file grboard.h.

◆ counterFlag

int cGrBoard::counterFlag
protected

Definition at line 36 of file grboard.h.

◆ debugFlag

int cGrBoard::debugFlag
protected

Definition at line 34 of file grboard.h.

◆ GFlag

int cGrBoard::GFlag
protected

Definition at line 37 of file grboard.h.

◆ id

int cGrBoard::id
protected

Definition at line 29 of file grboard.h.

◆ leaderFlag

int cGrBoard::leaderFlag
protected

Definition at line 33 of file grboard.h.

◆ leaderNb

int cGrBoard::leaderNb
protected

Definition at line 35 of file grboard.h.

◆ trackMap

cGrTrackMap* cGrBoard::trackMap
private

Definition at line 54 of file grboard.h.


The documentation for this class was generated from the following files: