aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2017-09-12SCI32: Replace spin loop with kWait in Phant2 alien password screenColin Snover
2017-09-10SCI: Remove dead codeColin Snover
2017-09-09SCI32: Fix whitespace errorsColin Snover
2017-09-09SCI32: Send correct color depth to Phant2Colin Snover
This is not known to fix any particular issue, but the game does set some flags internally if it's running in 256-color Windows, which is possibly undesirable since we do run 16-bit videos regardless.
2017-09-09SCI32: Fix Phant2 movie-vs-game playback volumesColin Snover
This update should give the game the default mix it receives in Windows. If necessary, the half-volume audio bug in the DOS interpreter can be added as an additional hack for this game, since there are still some sub-par audio mixes that might need additional correction (like Curtis talking to Blob when taking her out of the cage in his apartment at the start of the game) which were also bad in the Windows version of the game. Fixes Trac#10165.
2017-09-08SCI32: Fix volume config when changing volume from in-game Phant2 controlsColin Snover
2017-09-08SCI32: Order nulls consistently in kernel signaturesColin Snover
2017-09-08SCI32: Remove redundant kStringGetData implementationColin Snover
This code is identical to the kArrayGetData implementation.
2017-09-08SCI32: Fix kString signatures to allow null references where appropriateColin Snover
The original interpreter allowed most string references to be null references, in which case it would substitute an empty string.
2017-09-08SCI32: Fix crash when changing security level of dead people in Phant2Colin Snover
In the original interpreter, is it valid to pass a null reference to both kArray(GetData) (it just acts as an identity function when the passed argument is not an object) and to kString functions (it always dereferences to an empty string). Fixes Trac#10039.
2017-09-08SCI32: Add missing include for ConfManColin Snover
2017-09-08SCI32: Toggle Phant2 content censoring from game optionsColin Snover
To enable the optional content censoring mode, Phant2 looks for a RESDUK.PAT file, which is normally placed by the game's installer if the user chose to enable censorship. If the file exists, the game reads an unlock password out of the file and asks the user to enter the password when starting a new game to create an uncensored game, or to click a "less intense" button to start the game with censoring. The censorship state of the game is then persisted in the save game file, and installations with the RESDUK.PAT file need to enter the password again in order to restore any of the uncensored saves. Since we do not have an installer that can enable this feature, add a game option toggle to enable/disable censoring (for the releases that have the optional censorship mode) instead so the censored content feature is available for anyone that wants to use it. This flag is restored from ScummVM whenever a save game is loaded, so it can be toggled on or off at any point without needing a separate save game, unlike in the original interpreter.
2017-09-04SCI32: Fix creating over 20 saves in Phant2 native save gameColin Snover
2017-09-04SCI32: Disable save game mangling in Phant2Colin Snover
Fixes Trac#10035.
2017-09-03SCI: Fix builds with SCI32 disabledColin Snover
2017-09-03SCI32: Fix load from launcher for LighthouseColin Snover
Launcher loads of games without a saved Robot were fine, but games that were saved with a Robot (e.g. room 480 when facing the water) would crash.
2017-09-03SCI32: Add standard SRDialog patches to LighthouseColin Snover
2017-09-03SCI32: Fix crash after credits in LighthouseColin Snover
2017-09-03SCI32: Implement kCelLinkColin Snover
kCelLink exists in SSCI since 2.1mid, but it is only known to be used in Lighthouse, during the weapon creation puzzle near the end of the game.
2017-08-26SCI32: Fix SFX volume being misapplied to music & speech in some gamesColin Snover
This was happening in games with game scripts that control the master volume themselves by applying the master volume to each channel sent to the kernel, instead of relying on the kernel to manage the master volume for them.
2017-08-25JANITORIAL: Remove unnecessary semicolonTorbjörn Andersson
2017-08-07SCI32: Add script patch for last action sequence in PQ4Martin Kiewitz
To also turn ::ticks into ::seconds For further information see 5a4840e
2017-08-07SCI32: Add script patch for Bitty Kitty / Barbie game glitchMartin Kiewitz
Fixes bug #9849 Which is a pseudo-game-breaking glitch of the game itself. Applies to at least English+German floppy and English CD version.
2017-08-06SCI32: Add script patches for action sequences in city hallMartin Kiewitz
2017-08-06JANITORIAL: Silence more GCC 7 warningsTorbjörn Andersson
All these fall through were marked as deliberate, so again I've only changed the comment to silence GCC.
2017-08-06JANITORIAL: Silence some GCC 7 warningsTorbjörn Andersson
We have lots and lots of -Wimplicit-fallthrough warnings, and I don't know if it's worth fixing them or not. But if we want to, this is how it can be done.
2017-07-30SCI32: Increase maximum save games for Phant2Colin Snover
2017-07-30SCI32: Add load from launcher support for Phant2Colin Snover
Adding a hook into kPlayDuck to skip the intro video feels kind of crappy, but it seemed simpler, consistent with the other hooks for launch loading, and therefore preferable versus hot-patching the script or messing with PC in the VM or something.
2017-07-30SCI32: Implement Phant2 save/load integrationColin Snover
2017-07-30SCI32: Deduplicate guest additions save/load codeColin Snover
2017-07-30SCI: Show inherited methods when viewing an object in the debuggerColin Snover
2017-07-30SCI32: Fix breakpoints on reading/writing selectors in SCI3Colin Snover
2017-07-30SCI32: Indicate that LSL7 and Torin use the same save/load codeColin Snover
2017-07-30SCI32: Minor code deduplicationColin Snover
2017-07-30SCI32: Implement guest additions volume sync for Phant2Colin Snover
2017-07-30SCI: Expose API for retrieving multiple objects with the same nameColin Snover
This is needed by Phant2 guest additions to find the correct slider for the music volume, since the sliders have no unique name.
2017-07-30SCI32: Add uninitialized read workaround for Phant2Colin Snover
2017-07-30SCI32: Add workaround entry for PQ4 floppy city hall room 390Martin Kiewitz
To fix an uninitialized read when clicking somewhere to walk around in city hall.
2017-07-30SCI32: Add script patch for PQ4 floppy computer issueMartin Kiewitz
This fixes buggy PQ4 system script code and makes entering user and password on the police computer not trigger a signature mismatch anymore. Script code was fixed by Sierra in PQ4 CD.
2017-07-26SCI32: Add kMinimize to stop unmapped function warningColin Snover
2017-07-26SCI32: Patch spin loop in Phant2 puzzleColin Snover
2017-07-26SCI32: Dummy SCI3 bitmap calls to discover possible usageColin Snover
Non-use of these kernel calls was assumed by reviewing script disassembly by SV, but it turns out that SV was not picking up script patches correctly in SCI3 games, so this data is no longer considered reliable.
2017-07-26SCI32: Patch bad version retrieval in Phant2Colin Snover
2017-07-26SCI32: Fix truncated save game names in Phant2Colin Snover
Phant2 creates save game names that append "<PROTECTED>" at the end of the game name, with an assumption that the game name is always exactly 36 characters long. This seems to be OK with other games too (tested GK1, SQ6, and Torin).
2017-07-26SCI32: Fix lofsa/lofss of strings in SCI3 disassemblyColin Snover
2017-07-24SCI32: Add music volume UI sync for MGDXColin Snover
2017-07-24SCI32: Match 4-language MGDX extra save game dataColin Snover
2017-07-24SCI32: Use dynamic selector in QFG4 trap script patchColin Snover
2017-07-24SCI32: Deduplicate volume reset script patches & add to MGDXColin Snover
2017-07-24SCI32: Add deflang (default language) kGetConfig key for MGDXColin Snover