aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2017-09-19TITANIC: DE: Sound changes for BombPaul Gilbert
2017-09-19SCI32: Support RAMA's single sound effects volumeColin Snover
The original installer copied RESOURCE.SFX to the hard drive so there was only one RESOURCE.SFX on CD 1. Instead of requiring users to create duplicates, just use the single RESOURCE.SFX if it exists.
2017-09-19SCI32: Fix inconsistent patch instruction commentsColin Snover
I missed these lines when going through things earlier.
2017-09-19SCI32: Put superclass address in r_acc for SCI3 super callsColin Snover
This fixes a problem in Lighthouse 2.0a where the mini-sub would fail to start playing the animation of the shipwreck when clicking on the throttle. In SSCI, in SCI3 only, r_acc was (inadvertently?) set to the superclass object ID whenever a super call was made. This happened because OP_super would call to get the superclass object ID, the calling conventions of the compiler put this return value into EAX, and then the PMachine message processing code put whatever was in EAX into r_acc before each message was processed. In the game code, there are a sequence of steps that look like this: * First, throttle::doVerb is called when throttle is clicked on; * Which calls getRobot::doit to tell the shipwreck robot to start playing; * Which calls wreckBot::init to reset the Robot for the animation; * Which calls Hiliter::hotVerbs(0) to remove cursor hotspots; * Which calls Hiliter::dispose to clean up since it is not used; * Which causes Hiliter::verbList to get set to 0. * Later, verbList is loaded into r_acc, and it is still 0; * Then, Hiliter::dispose makes a super call to Obj::dispose; * Then, Obj::dispose does nothing except call kDisposeClone, which does not mutate r_acc, so r_acc is still 0 from verbList; * Then we return back through 5 calls to throttle::doVerb; * Then throttle::doVerb checks that r_acc is non-zero, and if so, adds wreckBot to theDoits global, allowing the animation to occur. In ScummVM, without setting r_acc in the super call, the non-zero check failed and the wreckBot didn't get put into theDoits, so the entire sequence fell apart. In SSCI, the non-zero check happened to succeed because the Obj::dispose super call put the Obj class into the accumulator. So now we do that too, and now Lighthouse 2.0a works here. Earlier versions of SSCI used EAX for other things in between the OP_super call and the message processing, so would set r_acc from different data, so this change does not apply to those versions.
2017-09-19SCI: Allow multi-step tracing with step-over in debuggerColin Snover
2017-09-19SCI32: Fix GfxFrameout::addPlane from causing possible leaksColin Snover
2017-09-19SCI32: Remove never-read default valuesColin Snover
2017-09-19SCI32: Add audio dump debugger commandColin Snover
2017-09-19SCI32: Don't warp the mouse twice when its position has been restrictedColin Snover
2017-09-19SCI32: Flush all events before warping mouseColin Snover
This improves the behaviour at the end of PQ4 when navigating the warehouse with the flashlight by getting rid of mouse events that may have been queued before the mouse warp to the other side of the screen is performed. Without this, frequently, those extra events would then be processed and cause the mouse to jump back to the opposite side of the screen, triggering another navigation in the opposite direction. This patch really only helps when mouse capture is enabled in ScummVM as well, but it does allow the sequence to be played pretty much normally in that situation. Additional (pending) patches to ScummVM itself are needed to move the mouse to the correct place when mouse capture is off and the system mouse moves outside of the game window. Refs Trac#9689.
2017-09-19SCI32: Add Lighthouse Glider demo to detection tableColin Snover
2017-09-19SCI32: Promote Lighthouse demos to ADGF_TESTINGColin Snover
2017-09-19SCI32: Hide warning about CD-ROM speed setting in kGetSierraProfileIntColin Snover
In the DOS interpreters, this function is a no-op. Lighthouse calls it regardless of platform, so dummy it out for non-Windows platforms. This is not known to address any particular issue, and is really just to eliminate the warning about an unknown configuration setting when starting Lighthouse in a manner that is compatible with the original interpreter.
2017-09-19SCI: Stop EngineState::wait mutating r_accColin Snover
This wait function is used by kernel calls other than kWait, and those other functions do not mutate r_acc in SSCI.
2017-09-19TITANIC: Fix memory leaks on shutdownPaul Gilbert
2017-09-19TITANIC: Remove redundant surface ccreation from DirectDrawManagerPaul Gilbert
2017-09-18TITANIC: Fix identified redundant tests & assignmentsPaul Gilbert
2017-09-18TITANIC: Add missing return check in BellbotScript::processPaul Gilbert
2017-09-18TITANIC: Fix floor calculation in CChevCode::getChevFloorNumPaul Gilbert
2017-09-18TTITANIC: Guard against TTstring items being self-assignedPaul Gilbert
2017-09-18TITANIC: Fix regenerating CGameObject _movieRangeInfoList during savingPaul Gilbert
2017-09-18TITANIC: Change AVISurface _framePixels from ManagedSurface to boolPaul Gilbert
2017-09-18TITANIC: Fix memory leak loading star control starsPaul Gilbert
2017-09-18TITANIC: Fix memory leak on thumbnails when loading savegamesPaul Gilbert
2017-09-18TITANIC: DE: Fix ship announcementsPaul Gilbert
2017-09-18TITANIC: DE: Fixes for checking inPaul Gilbert
2017-09-18TITANIC: Add VocabMode enum, fix German vocab loadingPaul Gilbert
2017-09-17TITANIC: Added German DeskbotScript process additionsPaul Gilbert
2017-09-17TITANIC: Add Deskbot German specific logicPaul Gilbert
2017-09-17TITANIC: Added German specific TTnpcScript doSentenceEntry codePaul Gilbert
I'm not entirely happy I had to put this in the base TTnpcScript rather than somewhere in the new german/ subfolder, but I couldn't think of any clean way to do it except nasty designs like diamond multiple inheritance
2017-09-17Merge pull request #1021 from Schallaven/patch-1Paul Gilbert
XEEN: Corrected spelling in xeen/map.cpp
2017-09-17TITANIC: Fix case sensitivity in header includesPaul Gilbert
2017-09-17TITANIC: Add skeleton derived bot script classes for German versionPaul Gilbert
2017-09-17TITANIC: Add translation.h missing from prior commitPaul Gilbert
2017-09-17TITANIC: Create a separate g_language global in it's own filePaul Gilbert
I was becoming concerned with more and more files having to add the full engine definition and sub-classes thereof via titanic.h, just so the TRANSLATE macro could call getLanguage. This way, files just need to include the lightweight translation.h file instead
2017-09-17SCI32: Heap patch for Phantasmagoria 2 to fix DocuStore placementsMartin Kiewitz
This fixes placement of "File", "Note", "From" and "Subject" content. See bug #10034
2017-09-17TITANIC: German sound fixes for rest of prologuePaul Gilbert
2017-09-17TITANIC: Fixes for sounds and Doorbot during German prologuePaul Gilbert
2017-09-17SCI32: GK1CD: script for vine swing issue bug #9820Martin Kiewitz
Gabriel's "I can't believe I'm doing this..." line was cut off. This script patch stops that from happening.
2017-09-17Corrected spellingSven Kochmann
"ddark.mon" -> "dark.mon"
2017-09-16TITANIC: Add differing response Id range checks for GermanPaul Gilbert
2017-09-16TITANIC: Fix incorrect sound effect in German prologuePaul Gilbert
2017-09-17SCI32: Clean-up pass on GK1,GK2,KQ7,PQ4,QfG4,Torin script patchesMartin Kiewitz
comments only
2017-09-16TITANIC: Fix music playback in music roomPaul Gilbert
2017-09-16SCI: Remove unused selector from script patcher selectors listColin Snover
2017-09-16SCI32: Clean-up pass on Torin script patchesColin Snover
* Convert selector literals to SIG_SELECTOR/PATCH_SELECTOR
2017-09-16SCI32: Clean-up pass on GK1 script patchesColin Snover
* Make alignment of operation comments consistent * Make patch descriptions consistent
2017-09-16SCI32: Clean-up pass on Shivers script patchesColin Snover
* Convert selector literals to SIG_SELECTOR/PATCH_SELECTOR * Wrap comments at 80 columns * Rewrite comments for clarity and brevity * Make identifier suffixes, patch descriptions, and patch table ordering consistent
2017-09-16SCI32: Clean-up pass on Rama script patchesColin Snover
* Make alignment of operation comments consistent
2017-09-16SCI32: Clean-up pass on QFG4 script patchesColin Snover
* Convert selector literals to SIG_SELECTOR/PATCH_SELECTOR * Make identifier suffixes and patch descriptions consistent