aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/resource.h
diff options
context:
space:
mode:
authorFilippos Karapetis2009-05-25 19:57:09 +0000
committerFilippos Karapetis2009-05-25 19:57:09 +0000
commit16d649961774a2ed25f7c92b8b39c1152e9966c2 (patch)
treec2f2c604a8747a70e8474f8830d5a7140d7d9d27 /engines/sci/resource.h
parent183c9e56ed10eacef4131c0f40cc110b67d6c5fd (diff)
downloadscummvm-rg350-16d649961774a2ed25f7c92b8b39c1152e9966c2.tar.gz
scummvm-rg350-16d649961774a2ed25f7c92b8b39c1152e9966c2.tar.bz2
scummvm-rg350-16d649961774a2ed25f7c92b8b39c1152e9966c2.zip
WIP code for the speech in the floppy version of KQ6 (still needs work)
svn-id: r40894
Diffstat (limited to 'engines/sci/resource.h')
-rw-r--r--engines/sci/resource.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/engines/sci/resource.h b/engines/sci/resource.h
index f3593ded32..6f527645a7 100644
--- a/engines/sci/resource.h
+++ b/engines/sci/resource.h
@@ -312,8 +312,12 @@ public:
Audio::SoundHandle* getAudioHandle() { return &_audioHandle; }
int getAudioPosition();
- Audio::AudioStream* getAudioStream(uint16 audioNumber, int* sampleLen);
- Audio::AudioStream* getAudioStream(Resource* audioRes, int* sampleLen);
+
+ // TODO: these need better names
+ Audio::AudioStream* getAudioStreamKQ5CD(uint16 audioNumber, int* sampleLen);
+ Audio::AudioStream* getAudioStreamKQ5CD(Resource* audioRes, int* sampleLen);
+ Audio::AudioStream* getAudioStreamKQ6Floppy(uint16 audioNumber, int* sampleLen);
+ Audio::AudioStream* getAudioStreamKQ6Floppy(Resource* audioRes, int* sampleLen);
void stop() { g_system->getMixer()->stopHandle(_audioHandle); }
void pause() { g_system->getMixer()->pauseHandle(_audioHandle, true); }
@@ -325,7 +329,9 @@ private:
int16 _lang;
byte *_audioMap;
- bool findAudEntry(uint16 audioNumber, byte& volume, uint32& offset, uint32& size);
+ // TODO: these need better names
+ bool findAudEntryKQ5CD(uint16 audioNumber, byte& volume, uint32& offset, uint32& size);
+ bool findAudEntryKQ6Floppy(uint16 audioNumber, uint32& offset);
};
} // End of namespace Sci