#include <math.h>
#include <stdlib.h>
#include <sys/types.h>
#include <stdio.h>
#include <ctype.h>
#include <GL/glut.h>
#include <plib/ssg.h>
#include <tgfclient.h>
#include <track.h>
#include <car.h>
#include <graphic.h>
#include <robottools.h>
#include <portability.h>
#include "grmain.h"
#include "grshadow.h"
#include "grskidmarks.h"
#include "grsmoke.h"
#include "grcar.h"
#include "grcam.h"
#include "grscene.h"
#include "grboard.h"
#include "grssgext.h"
#include "grutil.h"
#include "grcarlight.h"
Go to the source code of this file.
|
| ssgEntity * | grssgLoadAC3D (const char *fname, const ssgLoaderOptions *options) |
| |
| ssgEntity * | grssgCarLoadAC3D (const char *fname, const ssgLoaderOptions *options, int index) |
| |
| void | grInitCommonState (void) |
| |
| static ssgTransform * | initWheel (tCarElt *car, int wheel_index) |
| |
| void | grInitShadow (tCarElt *car) |
| |
| void | grPropagateDamage (ssgEntity *l, sgVec3 poc, sgVec3 force, int cnt) |
| |
| void | grInitCar (tCarElt *car) |
| |
| static void | grDrawShadow (tCarElt *car, int visible) |
| |
| tdble | grGetDistToStart (tCarElt *car) |
| |
| void | grDrawCar (tCarElt *car, tCarElt *curCar, int dispCarFlag, int dispDrvFlag, double curTime, class cGrPerspCamera *curCam) |
| |
◆ BRK_ANGLE
◆ BRK_BRANCH
◆ BRK_OFFSET
◆ MULT
◆ grDrawCar()
◆ grDrawShadow()
| static void grDrawShadow |
( |
tCarElt * |
car, |
|
|
int |
visible |
|
) |
| |
|
static |
◆ grGetDistToStart()
◆ grInitCar()
◆ grInitCommonState()
| void grInitCommonState |
( |
void |
| ) |
|
◆ grInitShadow()
◆ grPropagateDamage()
| void grPropagateDamage |
( |
ssgEntity * |
l, |
|
|
sgVec3 |
poc, |
|
|
sgVec3 |
force, |
|
|
int |
cnt |
|
) |
| |
◆ grssgCarLoadAC3D()
| ssgEntity* grssgCarLoadAC3D |
( |
const char * |
fname, |
|
|
const ssgLoaderOptions * |
options, |
|
|
int |
index |
|
) |
| |
◆ grssgLoadAC3D()
| ssgEntity* grssgLoadAC3D |
( |
const char * |
fname, |
|
|
const ssgLoaderOptions * |
options |
|
) |
| |
◆ initWheel()
| static ssgTransform* initWheel |
( |
tCarElt * |
car, |
|
|
int |
wheel_index |
|
) |
| |
|
static |
◆ brakeState
| ssgSimpleState* brakeState = NULL |
|
static |
◆ CarsAnchorTmp
| ssgBranch* CarsAnchorTmp = 0 |
◆ carTrackRatioX
◆ carTrackRatioY
◆ commonState
| ssgSimpleState* commonState = NULL |
|
static |
◆ GR_SHADOW_POINTS
| const int GR_SHADOW_POINTS = 6 |
|
static |
◆ grCarIndex