diff options
author | Johannes Schickel | 2009-05-27 14:40:37 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-05-27 14:40:37 +0000 |
commit | 2bcf5c0552cf0778eb2642608134c6c0e4f3028e (patch) | |
tree | 50a6e0782d9137fd9a58ae304c4d57918a603ce3 /engines/kyra/staticres.cpp | |
parent | e0a059394975b0dc9c52f3152488ee3bad0594c0 (diff) | |
download | scummvm-rg350-2bcf5c0552cf0778eb2642608134c6c0e4f3028e.tar.gz scummvm-rg350-2bcf5c0552cf0778eb2642608134c6c0e4f3028e.tar.bz2 scummvm-rg350-2bcf5c0552cf0778eb2642608134c6c0e4f3028e.zip |
- Moved Sound implementation declarations to the newly added file sound_intern.h
- Added support for PC Speaker sound in all Kyra1, Kyra2 and Lands of Lore
- Slight cleanup
svn-id: r40939
Diffstat (limited to 'engines/kyra/staticres.cpp')
-rw-r--r-- | engines/kyra/staticres.cpp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp index 02c432df2a..4572ffee69 100644 --- a/engines/kyra/staticres.cpp +++ b/engines/kyra/staticres.cpp @@ -2390,6 +2390,38 @@ const int8 KyraEngine_HoF::_gmSfxMap[] = { const int KyraEngine_HoF::_gmSfxMapSize = ARRAYSIZE(KyraEngine_HoF::_gmSfxMap); +const int8 KyraEngine_HoF::_pcSpkSfxMap[] = { + -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 0, 1, 2, 3, 4, + 5, 6, -1, 7, 8, 9, 10, -1, + 6, -1, -1, 11, -1, 12, -1, -1, + -1, -1, -1, 13, -1, 39, 14, 15, + 3, 16, 16, -1, -1, -1, 17, 18, + 5, -1, -1, -1, -1, -1, 19, 20, + 21, -1, 22, 23, -1, -1, -1, -1, + -1, -1, 39, -1, 24, 24, 25, 26, + 27, 28, 29, 30, 31, 32, -1, -1, + -1, 2, -1, -1, -1, -1, -1, 21, + 10, -1, -1, -1, -1, 17, -1, 17, + 40, -1, 18, 38, -1, 40, 33, -1, + 34, 35, 36, 37, 38, 39, 40, 41, + -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 42, 43, 44, 45, -1, -1, + -1, -1, -1, -1, 46, -1, 5, 47, + 48, -1, -1, -1, -1, -1, 49, 50, + -1, 40, -1, 24, -1, -1, 43, -1, + -1, 38, -1, -1, -1, 51, -1, -1, + -1, -1, -1, -1, -1, 9, -1, 52, + 53, 40, -1, -1, -1, -1, -1, -1, + -1, -1, 50, -1, -1, -1, 11, 54, + 5, -1, -1, -1, -1, 11, 7, 55, + 8, 36, -1, -1, -1, -1, -1, -1, + 11, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 24 +}; + +const int KyraEngine_HoF::_pcSpkSfxMapSize = ARRAYSIZE(KyraEngine_HoF::_pcSpkSfxMap); + void KyraEngine_HoF::initInventoryButtonList() { delete[] _inventoryButtons; |