aboutsummaryrefslogtreecommitdiff
path: root/sky/sound.h
diff options
context:
space:
mode:
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