diff options
author | Nicola Mettifogo | 2007-05-01 15:39:40 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-05-01 15:39:40 +0000 |
commit | 008042ac2538bebfce013cb0ec4efa4a5600e4bb (patch) | |
tree | 3c1107a6a9323641201a6ebb11960214891c3cc9 /engines/parallaction/disk.h | |
parent | d520bdfcb8f70e8fd4448ea404d9e5fa993f23ca (diff) | |
download | scummvm-rg350-008042ac2538bebfce013cb0ec4efa4a5600e4bb.tar.gz scummvm-rg350-008042ac2538bebfce013cb0ec4efa4a5600e4bb.tar.bz2 scummvm-rg350-008042ac2538bebfce013cb0ec4efa4a5600e4bb.zip |
Implemented a IFF (Interchange File Format) parser and added subclasses to parse graphics (ILBM, PBM) and audio (8SVX), thus replacing old decoding routines. SAGA and Parallaction have been adjusted to work with the new code.
svn-id: r26719
Diffstat (limited to 'engines/parallaction/disk.h')
-rw-r--r-- | engines/parallaction/disk.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/parallaction/disk.h b/engines/parallaction/disk.h index ea3ad6523f..14c671b02b 100644 --- a/engines/parallaction/disk.h +++ b/engines/parallaction/disk.h @@ -26,6 +26,10 @@ #include "parallaction/defs.h" #include "common/file.h" +namespace Audio { + class AudioStream; +} + namespace Parallaction { //------------------------------------------------------ @@ -112,6 +116,7 @@ public: virtual void loadScenery(const char* background, const char* mask) = 0; virtual Table* loadTable(const char* name) = 0; virtual Common::ReadStream* loadMusic(const char* name) = 0; + virtual Common::ReadStream* loadSound(const char* name) = 0; }; class DosDisk : public Disk { @@ -147,6 +152,7 @@ public: void loadScenery(const char* background, const char* mask); Table* loadTable(const char* name); Common::ReadStream* loadMusic(const char* name); + Common::ReadStream* loadSound(const char* name); }; class AmigaDisk : public Disk { @@ -178,6 +184,7 @@ public: void loadScenery(const char* background, const char* mask); Table* loadTable(const char* name); Common::ReadStream* loadMusic(const char* name); + Common::ReadStream* loadSound(const char* name); }; } // namespace Parallaction |