aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/script_patches.cpp
AgeCommit message (Collapse)Author
2017-10-04SCI32: Speed up memory check counter in lighthouse in LighthouseColin Snover
2017-10-04SCI32: Give more specific game version numbersColin Snover
2017-09-29SCI32: Fix bad text rendering in RAMAColin Snover
In SCI3, Sierra removed the ability of the main renderer to automatically scale CelObjs with different source resolutions. Instead, in SCI3, all CelObjs are treated as having the same resolution as the screen (i.e. 640x480). In all SCI3 games other than RAMA, keeping the code paths for resolution-dependent scaling is not a problem because all the assets and game code are correctly designed to use the same 640x480 resolution throughout. RAMA, on the other hand, was written with the text subsystem set to a resolution of 630x450 (Phant1's screen resolution), and in SSCI, resolution-dependent scaling code was not removed from the *text* subsystem. As a result, RAMA's game scripts rely on the slightly larger scaled dimensions coming out of the text system when determining the size of screen items for rendering, and then also rely on the main renderer ignoring the 630x450 resolution baked into the bitmaps generated by the text subsystem when drawing them to the screen.
2017-09-28SCI: Add script patch for QfG2 Jackalmen Oops - bug #10218Martin Kiewitz
Was a game bug, finally fixed. This was a combined effort of wjp and myself. Thanks to wjp. We both don't own QfG2 1.000 atm, so we could not try it for that version.
2017-09-28SCI32: Disable change directory button in original save/load in RAMAColin Snover
2017-09-24SCI: Add SQ4CD script patch to add audio for universal remote controlMartin Kiewitz
for Hk So Good store catalog. Implements enhancement #10227
2017-09-23SCI32: Fix bad data cube text priority calculation in RAMAColin Snover
2017-09-23SCI32: Fix bad default text scaling in RAMAColin Snover
2017-09-23SCI32: Support RAMA's custom save games through kFileIOColin Snover
2017-09-19SCI32: Fix inconsistent patch instruction commentsColin Snover
I missed these lines when going through things earlier.
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-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-17SCI32: Clean-up pass on GK1,GK2,KQ7,PQ4,QfG4,Torin script patchesMartin Kiewitz
comments only
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
2017-09-16SCI32: Clean-up pass on PQ4 script patchesColin Snover
* Convert selector literals to SIG_SELECTOR/PATCH_SELECTOR * Convert word-size numeric literals to SIG_UINT16/PATCH_UINT16 * Wrap comments at 80 columns * Rewrite comments for clarity and brevity * Make alignment of operation comments consistent * Make identifier suffixes, patch descriptions, and patch table ordering consistent
2017-09-16SCI32: Clean-up pass on PQ:SWAT script patchesColin Snover
* Make patch descriptions consistent
2017-09-16SCI32: Clean-up pass on Phant2 script patchesColin Snover
* Minor clarity fixes to comments * Make patch descriptions and patch table ordering consistent
2017-09-16SCI32: Clean-up pass on Phant1 script patchesColin Snover
* Convert selector literals to SIG_SELECTOR/PATCH_SELECTOR * Make identifier suffixes, patch descriptions, and patch table ordering consistent
2017-09-16SCI32: Clean-up pass on MGDX script patchesColin Snover
* Convert selector literals to SIG_SELECTOR/PATCH_SELECTOR * Fix a patch to use jmp instead of waste bytes * Make identifier suffixes and patch descriptions consistent
2017-09-16SCI32: Clean-up pass on LSL7 script patchesColin Snover
* Convert selector literals to SIG_SELECTOR/PATCH_SELECTOR * Convert word-size numeric literals to SIG_UINT16/PATCH_UINT16 * Wrap comments at 80 columns * Rewrite comments for clarity and brevity * Make alignment of operation comments consistent * Make identifier suffixes and patch descriptions consistent
2017-09-16SCI32: Clean-up pass on LSL6hires script patchesColin Snover
* Convert selector literals to SIG_SELECTOR/PATCH_SELECTOR * Make identifier suffixes and patch descriptions consistent
2017-09-16SCI32: Clean-up pass on Lighthouse script patchesColin Snover
* Make patch descriptions consistent
2017-09-16SCI32: Clean-up pass on KQ7 script patchesColin Snover
* Convert selector literals to SIG_SELECTOR/PATCH_SELECTOR * Convert word-size numeric literals to SIG_UINT16/PATCH_UINT16 * Wrap comments at 80 columns * Rewrite comments for clarity and brevity * Make alignment of operation comments consistent * Make identifier suffixes and patch descriptions consistent
2017-09-16SCI32: Clean-up pass on GK2 script patchesColin Snover
* Convert selector literals to SIG_SELECTOR/PATCH_SELECTOR * Make alignment of operation comments consistent * Make patch descriptions consistent
2017-09-16SCI32: Clean-up pass on GK1 script patchesColin Snover
* Convert selector literals to SIG_SELECTOR/PATCH_SELECTOR * Convert word-size numeric literals to SIG_UINT16/PATCH_UINT16 * Wrap comments at 80 columns * Rewrite comments for clarity and brevity * Make alignment of operation comments consistent * Make identifier suffixes, patch descriptions, and patch table ordering consistent * Remove no-longer-needed script patch for day 10 room 808, which has been fixed using a different, generic mechanism since commit e8c429832f7b6393f853fd6d9ce8ba2e62f6a93c
2017-09-16SCI32: Add script patch for PQ4CD for dual mode (text+speech)Martin Kiewitz
This makes the game menu able to handle a 3rd state, so that the game shows text but also play speech at the same time. We need to inject our own view for the new button to really show up. I'm not that experienced with the SCI32 graphics code, which is why I prefer snover to do this part. Right now it will show the button with text selected 2 times in a row. The first "text" button is the dual mode / "both" state. Anyway, thanks to snover for notifying me of this game needing dual mode patched in and also for some help.
2017-09-15SCI32: Fix bad play call in Shivers room 23090David Fioramonti
This fixes a bad play call by replacing it with a fade call. The newRoom function In script rm23v090 (room 23090) was calling a play function with 5 arguments, but the play function only takes 4 arguments. Since it looks like a fade call it has been replaced with that. Fixes Trac#10200. snover helped.
2017-09-15SCI32: Fix clipping of inventory items in Phant2Colin Snover
This fixes overlapping of the left arrow in all cases, but the scroll delta and initial offset of inventory items will only be fixed in new games because the affected objects are global objects whose bad properties get persisted into save games. Fixes Trac#10037.
2017-09-12SCI32: Fix wrong open folder/doc icons in Phant2 computer on first renderColin Snover
This fixes flickering icons during the word hallucinations.
2017-09-12SCI32: Fix bad positioning of text in Phant2 computer on first renderColin Snover
This fixes the glitchy positioning during the word hallucinations. Fixes Trac#10036.
2017-09-12SCI32: Fix janky document scrolling in Phant2 computer interfaceColin Snover
2017-09-12SCI32: Replace spin loop with kWait in Phant2 alien password screenColin Snover
2017-09-09SCI32: Fix whitespace errorsColin Snover
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-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-03SCI32: Add standard SRDialog patches to LighthouseColin Snover
2017-09-03SCI32: Fix crash after credits in LighthouseColin Snover
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-07-30SCI32: Increase maximum save games for Phant2Colin Snover
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: Patch spin loop in Phant2 puzzleColin Snover
2017-07-26SCI32: Patch bad version retrieval in Phant2Colin Snover