Skip to content

Commit

Permalink
SHERLOCK: add comments about waitUntilTick()
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Kiewitz committed Jun 1, 2015
1 parent de837f2 commit c20fbea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions engines/sherlock/music.cpp
Expand Up @@ -358,6 +358,9 @@ void Music::waitTimerRoland(uint time) {
warning("TODO: Sound::waitTimerRoland");
}

// This is used to wait for the music in certain situations like especially the intro
// Note: the original game didn't do this, instead it just waited for certain amounts of time
// We do this, so that the intro graphics + music work together even on faster/slower hardware.
bool Music::waitUntilTick(uint32 tick, uint32 maxTick, uint32 additionalDelay, uint32 noMusicDelay) {
uint32 currentTick = 0;

Expand Down

0 comments on commit c20fbea

Please sign in to comment.