![]() |
torcs - 1.2.2 | ![]() |
#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 "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"
Include dependency graph for grcar.cpp:
Compounds | |
class | myLoaderOptions |
Defines | |
#define | BRK_BRANCH 16 |
#define | BRK_ANGLE (2.0 * M_PI / (tdble)BRK_BRANCH) |
#define | BRK_OFFSET 0.1 |
#define | WHL_BRANCH 16 |
#define | GR_SHADOW_POINTS 6 |
#define | MULT 1.1 |
Functions | |
ssgEntity * | grssgLoadAC3D (const char *fname, const ssgLoaderOptions *options) |
ssgEntity * | grssgCarLoadAC3D (const char *fname, const ssgLoaderOptions *options, int index) |
void | grInitCommonState (void) |
void | grInitShadow (tCarElt *car) |
void | grInitCar (tCarElt *car) |
tdble | grGetDistToStart (tCarElt *car) |
void | grDrawCar (tCarElt *car, tCarElt *curCar, int dispCarFlag, int dispDrvFlag, double curTime, class cGrPerspCamera *curCam) |
Variables | |
double | carTrackRatioX |
double | carTrackRatioY |
ssgBranch * | CarsAnchorTmp = 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|