aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2011-03-18SCI: Remove unused MAX_SAVE_DIR_SIZEMax Horn
2011-03-14SCI: Remove a space at the end of a warningMatthew Hoops
2011-03-14SCI: Add code to enumerate shadowed selectorsWillem Jan Palenstijn
If an object defines more variables than its base class, some method selectors may be hidden. This code tries to enumerate the affected selectors. It may be useful for mass-scanning objects using 'find_callk Dummy'. It's disabled by default currently since it does things to partially uninitialized objects that I can't guarantee are 100% safe at this point.
2011-03-14SCI: Got rid of VERIFY() and removed some newlines in error messagesmd5
2011-03-14SCI: Removed obsolete comment about kDoBresen()md5
2011-03-13SCI: Add workaround for a QFG1 VGA Mac kFormat bugMatthew Hoops
Also, fix the kernel signature for kFormat to require two parameters
2011-03-13SCI: Cleanupmd5
2011-03-13SCI: Add reference to related bug to commentWillem Jan Palenstijn
2011-03-13SCI: Restore full object state after collision in DoBresenWillem Jan Palenstijn
This makes the workaround for the hang in the Colonel's Bequest shower scene (bug #3122075) unnecessary.
2011-03-12SCI: Continue disasm until no jumps go past the current opcodeWillem Jan Palenstijn
This should ensure disasm will disassemble an entire function, and not stop at an intermediate ret opcode.
2011-03-12SCI: Added proper fix for bug #3048054 - "LONGBOW: crash when opening hand code"md5
This was caused by a buggy script, most probably the result of an incorrect copy/paste while processing the original script. Fixed with a script patch.
2011-03-12SCI: Added automatic detection for several selectorsmd5
This ensures that these selectors will be detected regardless of the game ID, when they're missing
2011-03-12SCI: Moved a heap patch from kScriptID() into script_patches.cppmd5
2011-03-11SCI: Clarify fix for KQ5 witch freeze bug #3034714Willem Jan Palenstijn
The cause for this bug turns out to be a corrupt object that as a side effect accidentally bypasses its own corruption. See the added comments for details. Also add a warning that points out similarly corrupted objects.
2011-03-11SCI: Fixed bug #3034714 - "KQ5CD: ScummVM freezes in dark forest"md5
This is a heap patch for an odd object used in that scene, which will suffice for now (until we find why this works in SSCI). Thanks to wjp for his help and work on this
2011-03-10SCI: kPurge is the SCI2+ version of kFlushResourcesmd5
2011-03-10SCI: Don't try to uninstantiate scripts marked as deletedmd5
Trying to delete a script marked as deleted should do nothing. Hoyle 3 tried to uninstantiate scripts more than once, and we incorrectly decreased the reference count of associated scripts more than once, thereby killing them. This properly fixes bug #3038837 (removed the hack for it). Many many thanks to wjp for his help on this :)
2011-03-09SCI: Removed unnecessary parameter from deallocate()md5
2011-03-09SCI: Implement Mac iconbar event handling.Walter van Niftrik
2011-03-09Merge branch 'master' of github.com:scummvm/scummvmLars Skovlund
2011-03-09SCI32: Reroute kSave(5) to kGetSaveFiles(). Any differences to pre-SCI32Lars Skovlund
kGetSaveFiles() should be worked out there.
2011-03-09SCI: Save mouse position in SciEvent.Johannes Schickel
Instead of querying the event manager for the current mouse cursor coordinates kGetEvent now uses the saved mouse positions, which will assure every event will be processed with the correct coordinates instead of the current ones. Various other functions using SciEvent directly were adapted too. This fixes cursor click positions for the WinCE backend. Thanks to wjp and waltervn for helping me with this.
2011-03-08SCI: Remove unused argument to saidWillem Jan Palenstijn
2011-03-08SCI: Cleanupmd5
2011-03-08SCI: Fixed typosmd5
2011-03-08SCI: Cleanupmd5
2011-03-08SCI: Comparisons between pointers and numbers are also done in SCI1.1md5
Fixes SQ4CD
2011-03-07SCI: Constify some codeMax Horn
2011-03-05SCI: Further clarify commentLars Skovlund
2011-03-05SCI: Added some support code for Longbow Amigamd5
2011-03-04SCI: Remove SCI version check from READ/WRITE_SCI1ENDIAN_UINT16.Walter van Niftrik
2011-03-04SCI: Use BE string handling for Mac games.Walter van Niftrik
2011-03-04SCI: Some palette related changesmd5
- Moved palette color count inside the GfxPalette class - Enabled all of the kPalette subops for 16 color SCI1 games, apart from the ones for intensity palette animation, and palette resource loading - Removed isVGA() and isAmiga32color() methods from the resource manager - they ended up in having inconsistent code
2011-03-04SCI: Fixed a issue with signed characters in setChar()md5
This was visible in the password of LSL5 Amiga. Thanks to waltervn for finding this
2011-03-04SCI: Removed warning from kReadNumbermd5
2011-03-04SCI21: kSave(1) is kRestoreGamemd5
2011-03-04SCI: Improved debug output of validate_property()md5
2011-03-03SCI: Fixed comment in pointerComparisonWithInteger()md5
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: Make some reg_t methods private resp. inlineMax Horn
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 script bug #3059871 - "SCI Fanmade - Ocean Battle: Crash while ↵md5
playing"
2011-03-02SCI: Cleanupmd5
2011-03-01SCI: Fixed the background color of the status bar in Amiga versionsmd5
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