From 1a984d8e7d1e8e4e6456c73004d2d0f6bfae10ee Mon Sep 17 00:00:00 2001 From: Florian Kagerer Date: Thu, 19 Nov 2009 22:17:27 +0000 Subject: LOL: add support for pc speaker sfx svn-id: r45992 --- engines/kyra/staticres.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engines/kyra/staticres.cpp') diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp index f10aea9741..aead2ff48e 100644 --- a/engines/kyra/staticres.cpp +++ b/engines/kyra/staticres.cpp @@ -45,7 +45,7 @@ namespace Kyra { -#define RESFILE_VERSION 62 +#define RESFILE_VERSION 63 namespace { bool checkKyraDat(Common::SeekableReadStream *file) { @@ -397,6 +397,7 @@ bool StaticResource::init() { { kLolMusicTrackMap, kRawData, "MUSIC.MAP" }, { kLolIngameGMSfxIndex, kRawData, "SFX_GM.MAP" }, { kLolIngameMT32SfxIndex, kRawData, "SFX_MT32.MAP" }, + { kLolIngamePcSpkSfxIndex, kRawData, "SFX_PCS.MAP" }, { kLolSpellProperties, kLolSpellData, "SPELLS.DEF" }, { kLolGameShapeMap, kRawData, "GAMESHP.MAP" }, { kLolSceneItemOffs, kRawData, "ITEMOFFS.DEF" }, @@ -1867,7 +1868,7 @@ void LoLEngine::initStaticResource() { _musicTrackMap = _staticres->loadRawData(kLolMusicTrackMap, _musicTrackMapSize); _ingameGMSoundIndex = _staticres->loadRawData(kLolIngameGMSfxIndex, _ingameGMSoundIndexSize); _ingameMT32SoundIndex = _staticres->loadRawData(kLolIngameMT32SfxIndex, _ingameMT32SoundIndexSize); - //_ingameADLSoundIndex = _staticres->loadRawData(kLolIngameADLSfxIndex, _ingameADLSoundIndexSize); + _ingamePCSpeakerSoundIndex = _staticres->loadRawData(kLolIngamePcSpkSfxIndex, _ingamePCSpeakerSoundIndexSize); _spellProperties = _staticres->loadSpellData(kLolSpellProperties, _spellPropertiesSize); _gameShapeMap = (const int8 *)_staticres->loadRawData(kLolGameShapeMap, _gameShapeMapSize); _sceneItemOffs = (const int8 *)_staticres->loadRawData(kLolSceneItemOffs, _sceneItemOffsSize); -- cgit v1.2.3