22 #ifndef SCUMM_PLAYERS_PLAYER_V4A_H 23 #define SCUMM_PLAYERS_PLAYER_V4A_H 25 #include "common/scummsys.h" 26 #include "common/util.h" 27 #include "scumm/music.h" 28 #include "audio/mixer.h" 29 #include "audio/mods/tfmx.h" 58 Audio::Tfmx _tfmxMusic;
74 int getSfxChan(
int id)
const {
75 for (
int i = 0; i <
ARRAYSIZE(_sfxSlots); ++i)
76 if (_sfxSlots[i].
id ==
id)
81 void setSfxSlot(
int channel,
int id, byte type = 0) {
82 _sfxSlots[channel].id = id;
86 void clearSfxSlots() {
87 for (
int i = 0; i <
ARRAYSIZE(_sfxSlots); ++i){
#define ARRAYSIZE(x)
Definition: util.h:91
int getSoundStatus(int sound) const override
void startSound(int sound) override
Definition: serializer.h:79
void saveLoadWithSerializer(Common::Serializer &ser) override
int getMusicTimer() override
void stopSound(int sound) override
void stopAllSounds() override
void restoreAfterLoad() override
Definition: player_v4a.h:40
void setMusicVolume(int vol) override