 |
torcs - 1.2.2 |
 |
cGrScreen Class Reference
#include <grscreen.h>
Collaboration diagram for cGrScreen:
[legend]List of all members.
|
Public Member Functions |
| cGrScreen (int id) |
| ~cGrScreen () |
void | activate (int x, int y, int w, int h) |
void | desactivate (void) |
void | setZoom (int zoom) |
int | isInScreen (int x, int y) |
void | update (tSituation *s, float Fps) |
void | camDraw (tSituation *s) |
void | updateCurrent (tSituation *s) |
void | selectCamera (int cam) |
void | selectBoard (int brd) |
void | selectTrackMap () |
void | setCurrentCar (tCarElt *newCurCar) |
void | initCams (tSituation *s) |
void | initBoard (void) |
void | selectNextCar (void) |
void | selectPrevCar (void) |
void | switchMirror (void) |
tCarElt * | getCurrentCar (void) |
float | getViewRatio (void) |
int | getCurCamHead (void) |
int | isActive (void) |
int | getId (void) |
int | getScrX (void) |
int | getScrY (void) |
int | getScrW (void) |
int | getScrH (void) |
| cGrScreen (int id) |
| ~cGrScreen () |
void | activate (int x, int y, int w, int h) |
void | desactivate (void) |
void | setZoom (int zoom) |
int | isInScreen (int x, int y) |
void | update (tSituation *s, float Fps) |
void | camDraw (tSituation *s) |
void | updateCurrent (tSituation *s) |
void | selectCamera (int cam) |
void | selectBoard (int brd) |
void | selectTrackMap () |
void | setCurrentCar (tCarElt *newCurCar) |
void | initCams (tSituation *s) |
void | initBoard (void) |
void | selectNextCar (void) |
void | selectPrevCar (void) |
void | switchMirror (void) |
tCarElt * | getCurrentCar (void) |
float | getViewRatio (void) |
int | getCurCamHead (void) |
int | isActive (void) |
int | getId (void) |
int | getScrX (void) |
int | getScrY (void) |
int | getScrW (void) |
int | getScrH (void) |
Protected Member Functions |
void | loadParams (tSituation *s) |
void | loadParams (tSituation *s) |
Protected Attributes |
int | id |
tCarElt * | curCar |
tCarElt ** | cars |
int | curCamHead |
tGrCamHead | cams [10] |
cGrPerspCamera * | curCam |
cGrCarCamMirror * | mirrorCam |
cGrPerspCamera * | dispCam |
cGrOrthoCamera * | boardCam |
cGrBackgroundCam * | bgCam |
cGrBoard * | board |
int | drawCurrent |
int | scrx |
int | scry |
int | scrw |
int | scrh |
float | viewRatio |
int | active |
int | selectNextFlag |
int | selectPrevFlag |
int | mirrorFlag |
tCarElt * | curCar |
tCarElt ** | cars |
cGrPerspCamera * | curCam |
cGrCarCamMirror * | mirrorCam |
cGrPerspCamera * | dispCam |
cGrOrthoCamera * | boardCam |
cGrBackgroundCam * | bgCam |
cGrBoard * | board |
Constructor & Destructor Documentation
cGrScreen::cGrScreen |
( |
int |
id |
) |
|
|
Here is the call graph for this function:
cGrScreen::cGrScreen |
( |
int |
id |
) |
|
|
Member Function Documentation
void cGrScreen::activate |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
w, |
|
|
int |
h |
|
) |
|
|
void cGrScreen::activate |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
w, |
|
|
int |
h |
|
) |
|
|
Here is the call graph for this function:
Here is the call graph for this function:
void cGrScreen::desactivate |
( |
void |
|
) |
|
|
void cGrScreen::desactivate |
( |
void |
|
) |
|
|
int cGrScreen::getCurCamHead |
( |
void |
|
) |
[inline] |
|
int cGrScreen::getCurCamHead |
( |
void |
|
) |
[inline] |
|
tCarElt* cGrScreen::getCurrentCar |
( |
void |
|
) |
[inline] |
|
tCarElt* cGrScreen::getCurrentCar |
( |
void |
|
) |
[inline] |
|
int cGrScreen::getId |
( |
void |
|
) |
[inline] |
|
int cGrScreen::getId |
( |
void |
|
) |
[inline] |
|
int cGrScreen::getScrH |
( |
void |
|
) |
[inline] |
|
int cGrScreen::getScrH |
( |
void |
|
) |
[inline] |
|
int cGrScreen::getScrW |
( |
void |
|
) |
[inline] |
|
int cGrScreen::getScrW |
( |
void |
|
) |
[inline] |
|
int cGrScreen::getScrX |
( |
void |
|
) |
[inline] |
|
int cGrScreen::getScrX |
( |
void |
|
) |
[inline] |
|
int cGrScreen::getScrY |
( |
void |
|
) |
[inline] |
|
int cGrScreen::getScrY |
( |
void |
|
) |
[inline] |
|
float cGrScreen::getViewRatio |
( |
void |
|
) |
[inline] |
|
float cGrScreen::getViewRatio |
( |
void |
|
) |
[inline] |
|
void cGrScreen::initBoard |
( |
void |
|
) |
|
|
void cGrScreen::initBoard |
( |
void |
|
) |
|
|
Here is the call graph for this function:
Here is the call graph for this function:
int cGrScreen::isActive |
( |
void |
|
) |
[inline] |
|
int cGrScreen::isActive |
( |
void |
|
) |
[inline] |
|
int cGrScreen::isInScreen |
( |
int |
x, |
|
|
int |
y |
|
) |
|
|
int cGrScreen::isInScreen |
( |
int |
x, |
|
|
int |
y |
|
) |
|
|
void cGrScreen::loadParams |
( |
tSituation * |
s |
) |
[protected] |
|
void cGrScreen::loadParams |
( |
tSituation * |
s |
) |
[protected] |
|
Here is the call graph for this function:
void cGrScreen::selectBoard |
( |
int |
brd |
) |
|
|
void cGrScreen::selectBoard |
( |
int |
brd |
) |
|
|
Here is the call graph for this function:
void cGrScreen::selectCamera |
( |
int |
cam |
) |
|
|
void cGrScreen::selectCamera |
( |
int |
cam |
) |
|
|
Here is the call graph for this function:
void cGrScreen::selectNextCar |
( |
void |
|
) |
|
|
void cGrScreen::selectNextCar |
( |
void |
|
) |
|
|
void cGrScreen::selectPrevCar |
( |
void |
|
) |
|
|
void cGrScreen::selectPrevCar |
( |
void |
|
) |
|
|
void cGrScreen::selectTrackMap |
( |
|
) |
|
|
void cGrScreen::selectTrackMap |
( |
|
) |
|
|
Here is the call graph for this function:
void cGrScreen::setCurrentCar |
( |
tCarElt * |
newCurCar |
) |
|
|
void cGrScreen::setCurrentCar |
( |
tCarElt * |
newCurCar |
) |
|
|
void cGrScreen::setZoom |
( |
int |
zoom |
) |
|
|
void cGrScreen::setZoom |
( |
int |
zoom |
) |
|
|
Here is the call graph for this function:
void cGrScreen::switchMirror |
( |
void |
|
) |
|
|
void cGrScreen::switchMirror |
( |
void |
|
) |
|
|
Here is the call graph for this function:
void cGrScreen::update |
( |
tSituation * |
s, |
|
|
float |
Fps |
|
) |
|
|
void cGrScreen::update |
( |
tSituation * |
s, |
|
|
float |
Fps |
|
) |
|
|
Here is the call graph for this function:
Member Data Documentation
The documentation for this class was generated from the following files:
Generated at Thu Feb 26 21:54:05 2004 for torcs by
1.3.3 written by Dimitri van Heesch,
© 1997-1999
TORCS © Eric Espié 1999, 2002.