#include <time.h>#include <stdlib.h>#include <stdio.h>#include <GL/glut.h>#include <plib/ssg.h>#include <tgfclient.h>#include <portability.h>#include <graphic.h>#include "grmain.h"#include "grshadow.h"#include "grskidmarks.h"#include "grsmoke.h"#include "grcar.h"#include "grscreen.h"#include "grcam.h"#include "grscene.h"#include "grsound.h"#include "grboard.h"#include "grutil.h"#include "grtrackmap.h"#include "grcarlight.h"#include <glfeatures.h>
Go to the source code of this file.
Functions | |
| bool | InitMultiTex (void) |
| static void | grAdaptScreenSize (void) |
| static void | grSplitScreen (int p) |
| static class cGrScreen * | grGetcurrentScreen (void) |
| static void | grSetZoom (int zoom) |
| static void | grSelectCamera (int camera) |
| static void | grSelectBoard (int board) |
| static void | grSelectTrackMap (void *) |
| static void | grPrevCar (void *) |
| static void | grNextCar (void *) |
| static void | grSwitchMirror (void *) |
| int | initView (int x, int y, int width, int height, int, void *screen) |
| int | refresh (tSituation *s) |
| int | initCars (tSituation *s) |
| void | shutdownCars (void) |
| int | initTrack (tTrack *track) |
| void | shutdownTrack (void) |
| void | muteForMenu (void) |
Variables | |
| int | maxTextureUnits = 0 |
| static double | OldTime |
| static int | nFrame |
| float | grFps |
| double | grCurTime |
| double | grDeltaTime |
| int | segIndice = 0 |
| tdble | grMaxDammage = 10000.0 |
| int | grNbCars = 0 |
| void * | grHandle = NULL |
| void * | grTrackHandle = NULL |
| int | grWinx |
| int | grWiny |
| int | grWinw |
| int | grWinh |
| static float | grMouseRatioX |
| static float | grMouseRatioY |
| tgrCarInfo * | grCarInfo |
| ssgContext | grContext |
| class cGrScreen * | grScreens [GR_NB_MAX_SCREEN] = {NULL, NULL, NULL, NULL} |
| int | grNbScreen = 1 |
| tdble | grLodFactorValue = 1.0 |
| EWheelDetail | grUseDetailedWheels = DETAILED |
|
static |
Definition at line 112 of file grmain.cpp.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| int initCars | ( | tSituation * | s | ) |
| bool InitMultiTex | ( | void | ) |
| int initTrack | ( | tTrack * | track | ) |
| int initView | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| int | flag, | ||
| void * | screen ) |
| void muteForMenu | ( | void | ) |
| int refresh | ( | tSituation * | s | ) |
| void shutdownCars | ( | void | ) |
| void shutdownTrack | ( | void | ) |
| tgrCarInfo* grCarInfo |
Definition at line 65 of file grmain.cpp.
| ssgContext grContext |
Definition at line 66 of file grmain.cpp.
| double grCurTime |
Definition at line 51 of file grmain.cpp.
| double grDeltaTime |
Definition at line 52 of file grmain.cpp.
| float grFps |
Definition at line 50 of file grmain.cpp.
| void* grHandle = NULL |
Definition at line 58 of file grmain.cpp.
| tdble grLodFactorValue = 1.0 |
Definition at line 69 of file grmain.cpp.
| tdble grMaxDammage = 10000.0 |
Definition at line 55 of file grmain.cpp.
|
static |
Definition at line 63 of file grmain.cpp.
|
static |
Definition at line 63 of file grmain.cpp.
| int grNbCars = 0 |
Definition at line 56 of file grmain.cpp.
| int grNbScreen = 1 |
Definition at line 68 of file grmain.cpp.
| class cGrScreen* grScreens[GR_NB_MAX_SCREEN] = {NULL, NULL, NULL, NULL} |
Definition at line 67 of file grmain.cpp.
| void* grTrackHandle = NULL |
Definition at line 59 of file grmain.cpp.
| EWheelDetail grUseDetailedWheels = DETAILED |
Definition at line 70 of file grmain.cpp.
| int grWinh |
Definition at line 61 of file grmain.cpp.
| int grWinw |
Definition at line 61 of file grmain.cpp.
| int grWinx |
Definition at line 61 of file grmain.cpp.
| int grWiny |
Definition at line 61 of file grmain.cpp.
| int maxTextureUnits = 0 |
Definition at line 47 of file grmain.cpp.
|
static |
Definition at line 49 of file grmain.cpp.
|
static |
Definition at line 48 of file grmain.cpp.
| int segIndice = 0 |
Definition at line 53 of file grmain.cpp.