aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
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: Fix Phant2 game nameColin Snover
The game was originally titled "Phantasmagoria: A Puzzle of Flesh", but the publisher now seem to be titling it "Phantasmagoria 2: A Puzzle of Flesh". It was never referred to using roman numerals in any release as far as I can find (the French "Fatal Obsessions" release was just "Phantasmagoria: Obsessions Fatales").
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: Update Phant2 GUIOs to reflect game featuresColin Snover
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-27VIDEO: Allow setting the mixer sound type used to play audio tracksBastien Bouclet
2017-07-26SCI32: Reduce priority of PATCHES directory for Phant2Colin Snover
For whatever reason, Sierra decided that the final patches would go in the root directory for Phant2. The game disc includes (different, older) patches for many of the same resources in the PATCHES directory, and loading those instead makes the game not always work quite right.
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: Promote MGDX to ADGF_TESTINGColin Snover
2017-07-24SCI32: Add music volume UI sync for MGDXColin Snover
2017-07-24SCI32: Fix MGDX platform in detection tablesColin 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
2017-07-24SCI32: Fix ResourceManager::changeAudioDirectoryColin Snover
Fixes Trac#9577.
2017-07-23SCI32: Emit a warning when an audio resource cannot be foundColin Snover
Refs Trac#9976.
2017-07-23SCI: Blacklist certain audio map patch filesColin Snover
Refs Trac#9976.
2017-07-23SCI: Keep audio maps out of the LRU cacheColin Snover
2017-07-23SCI32: Fix explicit mouse position changesColin Snover
This was broken by 9f33f2b3df22a26314dbb74173f49bc930c7a1f9.
2017-07-23SCI32: Add missing method documentationColin Snover
2017-07-23SCI32: Stop throttling of kFrameOut during interactive VMD playbackColin Snover
Refs Trac#9974, Trac#9975.
2017-07-23SCI32: Make stop flag condition more explicitColin Snover
2017-07-23SCI32: Check for stop events before rendering the next frameColin Snover
This should make things slightly more responsive and avoids unnecessary rendering of frames that are just going to disappear in a moment.
2017-07-23SCI32: Improve performance when flushing events during video playbackColin Snover
Calling through EventManager::getSciEvent to flush events is pretty inefficient and created stalls that lead to dropped frames during the chapter 7 chase in Phantasmagoria 1. If necessary, performance could be improved further by extending Common::EventManager to expose SDL_FlushEvents, but this seems to finish in 0-1ms so should be OK for now. Refs Trac#9974, Trac#9975.
2017-07-23SCI: Minor cleanups in kGetEventColin Snover
2017-07-23SCI32: Fix hot rectangle eventsColin Snover
This fixes delayed mouse cursor updates during the chase scene in Phant1. Refs Trac#9975.
2017-07-23SCI: Resolve offset names when disassembling object methodsColin Snover
2017-07-23SCI32: Avoid extra cursor paints when the cursor has not movedColin Snover
2017-07-23SCI32: Don't warp the mouse when it doesn't need to be warpedColin Snover
2017-07-23SCI32: Detect multi-disc audio by RESSCI files instead of RESAUDColin Snover
If a user fails to rename audio files in the required manner when copying them, detecting multi-disc audio by looking for a renamed audio file does not work very well. Looking at RESSCI.00n is a better choice, though this is not completely valid since e.g. Rama 1.0 US has only one RESOURCE.SFX volume which its installer copies to the hard drive, so a little more work will need to be done in the future to find and fix these kinds of edge cases. Refs Trac#9976.
2017-07-18SCI32: Fix kIsOnMe crashes in LSL7 About screenColin Snover
2017-07-17SCI32: Promote LSL7 to ADGF_TESTINGColin Snover
2017-07-17SCI32: Destroy audio streams in Audio32 using DisposeAfterUse flagColin Snover
Since Resource::makeStream returns a MemoryReadStream which will not attempt to free the resource memory, it is fine to always dispose those streams and get rid of the separate resourceStream property, which was a holdover from some past WIP resource design which no longer exists.
2017-07-17SCI32: Fix stream leaks in Audio32/SOLStreamColin Snover
makeSOLStream was leaking the SeekableSubReadStream object it creates itself if it was not called with DisposeAfterUse::YES. That substream is an implementation detail which should not rely on the caller to be destroyed.
2017-07-17SCI32: Add workaround for Torin/LSL7 running with subtitles onlyColin Snover
Since these later SCI32 games weren't really designed to work with subtitles-only message mode, if this doesn't work consistently or breaks the games a lot in other places, the subtitles-only message type could possibly be implemented in some other way, like by messing with the game's speech volume global instead.