aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2011-04-13SCI: Added handling for another version of mt32.drv (bug #3285556)md5
This is used in another version of KQ4 early (0.000.274)
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2011-04-05SCI: Extended the script workaround for the sign reading script (bugs ↵md5
#3272735, #3275413)
2011-04-04SCI: Initialize newPlane fully before adding it to _planesMax Horn
2011-04-04SCI: Added workaround for script bug #3272735 - "SCI: QFG2: Crash when ↵md5
typing 'read sign'"
2011-04-03SCI: Fixed fading-related bugs #3267956 and #3041738md5
2011-04-03SCI: Show object names in the songlib console commandmd5
2011-04-03SCI: Added a workaround for script bug #3268076 - "MOTHERGOOSE: Crash after ↵md5
finishing the game"
2011-04-03SCI: Fixed bug #3266480 and partially fixed bug #3041738md5
Hopefully, this will fix some of the oddities happening because of music fading
2011-04-03SCI: Changed debug console hotkey to Control-Shift-D instead of Control-D.md5
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-02SCI: Fix Mac SCI32 picture transparencyMatthew Hoops
2011-04-02SCI: Fix SQ1 droid zapping issue with a script patch, thanks toLars Skovlund
dhewg for reporting.
2011-04-02SCI: Replace not required emumidi headerdhewg
2011-03-30SCI: Minor cleanupMatthew Hoops
2011-03-30SCI32: Support for views with 640x400 native resolutionLars Skovlund
(fixes Wolfgang closeup, room 720)
2011-03-29JANITORIAL: Remove/comment unused varsdhewg
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-29SCI: Add workaround for a GK1 pointer comparisonMatthew Hoops
2011-03-29SCI: Limit SCI32 view scaling to when we're actually scalingMatthew Hoops
Fixes bug #3253208
2011-03-28SCI: Fix Compilation with --enable-release set.D G Turner
2011-03-28SCI: Add detection entry for my GK1 floppy version.Johannes Schickel
2011-03-28SCI: Renamed restAdjust to r_rest (like r_acc and r_prev)md5
2011-03-28SCI: Error out when kMemorySegment() is requested to save more than 256 bytesmd5
2011-03-28SCI: Set the GC_INTERVAL define to its hexadecimal equivalentmd5
2011-03-27SCI: Moved some debug functions from vm.cpp to scriptdebug.cppmd5
2011-03-27SCI: Fix default pan value in MIDI driver.Walter van Niftrik
2011-03-26SCI: Removed the READ_VAR and WRITE_VAR wrappersmd5
2011-03-26SCI: Refactored and cleaned up the VM call stack handling codemd5
- 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-25SCI: Reordered some functionsmd5
2011-03-25SCI: Cleaned up the BreakpointType enum and documented the bpe commandmd5
2011-03-25SCI: Cleaned up send_selector()md5
- Placed all of the associated debug code in a separate function - Unified debug output
2011-03-25SCI: Extended a workaround for KQ7 to apply in all roomsmd5
2011-03-25SCI: Make sure that planeOffsetX is always correctly initializedmd5
Fixes several issues with the menu in KQ7. Thanks to vakons for his patch. Fixes bug #3231867 - "KQ7 scrolling bug"
2011-03-25SCI: Add two TODOsdhewg
2011-03-24SCI: Close Memory Leak from kAnimate Calls.D G Turner
This was due to a missing destructor in the HunkTable. Thanks to wjp for this patch.
2011-03-23AUDIO: Change several fake MidiDrivers to MidiDriver_BASE subclassesMax Horn
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-23ENGINES: Use Common::StackLock in more placesMax Horn
2011-03-22AUDIO: Add pure virtual MidiDriver::isOpen() methodMax Horn
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-20SCI: Moved the engine hunk pointer processing code inside the GfxPorts classmd5
This allows us make _windowList private again
2011-03-20SCI: Added a new console command "window_list" or "wl"md5
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-20SCI: Removed forward references to obsolete classesmd5
2011-03-20SCI: Added a new console command, "animate_list" or "al"md5
This shows the current animation list, along with object properties, positions and the scripts they belong to
2011-03-20SCI: Disabled the BTTR entry for LSL1 Amigamd5
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-19ALL: s/PI/M_PI/dhewg
Tip of the day: git grep -w PI
2011-03-19SCI: Changed several places that use PI to use the standard M_PI insteadmd5
2011-03-19SCI: Added another leftover debug script in the find_callk console commandmd5
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: Fix the screen height of SQ1 MacMatthew 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: Fixed find_callkmd5
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