aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2011-04-26SCI: Fixed several uninitialized variable script bugs in Hoyle 4 Bridgemd5
This fixes bug #3292332, along with other related issues
2011-04-26SCI: Updated the view type descriptions in the "version" console commandmd5
2011-04-21SCI: Avoid (unused) sqrt of a negative numberWillem Jan Palenstijn
This fixes bug #3289799.
2011-04-20SCI: Fix precedence (bug #3087872)Willem Jan Palenstijn
2011-04-17SCI: Prefer Surface::create taking a PixelFormat over the one taking a byte ↵Johannes Schickel
depth.
2011-04-15SCI: Some initial work on supporting patch.005 in KQ1 Amigamd5
2011-04-15SCI: Silenced the warning for kMacPlatform(1)md5
This warning produces a lot of spam in the console (e.g. it pops up whenever the icon bar is opened in Dr. Brain Mac), thus it has been silenced
2011-04-14ALL: centre -> centerMax Horn
2011-04-13SCI: Remove left-over fixme commentWillem Jan Palenstijn
It should have been removed in b40b87fdb5b4ee869cce55d852af409896b20c98
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