#include <math.h>#include <tgfclient.h>#include <graphic.h>#include <car.h>#include <portability.h>#include "grsound.h"#include "grmain.h"#include "sound_defines.h"#include "SoundInterface.h"#include "CarSoundData.h"
Go to the source code of this file.
Enumerations | |
| enum | SoundMode { DISABLED, OPENAL_MODE, PLIB_MODE } |
Functions | |
| void | grInitSound (tSituation *s, int ncars) |
| void | grShutdownSound (int ncars) |
| float | grRefreshSound (tSituation *s, cGrCamera *camera) |
| void | grMuteForMenu (void) |
Variables | |
| static int | soundInitialized = 0 |
| static double | lastUpdated |
| static SoundInterface * | sound_interface = NULL |
| static CarSoundData ** | car_sound_data = NULL |
| static enum SoundMode | sound_mode = OPENAL_MODE |
| enum SoundMode |
| Enumerator | |
|---|---|
| DISABLED | |
| OPENAL_MODE | |
| PLIB_MODE | |
Definition at line 40 of file grsound.cpp.
| void grInitSound | ( | tSituation * | s, |
| int | ncars | ||
| ) |
| void grMuteForMenu | ( | void | ) |
| float grRefreshSound | ( | tSituation * | s, |
| cGrCamera * | camera | ||
| ) |
| void grShutdownSound | ( | int | ncars | ) |
Definition at line 172 of file grsound.cpp.
|
static |
Definition at line 38 of file grsound.cpp.
|
static |
Definition at line 35 of file grsound.cpp.
|
static |
Definition at line 37 of file grsound.cpp.
|
static |
Definition at line 42 of file grsound.cpp.
|
static |
Definition at line 34 of file grsound.cpp.