aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound/sound_intern.h
diff options
context:
space:
mode:
authorathrxx2019-11-16 22:00:30 +0100
committerathrxx2019-12-18 20:50:41 +0100
commit7cae73aae3775e82ca8e78abe7809d125b67ccc3 (patch)
tree0581903d17feab307e052af6e264e449ce9e45cf /engines/kyra/sound/sound_intern.h
parentf74f4929a043e278ea5bd989eeac17c18c756e22 (diff)
downloadscummvm-rg350-7cae73aae3775e82ca8e78abe7809d125b67ccc3.tar.gz
scummvm-rg350-7cae73aae3775e82ca8e78abe7809d125b67ccc3.tar.bz2
scummvm-rg350-7cae73aae3775e82ca8e78abe7809d125b67ccc3.zip
KYRA: (EOB/PC98) - initial startup fix
- hook up static resources, sound code, etc - nothing really working yet, though (except the music)
Diffstat (limited to 'engines/kyra/sound/sound_intern.h')
-rw-r--r--engines/kyra/sound/sound_intern.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/engines/kyra/sound/sound_intern.h b/engines/kyra/sound/sound_intern.h
index 29572f6fe2..44f7adbfe2 100644
--- a/engines/kyra/sound/sound_intern.h
+++ b/engines/kyra/sound/sound_intern.h
@@ -443,6 +443,37 @@ private:
bool _ready;
};
+class MLALF98;
+class SoundPC98_EoB : public Sound {
+public:
+ SoundPC98_EoB(KyraEngine_v1 *vm, Audio::Mixer *mixer);
+ virtual ~SoundPC98_EoB();
+
+ kType getMusicType() const;
+
+ bool init();
+ void initAudioResourceInfo(int set, void *info);
+ void selectAudioResourceSet(int set);
+ bool hasSoundFile(uint file) const { return false; }
+ void loadSoundFile(uint file);
+ void loadSoundFile(Common::String file) {}
+ void loadSfxFile(Common::String file);
+ void playTrack(uint8 track);
+ void haltTrack();
+ void playSoundEffect(uint8 track, uint8);
+ void beginFadeOut() {}
+ void updateVolumeSettings();
+
+private:
+ KyraEngine_v1 *_vm;
+ MLALF98 *_driver;
+
+ SoundResourceInfo_PC *_resInfo[3];
+ int _currentResourceSet;
+
+ bool _ready;
+};
+
#endif
} // End of namespace Kyra