27 #ifndef _GRTRACKMAP_H_ 28 #define _GRTRACKMAP_H_ 42 #define TRACK_MAP_NONE (1<<0) 43 #define TRACK_MAP_NORMAL (1<<1) 44 #define TRACK_MAP_NORMAL_WITH_OPPONENTS (1<<2) 45 #define TRACK_MAP_PAN (1<<3) 46 #define TRACK_MAP_PAN_WITH_OPPONENTS (1<<4) 47 #define TRACK_MAP_PAN_ALIGNED (1<<5) 48 #define TRACK_MAP_PAN_ALIGNED_WITH_OPPONENTS (1<<6) 51 #define TRACK_MAP_MASK (1<<6) 159 #endif // _GRTRACKMAP_H_
static float track_x_ratio
static const float RESOLUTION
cars situation used to inform the GUI and the drivers
static GLfloat aheadCarColor[4]
void checkAndSetMaximum(float ¤tmax, float &value)
void drawTrackPanningAligned(int Winx, int Winy, int Winw, int Winh, tCarElt *currentCar, tSituation *s)
void display(tCarElt *currentCar, tSituation *situation, int Winx, int Winy, int Winw, int Winh)
void drawTrackPanning(int Winx, int Winy, int Winw, int Winh, tCarElt *currentCar, tSituation *situation)
static GLfloat currentCarColor[4]
static const float MINLINEWIDTH
static float track_y_ratio
static GLfloat behindCarColor[4]
This is the car structure.
This is the race information structures.
void drawCars(tCarElt *currentCar, tSituation *s, int x, int y)
void checkAndSetMinimum(float ¤tmin, float &value)
void drawCar(tCarElt *currentCar, GLfloat *color, int x, int y)
void drawTrackNormal(int x, int y)
Track Structure and Track Loader Module Definition.
static float track_height
static const float MAXLINEWIDTH