diff options
author | Willem Jan Palenstijn | 2014-10-19 13:01:56 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-02-15 14:01:44 +0100 |
commit | 0018bb0f6f36fd1798ec92d2e7e6654e026fe19b (patch) | |
tree | e12f8268e0a8a434fa769344a526957eb852b84a /engines/sci/sound/music.h | |
parent | 0aadd20aeaac1d241087e913a2bf8171bb0def68 (diff) | |
download | scummvm-rg350-0018bb0f6f36fd1798ec92d2e7e6654e026fe19b.tar.gz scummvm-rg350-0018bb0f6f36fd1798ec92d2e7e6654e026fe19b.tar.bz2 scummvm-rg350-0018bb0f6f36fd1798ec92d2e7e6654e026fe19b.zip |
SCI: Give songs that start playing later higher priority
Diffstat (limited to 'engines/sci/sound/music.h')
-rw-r--r-- | engines/sci/sound/music.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sci/sound/music.h b/engines/sci/sound/music.h index 0fbd5a0c0e..1347177054 100644 --- a/engines/sci/sound/music.h +++ b/engines/sci/sound/music.h @@ -75,6 +75,8 @@ public: SoundResource *soundRes; uint16 resourceId; + int time; // "tim"estamp to indicate in which order songs have been added + bool isQueued; // for SCI0 only! uint16 dataInc; @@ -267,6 +269,9 @@ private: int _driverLastChannel; MusicEntry *_currentlyPlayingSample; + + int _timeCounter; // Used to keep track of the order in which MusicEntries + // are added, for priority purposes. }; } // End of namespace Sci |