28 #ifndef WINTERMUTE_BASE_GAME_MUSIC_H 29 #define WINTERMUTE_BASE_GAME_MUSIC_H 31 #include "common/scummsys.h" 36 #define NUM_MUSIC_CHANNELS 5 37 class BasePersistenceManager;
49 bool resumeMusic(
int channel);
50 bool setMusicStartTime(
int channel, uint32 time);
51 bool pauseMusic(
int channel);
52 bool stopMusic(
int channel);
53 bool playMusic(
int channel,
const char *filename,
bool looping =
true, uint32 loopStart = 0);
54 bool updateMusicCrossfade();
61 uint32 _musicStartTime[NUM_MUSIC_CHANNELS];
62 bool _musicCrossfadeRunning;
63 bool _musicCrossfadeSwap;
64 uint32 _musicCrossfadeStartTime;
65 uint32 _musicCrossfadeLength;
66 int32 _musicCrossfadeChannel1;
67 int32 _musicCrossfadeChannel2;
68 int32 _musicCrossfadeVolume1;
69 int32 _musicCrossfadeVolume2;
Definition: base_game.h:76
Definition: base_persistence_manager.h:56
Definition: script_stack.h:41
Definition: base_sound.h:39
Definition: base_game_music.h:42
Definition: achievements_tables.h:27