aboutsummaryrefslogtreecommitdiff
path: root/sky/sound.h
diff options
context:
space:
mode:
authorRobert Göffringmann2003-06-01 03:44:07 +0000
committerRobert Göffringmann2003-06-01 03:44:07 +0000
commitd67c53d756a1706a9796acf258ab2d29ddf54939 (patch)
tree0b17cba30a0f9ab5e0bce473044b56b85ae77fc2 /sky/sound.h
parent738497ef1413e8148d445389ab65144997652934 (diff)
downloadscummvm-rg350-d67c53d756a1706a9796acf258ab2d29ddf54939.tar.gz
scummvm-rg350-d67c53d756a1706a9796acf258ab2d29ddf54939.tar.bz2
scummvm-rg350-d67c53d756a1706a9796acf258ab2d29ddf54939.zip
basic ingame speech support
svn-id: r8220
Diffstat (limited to 'sky/sound.h')
-rw-r--r--sky/sound.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sky/sound.h b/sky/sound.h
index c141568e8d..348cfc4c99 100644
--- a/sky/sound.h
+++ b/sky/sound.h
@@ -35,7 +35,7 @@ public:
PlayingSoundHandle _voiceHandle;
PlayingSoundHandle _effectHandle;
PlayingSoundHandle _bgSoundHandle;
- PlayingSoundHandle _ingameSound;
+ PlayingSoundHandle _ingameSound, _ingameSpeech;
protected:
@@ -50,6 +50,7 @@ public:
void loadSection(uint8 pSection);
void playSound(uint16 sound, uint16 volume);
bool fnStartFx(uint32 sound);
+ void fnStartSpeech(uint16 textNum);
private:
SkyDisk *_skyDisk;
@@ -57,6 +58,8 @@ private:
uint16 _sfxBaseOfs;
uint8 *_soundData;
uint8 *_sampleRates, *_sfxInfo;
+
+ static uint16 _speechConvertTable[8];
};
#endif