aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2011-03-04SCI: Improved debug output of validate_property()md5
2011-03-03SCI: Fixed comment in pointerComparisonWithInteger()md5
2011-03-03SCI: Fixed a silly bug in WRITE_SCI1ENDIAN_UINT16, and unified the waymd5
that the utility READ_* and WRITE_* operations are made
2011-03-03SCI: Simplified arithmetic reg_t operations, based on fingolfin's commentsmd5
- Folded all comparison operators in a single function, cmp() - Simplified the + operator, and removed the SQ1 workaround, as it's not needed anymore - Removed the workaround for uninitialized variables in the * operator - Removed division by zero workarounds in the / and % operators - Added a better description of pointerComparisonWithInteger(), based on fingolfin's description and comments. Also, changed the SCI versions where this is used to SCI0-SCI1. The SCI1.1 case in QFG3 was a script bug
2011-03-03SCI: Fixed path finding in Amiga SCI1 gamesmd5
Added wrapper functions to read/write from dynmem segments, as these are treated as BE in Amiga versions (as we treat them like raw data instead of reg_t's), whereas the rest are LE. Thanks to waltervn and wjp for their help on this
2011-03-03SCI: Applied save/load dialog patching to all SCI0-SCI2.1 early gamesmd5
Games that have the newer SCI2.1 kernel functions (i.e. kSave instead of kSaveGame/kRestoreGame) aren't supported yet
2011-03-03SCI: Make some reg_t methods private resp. inlineMax Horn
2011-03-03SCI: Always clear looping and hold before jumpToTick() is calledmd5
Fixes a crash in LSL3 Amiga
2011-03-03SCI: Don't ignore SysEx messages at the driver level but warn insteadmd5
SysEx messages in the driver are usually the result of a bug which should be investigated and not silently ignored
2011-03-03SCI: Slight cleanup of some sound driversmd5
2011-03-02SCI: Always add new windows to back of list up to SCI_1_EGA_ONLY.Willem Jan Palenstijn
Confirmed this behaviour in KQ1sci, KQ4, Iceman and QfG2. Hoyle3-demo remains an exception.
2011-03-02SCI: Call Graph(RedrawBox) from EndUpdate for SCI0/01Willem Jan Palenstijn
Confirmed this behaviour in KQ1sci, KQ4, Iceman, and that it isn't present in QfG2 and KQ5CD. This fixes the graphics glitch in KQ4 when falling down the stairs in room 61 (#3039775).
2011-03-02Revert "SCI: Fixed bug #3039775 - "KQ4: Graphics glitch [...]""Willem Jan Palenstijn
This reverts commit 74e99328ec0fa43074c52b69d21922407153a1aa. SSCI takes care of this issue in a different manner, which the next commit emulates.
2011-03-02SCI: Fixed bug #3040161 - "LONGBOW: Textbox glitch"md5
GetLongest() could exceed the maximum width with the very last character of a word. The same fix has been applied to the SCI32 code.
2011-03-02SCI: Fixed text positioning in the credits screen of Dr. Brain Amigamd5
The additional text positioning code in kDisplay was added in SCI1 middle, not SCI1 late. Also, did some slight cleanup
2011-03-02SCI: Fix garbage collection for SCI32Matthew Hoops
SCI32 has no ports
2011-03-02SCI: Bug fixes to the reg_t addition operatormd5
Thanks to fingolfin's comments regarding these
2011-03-02SCI: Fixed bug #3039775 - "KQ4: Graphics glitch in the mansion tower"md5
2011-03-02SCI: Fix variable nameWillem Jan Palenstijn
2011-03-02SCI: Fixed script bug #3059871 - "SCI Fanmade - Ocean Battle: Crash while ↵md5
playing"
2011-03-02SCI: Cleanupmd5
2011-03-02SCI: Change workaround for hoyle3-demo's rendering orderWillem Jan Palenstijn
This behaviour much more closely matches SSCI.
2011-03-01SCI: Fixed the background color of the status bar in Amiga versionsmd5
2011-03-01SCI: Fixed bug #3039188 - "LSL2 Amiga: Failed to Initialize Sound Driver error"md5
This was a signed/unsigned issue. Also fixed compilation when DEBUG is enabled. Thanks to waltervn for his help on this.
2011-02-28SCI: Skip Ports when iterating over Windows in GCWillem Jan Palenstijn
2011-02-28SCI: Fix crash with hunk refs in logkernel outputWillem Jan Palenstijn
2011-02-28SCI: Removed the script patch for the scrubbing scene. The crash no longer ↵md5
occurs with the latest fixes to kDoBresen
2011-02-28SCI: Removed several workarounds which are no longer needed, after the ↵md5
changes regarding hunk pointers in r0d555c4
2011-02-28SCI: Added CD flags to the CD versions of LSL6md5
2011-02-28SCI: Add workaround for PQ:SWAT.Lars Skovlund
This is a bug in the SCI32 class library, and there are similar workarounds for a number of SCI32 games.
2011-02-28SCI: Moved hunk pointer handling to the GC, and removed some related workaroundsmd5
SCI scripts can contain stale pointers, which are used later on. We now delete the contents of hunk entries without invalidating the relevant pointers and let the GC clear the references. Many thanks to waltervn and wjp for all their work and help on this.
2011-02-28SCI: Add FIXME comment to workaroundWillem Jan Palenstijn
2011-02-28SCI: Reverted rc7bfbc3 and fixed the actual cause of bug #3106107md5
While fast forwarding a song, disable its hold value together with any possible sound looping, so that the song won't loop forever.
2011-02-28SCI: Fixed bug #3106107 - "QFG3: Crash when saving outside palace"md5
Ignore requests to alter a song's hold value while it's being faded, and reset a song's hold value when fading starts. This ensures that the song will actually stop when fading is done and won't keep looping forever.
2011-02-28SCI: Cleanup of the save/load dialog patching code and the lofs type ↵md5
detection code
2011-02-27SCI: Fix negative window origin alignment.Willem Jan Palenstijn
SSCI does a shr 1; shl 1 here in SetOrigin. This fixes a crash in the ending scene of SQ3 (#3194199).
2011-02-27SCI: Fixed GUI option flags for PQ:SWATmd5
2011-02-27SCI: Remove kDoBresen special case for SCI_VERSION_1_EGA_ONLYWillem Jan Palenstijn
Confirmed with QfG2 disassembly (the only 1_EGA_ONLY game) that it behaves the same as SCI_VERSION_1_EARLY games, except for the uninitialized read already mentioned in kDoBresen.
2011-02-27SCI: Renamed SCI_VERSION_1_EGA to SCI_VERSION_1_EGA_ONLYmd5
This renaming allows us to better distinguish that this version is for games that only had an EGA version, and avoid confusion with newer SCI1 game releases with EGA graphics (e.g. KQ5 EGA). The only game with this SCI version is QFG2, a SCI1 EGA game with a parser. Also, added some games for each SCI version.
2011-02-27SCI: Detect the version of PQ SWAT from gog.comLars Skovlund
2011-02-27SCI: Improved the readability of the kDoBresen code a bitmd5
2011-02-27SCI: Don't set b_movCnt to moveSpeed while walkingWillem Jan Palenstijn
This fixes moonwalking in LSL1 and movement speed in KQ5. It appears to be have been a RE bug.
2011-02-26SCI: Avoid hiding overloaded virtual methodsOri Avtalion
2011-02-26SCI: Cleanupmd5
2011-02-26SCI: Removed the SCI32 version of kernelDrawCel() and placed its code inside ↵md5
the debug function cmdDrawCel, as it was hacked together to be used specifically in that command (thanks to salty-horse for spotting this)
2011-02-26SCI: Added a TODO concerning the workaround for SQ1EGA, as we don't know if ↵md5
it happens in the original version
2011-02-26SCI: Fixed a memory leak. Thanks to digitall for finding this using Valgrindmd5
2011-02-26SCI: Some slight fixes for the code that reads the LSL2 early MT32.DLL ↵md5
driver, thanks to waltervn
2011-02-26SCI2+: Mention that the actual problem with text wrapping happens because of ↵md5
the unimplemented kTextSize kernel call in SCI32
2011-02-26SCI: Added support for reading data off the MT32.DRV driver found in LSL2 ↵md5
early (bug #3192627)