From d4855ff81929b9d8faa854e428122271bbd0b219 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Thu, 18 Jun 2009 13:27:35 +0000 Subject: Splitting an ADLPlayer and MDYPlayer from the AdLib class svn-id: r41633 --- engines/gob/sound/sound.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'engines/gob/sound/sound.h') diff --git a/engines/gob/sound/sound.h b/engines/gob/sound/sound.h index a48002df4a..6f6c1d0469 100644 --- a/engines/gob/sound/sound.h +++ b/engines/gob/sound/sound.h @@ -34,7 +34,8 @@ namespace Gob { class GobEngine; class PCSpeaker; class SoundBlaster; -class AdLib; +class ADLPlayer; +class MDYPlayer; class Infogrames; class Protracker; class CDROM; @@ -79,10 +80,10 @@ public: // AdLib - bool adlibLoad(const char *fileName); - bool adlibLoad(byte *data, uint32 size, int index = -1); - bool adlibLoadMdy(const char *fileName); - bool adlibLoadTbr(const char *fileName); + bool adlibLoadADL(const char *fileName); + bool adlibLoadADL(byte *data, uint32 size, int index = -1); + bool adlibLoadMDY(const char *fileName); + bool adlibLoadTBR(const char *fileName); void adlibUnload(); void adlibPlayTrack(const char *trackname); @@ -143,11 +144,14 @@ public: private: GobEngine *_vm; + bool _hasAdLib; + SoundDesc _sounds[kSoundsCount]; PCSpeaker *_pcspeaker; SoundBlaster *_blaster; - AdLib *_adlib; + ADLPlayer *_adlPlayer; + MDYPlayer *_mdyPlayer; Infogrames *_infogrames; Protracker *_protracker; CDROM *_cdrom; -- cgit v1.2.3