25 #include "got/musicdriver.h" 26 #include "got/musicparser.h" 27 #include "got/data/defines.h" 28 #include "got/gfx/gfx_chunks.h" 30 #include "audio/mixer.h" 60 static const uint8 MUSIC_TIMER_FREQUENCY_GAME = 120;
61 static const uint8 MUSIC_TIMER_FREQUENCY_TITLE = 140;
63 byte *_soundData =
nullptr;
65 Header _digiSounds[NUM_SOUNDS];
67 byte _currentPriority = 0;
68 int8 _currentBossLoaded = 0;
70 const char *_currentMusic =
nullptr;
71 byte *_musicData =
nullptr;
75 const char *getMusicName(
int num)
const;
82 void setupBoss(
int num);
84 void playSound(
int index,
bool override);
86 bool soundPlaying()
const;
88 void musicPlay(
const int num,
const bool override) {
89 musicPlay(getMusicName(num),
override);
91 void musicPlay(
const char *name,
bool override);
95 bool musicIsOn()
const;
97 void syncSoundSettings();
100 extern void playSound(
int index,
bool override);
102 extern bool soundPlaying();
103 extern void musicPlay(
int num,
bool override);
104 extern void musicPlay(
const char *name,
bool override);
105 extern void musicPause();
106 extern void musicResume();
107 extern void setupBoss(
int num);
Definition: musicdriver.h:29
Definition: musicparser.h:31
Definition: gfx_chunks.h:38