_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
music.cpp - Background music support | |
| #define | SoundFrequency 44100 |
| static SDL_mutex * | MusicFinishedMutex |
| static bool | MusicFinished |
| Mutex for MusicFinished. More... | |
| bool | CallbackMusic |
| Music ended and we need a new file. More... | |
| static void | MusicFinishedCallback () |
| flag true callback ccl if stops More... | |
| void | CheckMusicFinished (bool force) |
| Check if music is finished and play the next song. More... | |
| void | InitMusic () |
| Initialize music. More... | |
| #define SoundFrequency 44100 |
| void CheckMusicFinished | ( | bool | force | ) |
Check if music is finished and play the next song.
Check if music is finished and play the next song
| void InitMusic | ( | ) |
Initialize music.
Init music
|
static |
flag true callback ccl if stops
Callback for when music has finished Note: we are in the sdl audio thread
| bool CallbackMusic |
Music ended and we need a new file.
Game sound configuration.
|
static |
Mutex for MusicFinished.
|
static |
1.8.9.1
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.