|
coastline 0.0.4
|
The sound effects of a race. More...
#include "common/types.h"

Go to the source code of this file.
Classes | |
| struct | SoundEffect |
| A sound effect of a race, as LoadAllSoundEffects() loads it. More... | |
Macros | |
| #define | SOUND_EFFECTS 16 |
| The sound effects of a race. | |
| #define | SOUND_EFFECT_FIRST_SKID SOUND_EFFECT_SKID_SURFACE_2 |
| The first skid sound. | |
| #define | SOUND_EFFECT_FIRST_ROLL SOUND_EFFECT_ROLL_SURFACE_1 |
| The first rolling sound. | |
| #define | SOUND_EFFECT_ROLL_END (SOUND_EFFECT_SLOW_SURFACE + 1) |
| The end of the rolling sounds. | |
Enumerations | |
| enum | { SOUND_EFFECT_NONE , SOUND_EFFECT_ENGINE = SOUND_EFFECT_NONE , SOUND_EFFECT_VEHICLE_IMPACT , SOUND_EFFECT_IMPACT , SOUND_EFFECT_LANDING , SOUND_EFFECT_SKID_SURFACE_2 , SOUND_EFFECT_SKID_SURFACE_1 , SOUND_EFFECT_6 , SOUND_EFFECT_SKID_SURFACE_0 , SOUND_EFFECT_ROLL_SURFACE_1 , SOUND_EFFECT_ROLL_SURFACE_2 , SOUND_EFFECT_ROLL_SURFACE_0 , SOUND_EFFECT_ROLL_SNOW , SOUND_EFFECT_SLOW_SURFACE , SOUND_EFFECT_BEEP , SOUND_EFFECT_GO , SOUND_EFFECT_WATERFALL } |
| The sound effects: the engine, which the airplane shares, the hits, the skids and the rolling on each surface of the track, the countdown and the waterfall. More... | |
Functions | |
| void | LoadAllSoundEffects (void) |
| Load the sound effects of a race and start their channels muted. | |
| void | PlaySoundEffect (s32 sound) |
| Play a sound effect once on channel 3. | |
| void | PlayBeepSound (void) |
| Play the beep of the countdown, and of the laps. | |
| void | PlayGoSound (void) |
| Play the sound of the start of the race. | |
Variables | |
| SoundEffect | g_aSoundEffects [SOUND_EFFECTS] |
| The sound effects of a race. | |
| s32 | g_dwChannel3PlayingSfxId |
| The sound effect channel 3 plays once, or -1. | |
The sound effects of a race.
| #define SOUND_EFFECTS 16 |
The sound effects of a race.
| #define SOUND_EFFECT_FIRST_SKID SOUND_EFFECT_SKID_SURFACE_2 |
The first skid sound.
| #define SOUND_EFFECT_FIRST_ROLL SOUND_EFFECT_ROLL_SURFACE_1 |
The first rolling sound.
| #define SOUND_EFFECT_ROLL_END (SOUND_EFFECT_SLOW_SURFACE + 1) |
The end of the rolling sounds.
| anonymous enum |
The sound effects: the engine, which the airplane shares, the hits, the skids and the rolling on each surface of the track, the countdown and the waterfall.
The skids run from 4 to 7 and the rolling from 8 to 12; surfaces 0 and 3 share theirs.
| void LoadAllSoundEffects | ( | void | ) |
Load the sound effects of a race and start their channels muted.
| void PlaySoundEffect | ( | s32 | sound | ) |
Play a sound effect once on channel 3.
| sound | The sound effect. |
| void PlayBeepSound | ( | void | ) |
Play the beep of the countdown, and of the laps.
| void PlayGoSound | ( | void | ) |
Play the sound of the start of the race.
|
extern |
The sound effects of a race.
|
extern |
The sound effect channel 3 plays once, or -1.