Also added a dedicated debugSound channel for debugging
Fixes include closer conformance to original code (for entering/exiting ESPER and VK), and a change in assigning a track slot to a new track with priority equal to the lowest existing (it will now take the place of the old stored track). Also Music::adjustVolume() now takes the target volume as argument and stores it in the track volume field similar to how Music::adjustPan works.
Some voices have bad pan, because the actors are not actually in the scene/dr06
This happens because on occasion (eg. TV news) some voices will be coming from an object on screen
but the game would still calculate the actor's position (and produce an awry pan value, since there is no such actor in the scene)
Addresses report: https://bugs.scummvm.org/ticket/11339
But covers more cases than just the TV voices.
Original bug - If McCoy exits and re-enters quickly while Gordo walks to podium
Related to the movementTrackWaypointReached() while McCoy is not on the actor's set
These changes are for Restored Content
The special mark is a different background color, and applies only in KIA when hacked with Bob's hack.
Also tweaked the Mainframe voiceover reporting "no clues transferred" to refer to both uploading and downloading
and only play once at the end (when applicable)
Change only for Restored Content mode
If KIA hacking is to be important, the player must be able to control exactly what is uploaded to Mainframe.
Intangible clues do not show up in KIA, so the player cannot control sharing them with Mainframe.
Most of them are supposed to not be shared anyway (or some are wrongly set as Intangible and will be fixed in a future bug fix).
Also in Restored Content mode, the mainframe reports (with voiced quote) if clues have been transfered,
so the player would be confused if intangible clues were transfered, since they won't appear in the KIA.
Some of these issues were caused by commit 186de62ffb
Others were original bugs (mutants 2 and 3), and both rats.
This commit includes a fix for Grayford's death animation when shot (in Act 4)
Allows not having to constantly click the mouse to keep McCoy from slowing down
Even though this was a bug in the original game, having this option re-creates the original experience of McCoy running quite fast (still keeping the 30 fps limit) and not slowing down when the player stops clicking.
A few methods were named as though refering to Scene Ids, but are refering to Set Ids
enteredScene, EnteredScene, otherAgentExitedThisScene,OtherAgentExitedThisScene, otherAgentEnteredThisScene, OtherAgentEnteredThisScene were renamed respectively to enteredSet, EnteredSet, otherAgentExitedThisSet,OtherAgentExitedThisSet, otherAgentEnteredThisSet, OtherAgentEnteredThisSet
The original game had broken stamina system we have it fixed.
This means that in vanilla mode, McCoy's stamina will drain fast if the player does not click the mouse, but he will increase speed up to a max, if the player keeps clicking the mouse.
In Restored Content, we allow McCoy to keep his speed (so that the player does not have to keep clicking); the stamina drain will still kick in but it will be at a slower rate and practically won't be noticeable most of the time.
Keep the important bug fix which was in KIASectionSuspects::populateAcquiredClues
Some of the changes in the previous commit were due to confusing the role of the getClueIdByIndex method
Fixes bug where clues with no type would appear in KIA sections
"End of Act 2" would appear in Sadik's and Clovis' suspect pages, and in Bradbury crime page, whereas Sadik's photo would not appear in Sadik's page.