md5
f4905eafd1
SCI: Added workaround for script bug #3272735 - "SCI: QFG2: Crash when typing 'read sign'"
2011-04-04 09:59:20 +03:00
md5
407b9c9b2e
SCI: Added a workaround for script bug #3268076 - "MOTHERGOOSE: Crash after finishing the game"
2011-04-03 15:19:19 +03:00
Lars Skovlund
3ea76f39f9
SCI: Fix SQ1 droid zapping issue with a script patch, thanks to
...
dhewg for reporting.
2011-04-02 19:54:53 +02:00
Matthew Hoops
5bc5e95e12
SCI: Add workaround for a GK1 pointer comparison
2011-03-29 13:48:07 -04:00
D G Turner
344369c294
SCI: Fix Compilation with --enable-release set.
2011-03-28 22:45:01 +01:00
md5
4133945850
SCI: Renamed restAdjust to r_rest (like r_acc and r_prev)
2011-03-28 02:23:58 +03:00
md5
9adae61df3
SCI: Error out when kMemorySegment() is requested to save more than 256 bytes
2011-03-28 02:23:57 +03:00
md5
76b68bf88c
SCI: Set the GC_INTERVAL define to its hexadecimal equivalent
2011-03-28 02:23:56 +03:00
md5
6487d05ddf
SCI: Moved some debug functions from vm.cpp to scriptdebug.cpp
2011-03-27 01:52:23 +02:00
md5
6ec9c9f62d
SCI: Removed the READ_VAR and WRITE_VAR wrappers
2011-03-26 12:25:48 +02:00
md5
cc074b013f
SCI: Refactored and cleaned up the VM call stack handling code
...
- Removed the CallsStruct intermediate stack. Calls are inserted directly
in the execution stack
- Added a constructor for the ExecStack struct and removed
add_exec_stack_varselector() and add_exec_stack_entry()
2011-03-26 02:37:10 +02:00
md5
10d1a58cb2
SCI: Reordered some functions
2011-03-25 14:09:09 +02:00
md5
d86504ef88
SCI: Cleaned up the BreakpointType enum and documented the bpe command
2011-03-25 13:37:00 +02:00
md5
4ceb4838ed
SCI: Cleaned up send_selector()
...
- Placed all of the associated debug code in a separate function
- Unified debug output
2011-03-25 13:25:38 +02:00
md5
1f5c3a6967
SCI: Extended a workaround for KQ7 to apply in all rooms
2011-03-25 07:42:27 +02:00
D G Turner
bcb9179a8b
SCI: Close Memory Leak from kAnimate Calls.
...
This was due to a missing destructor in the HunkTable.
Thanks to wjp for this patch.
2011-03-24 20:59:20 +00:00
md5
89f9c5a9c3
SCI: Moved the engine hunk pointer processing code inside the GfxPorts class
...
This allows us make _windowList private again
2011-03-20 15:29:12 +02:00
dhewg
2def212de7
ALL: s/PI/M_PI/
...
Tip of the day: git grep -w PI
2011-03-19 11:24:06 +01:00
md5
0eb2c4709e
SCI: Changed several places that use PI to use the standard M_PI instead
2011-03-19 02:22:06 +02:00
Max Horn
4130f66af2
SCI: Remove unused MAX_SAVE_DIR_SIZE
2011-03-18 14:43:52 +01:00
Matthew Hoops
8f40a18146
SCI: Remove a space at the end of a warning
2011-03-14 18:48:43 -04:00
Willem Jan Palenstijn
c1cdc49ac5
SCI: Add code to enumerate shadowed selectors
...
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-14 20:34:16 +01:00
md5
ca1f9a075f
SCI: Got rid of VERIFY() and removed some newlines in error messages
2011-03-14 20:00:26 +02:00
md5
58498dca8e
SCI: Removed obsolete comment about kDoBresen()
2011-03-14 13:15:00 +02:00
Matthew Hoops
0b9e6675ef
SCI: Add workaround for a QFG1 VGA Mac kFormat bug
...
Also, fix the kernel signature for kFormat to require two parameters
2011-03-13 22:01:41 -04:00
md5
d7c8ed0f5d
SCI: Cleanup
2011-03-13 23:34:06 +02:00
Willem Jan Palenstijn
0360b4ac95
SCI: Add reference to related bug to comment
2011-03-13 18:28:01 +01:00
Willem Jan Palenstijn
5b820cee64
SCI: Restore full object state after collision in DoBresen
...
This makes the workaround for the hang in the Colonel's Bequest
shower scene (bug #3122075 ) unnecessary.
2011-03-13 14:48:38 +01:00
Willem Jan Palenstijn
6fe95780d3
SCI: Continue disasm until no jumps go past the current opcode
...
This should ensure disasm will disassemble an entire function, and
not stop at an intermediate ret opcode.
2011-03-12 23:46:32 +01:00
md5
fa10ee66e4
SCI: Added proper fix for bug #3048054 - "LONGBOW: crash when opening hand code"
...
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-12 23:48:56 +02:00
md5
0bc9db7872
SCI: Added automatic detection for several selectors
...
This ensures that these selectors will be detected regardless of the game
ID, when they're missing
2011-03-12 18:33:32 +02:00
md5
0b8c57be84
SCI: Moved a heap patch from kScriptID() into script_patches.cpp
2011-03-12 00:57:45 +02:00
Willem Jan Palenstijn
bd6602ea6f
SCI: Clarify fix for KQ5 witch freeze bug #3034714
...
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-11 23:09:13 +01:00
md5
2a37ed395c
SCI: Fixed bug #3034714 - "KQ5CD: ScummVM freezes in dark forest"
...
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-11 18:06:30 +02:00
md5
bca82642a7
SCI: kPurge is the SCI2+ version of kFlushResources
2011-03-10 22:42:58 +02:00
md5
0929d1e12d
SCI: Don't try to uninstantiate scripts marked as deleted
...
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-10 19:18:37 +02:00
md5
5c504739bd
SCI: Removed unnecessary parameter from deallocate()
2011-03-09 23:33:26 +02:00
Walter van Niftrik
952d1a084c
SCI: Implement Mac iconbar event handling.
2011-03-09 21:05:19 +01:00
Lars Skovlund
354e7d0588
Merge branch 'master' of github.com:scummvm/scummvm
2011-03-09 20:19:50 +01:00
Lars Skovlund
a55a211ddc
SCI32: Reroute kSave(5) to kGetSaveFiles(). Any differences to pre-SCI32
...
kGetSaveFiles() should be worked out there.
2011-03-09 20:18:34 +01:00
Johannes Schickel
463e475bd6
SCI: Save mouse position in SciEvent.
...
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-09 01:19:12 +01:00
Willem Jan Palenstijn
eece58df7f
SCI: Remove unused argument to said
2011-03-08 22:50:32 +01:00
md5
12e7d3078b
SCI: Cleanup
2011-03-08 20:13:08 +02:00
md5
92093d267f
SCI: Fixed typos
2011-03-08 15:24:59 +02:00
md5
0642b30933
SCI: Cleanup
2011-03-08 14:46:03 +02:00
md5
6a31e398f7
SCI: Comparisons between pointers and numbers are also done in SCI1.1
...
Fixes SQ4CD
2011-03-08 13:44:09 +02:00
Max Horn
2cbefc8bb5
SCI: Constify some code
2011-03-07 23:21:35 +01:00
Lars Skovlund
1ad4feaf05
SCI: Further clarify comment
2011-03-05 21:46:03 +01:00
md5
dbd3f440d2
SCI: Added some support code for Longbow Amiga
2011-03-05 18:47:13 +02:00
Walter van Niftrik
23dcd3c761
SCI: Remove SCI version check from READ/WRITE_SCI1ENDIAN_UINT16.
2011-03-04 21:55:39 +01:00