TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
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)
cGrTrackMap * getTrackMap ()
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

cGrTrackMap * trackMap

Detailed Description

Definition at line 26 of file grboard.h.

Constructor & Destructor Documentation

◆ cGrBoard()

cGrBoard::cGrBoard ( int myid)

Definition at line 56 of file grboard.cpp.

◆ ~cGrBoard()

cGrBoard::~cGrBoard ( )

Definition at line 63 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 835 of file grboard.cpp.

Here is the call graph for this function:

◆ grDispCarBoard()

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

Definition at line 515 of file grboard.cpp.

Here is the call graph for this function:

◆ grDispCarBoard1()

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

Definition at line 274 of file grboard.cpp.

Here is the call graph for this function:

◆ grDispCarBoard2()

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

Definition at line 364 of file grboard.cpp.

Here is the call graph for this function:

◆ grDispCounterBoard()

void cGrBoard::grDispCounterBoard ( tCarElt * car)
private

Definition at line 625 of file grboard.cpp.

Here is the call graph for this function:

◆ grDispCounterBoard2()

void cGrBoard::grDispCounterBoard2 ( tCarElt * car)
private

Definition at line 739 of file grboard.cpp.

Here is the call graph for this function:

◆ grDispDebug()

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

Definition at line 137 of file grboard.cpp.

Here is the call graph for this function:

◆ grDispGGraph()

void cGrBoard::grDispGGraph ( tCarElt * car)
private

Definition at line 168 of file grboard.cpp.

◆ grDispLeaderBoard()

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

Definition at line 644 of file grboard.cpp.

Here is the call graph for this function:

◆ grDispMisc()

void cGrBoard::grDispMisc ( tCarElt * car)
private

Definition at line 257 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 224 of file grboard.cpp.

Here is the call graph for this function:

◆ initBoard()

void cGrBoard::initBoard ( void )

Definition at line 818 of file grboard.cpp.

◆ initBoardCar()

void cGrBoard::initBoardCar ( tCarElt * car)

◆ loadDefaults()

void cGrBoard::loadDefaults ( tCarElt * curCar)

Definition at line 69 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 898 of file grboard.cpp.

Here is the call graph for this function:

◆ selectBoard()

void cGrBoard::selectBoard ( int brd)

Definition at line 100 of file grboard.cpp.

Here is the call graph for this function:

◆ shutdown()

void cGrBoard::shutdown ( void )

Definition at line 826 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:
  • C:/Users/berni/Development/torcs_git/torcs-code/torcs/torcs/src/modules/graphic/ssggraph/grboard.h
  • C:/Users/berni/Development/torcs_git/torcs-code/torcs/torcs/src/modules/graphic/ssggraph/grboard.cpp