md5
b4051db142
SCI: Extended the script workaround for the sign reading script (bugs #3272735 , #3275413 )
2011-04-05 10:23:51 +03:00
Max Horn
a4eea36b84
SCI: Initialize newPlane fully before adding it to _planes
2011-04-04 09:53:26 +02:00
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
bfef0f5a6f
SCI: Fixed fading-related bugs #3267956 and #3041738
2011-04-03 19:02:14 +03:00
md5
6d90b0739a
SCI: Show object names in the songlib console command
2011-04-03 19:01: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
md5
9654068659
SCI: Fixed bug #3266480 and partially fixed bug #3041738
...
Hopefully, this will fix some of the oddities happening because of music fading
2011-04-03 14:37:15 +03:00
md5
51f733b2a6
SCI: Changed debug console hotkey to Control-Shift-D instead of Control-D.
...
Applied from patch #3258985 .
The previous hotkey interfered with the hotkeys of some games (e.g.
the "time of day" hotkey in QFG2, bug #3250996 ).
2011-04-03 14:35:54 +03:00
Matthew Hoops
9fb10f98e2
SCI: Fix Mac SCI32 picture transparency
2011-04-02 22:35:23 -04: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
dhewg
23ad90b781
SCI: Replace not required emumidi header
2011-04-02 13:31:53 +02:00
Matthew Hoops
2a2c7f5bef
SCI: Minor cleanup
2011-03-30 16:00:46 -04:00
Lars Skovlund
40d922206b
SCI32: Support for views with 640x400 native resolution
...
(fixes Wolfgang closeup, room 720)
2011-03-30 21:30:51 +02:00
dhewg
d83a83ef50
JANITORIAL: Remove/comment unused vars
...
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-29 21:57:56 +02:00
Matthew Hoops
5bc5e95e12
SCI: Add workaround for a GK1 pointer comparison
2011-03-29 13:48:07 -04:00
Matthew Hoops
e1883a6cf4
SCI: Limit SCI32 view scaling to when we're actually scaling
...
Fixes bug #3253208
2011-03-29 10:56:19 -04:00
D G Turner
344369c294
SCI: Fix Compilation with --enable-release set.
2011-03-28 22:45:01 +01:00
Johannes Schickel
ef3324f8b2
SCI: Add detection entry for my GK1 floppy version.
2011-03-28 19:07:17 +02: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
Walter van Niftrik
6501a86095
SCI: Fix default pan value in MIDI driver.
2011-03-27 00:04:28 +01: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
md5
c2274e9065
SCI: Make sure that planeOffsetX is always correctly initialized
...
Fixes several issues with the menu in KQ7. Thanks to vakons for his patch.
Fixes bug #3231867 - "KQ7 scrolling bug"
2011-03-25 07:41:55 +02:00
dhewg
c144bbf957
SCI: Add two TODOs
2011-03-25 00:41:01 +01: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
Max Horn
29847ea42d
AUDIO: Change several fake MidiDrivers to MidiDriver_BASE subclasses
...
Many engines follow the advice in audio/midiparser.h and create a
"pseudo-MidiDriver" subclass. But MidiParser really only needs a tiny
subset of the MidiDriver capabilities, namely those found in
MidiDriver_BASE. So we try to subclass from that whenever possible; this
allows us to remove many stub methods, and enables further future
simplifications.
2011-03-23 15:25:47 +01:00
Max Horn
7b02dac3c5
ENGINES: Use Common::StackLock in more places
2011-03-23 15:25:46 +01:00
Max Horn
8982fff1b7
AUDIO: Add pure virtual MidiDriver::isOpen() method
...
This in turn enables modifying MidiDriver_MPU401::close() to allow
it to be called on a midi driver that has not yet been opened.
The specific issue that triggered me to make these changes was a
crash-upon-quit in HUGO, caused by it instantiating a midi driver,
then encountering an error (missing hugo.dat) *before* having
opened the new midi driver; the general cleanup code then tries
to close the (not yet opened) midi driver -> kaboom
Also fixed some engines which were leaking MidiDriver instances.
2011-03-22 23:51:47 +01: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
md5
4df049f4d7
SCI: Added a new console command "window_list" or "wl"
...
This can be used to see a list of the currently open windows. Also, added
a sanity check for the "al" command and performed some minor cleanup
2011-03-20 14:56:13 +02:00
md5
a43689550e
SCI: Removed forward references to obsolete classes
2011-03-20 14:54:36 +02:00
md5
1e68000def
SCI: Added a new console command, "animate_list" or "al"
...
This shows the current animation list, along with object properties,
positions and the scripts they belong to
2011-03-20 04:10:29 +02:00
md5
4b371a9e7a
SCI: Disabled the BTTR entry for LSL1 Amiga
...
This version it contains a broken resource.002 file inside disk 3, which
contains a large chunk of zeros and several broken resources (e.g. pic
250 and views 250 and 251).
2011-03-20 03:02:02 +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
md5
156f1c0178
SCI: Added another leftover debug script in the find_callk console command
2011-03-19 01:57:39 +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
Matthew Hoops
6864a6084d
SCI: Fix the screen height of SQ1 Mac
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
4c5950dff2
SCI: Fixed find_callk
...
Create a custom segment manager within find_callk, so that the game's
segment manager won't be affected by loading and unloading scripts in there
2011-03-14 21:33:07 +02:00
md5
ca1f9a075f
SCI: Got rid of VERIFY() and removed some newlines in error messages
2011-03-14 20:00:26 +02:00
md5
75319afbfd
SCI: Ignore some more leftovers scripts in the find_callk console command
2011-03-14 19:59:30 +02:00