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.
Support for repeated input for symbols and extended ASCII keys
Also keypad return works now just like the Enter key, and SHIFT+key when spammed results in the correct key being repeated.
Added space, backspace and latin letters and numbers (for save game screen)
Space can also be spammed with a visible result in-game (ie. not only in KIA save screen)
Made behavior similar to original game
Also the original game on attempting to overwrite a saved game with empty game, shows the confirmation dialogue if the player clicks on the save icon, but then returns back to the normal save screen even if the user clicks on the OK button or presses the Enter key.
If you type save names like e. g. "äöüß" in the GMM this will now show up correctly in the ingame save/load dialogs.
You still cannot type these characters ingame due to the current implementation of UIInputBox::charIsValid(char kc). I don't know why. If I comment out this function and simply return true it works just fine for me. So it is not a limitation of the font (although I am playing the English version).
Still, I haven't changed that behavior, since I am not familiar with the engine...If the only reason for charIsValid() was the wrong encoding it might make sense to limit or even remove it.
The autosave refactoring that was done in
7adad5aaf5 used g_engine for identifying the
autosave slot. This worked for in-game save/load, but doesn't fit when
called from the launcher.
Fix by passing MetaEngine to SaveStateDescriptor ctor and using it for this
query.
Amends 7adad5aaf5.
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.
Original Bug.
Hidden clues would appear left aligned without left padding, after setting them as hidden (right click),
then switching to another KIA tab and back to the clues/suspect/crime tab with the hidden clue.
All other clues appear with padding 6. Now, so do the hidden ones.
41 is the original's name size and resolves truncated autosave names in localized versions
Fixes bug #11340
Saves version is increased to "3" (in savefile.h) now, so only new versions of the engine will be able to open the save files with the larger field for the saved game's name