diff options
author | Willem Jan Palenstijn | 2015-02-14 15:20:23 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-02-15 14:05:36 +0100 |
commit | 5028487038fd3572d68af3cd253fc28917245e63 (patch) | |
tree | 2eae0cb30478a7ab94ff075942e9c1044348da88 /engines/sci/resource.h | |
parent | 0018bb0f6f36fd1798ec92d2e7e6654e026fe19b (diff) | |
download | scummvm-rg350-5028487038fd3572d68af3cd253fc28917245e63.tar.gz scummvm-rg350-5028487038fd3572d68af3cd253fc28917245e63.tar.bz2 scummvm-rg350-5028487038fd3572d68af3cd253fc28917245e63.zip |
SCI: Use sound resource priority by default for songs
SCI1 sound resources can have an embedded priority. We now use that by
default, unless an explicit DoSound/SetPriority call overrides it.
Thanks waltervn.
This fixes relative priority of songs in at least PQ3 room 29.
Also increase savegame version to 33.
Diffstat (limited to 'engines/sci/resource.h')
-rw-r--r-- | engines/sci/resource.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/resource.h b/engines/sci/resource.h index 62f3c584ac..ef48998b04 100644 --- a/engines/sci/resource.h +++ b/engines/sci/resource.h @@ -596,6 +596,7 @@ public: Track *getDigitalTrack(); int getChannelFilterMask(int hardwareMask, bool wantsRhythm); byte getInitialVoiceCount(byte channel); + byte getSoundPriority() const { return _soundPriority; } private: SciVersion _soundVersion; @@ -603,6 +604,7 @@ private: Track *_tracks; Resource *_innerResource; ResourceManager *_resMan; + byte _soundPriority; }; } // End of namespace Sci |