aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kernel_tables.h
AgeCommit message (Collapse)Author
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
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-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-10SCI: kPurge is the SCI2+ version of kFlushResourcesmd5
2011-02-27SCI: Renamed SCI_VERSION_1_EGA to SCI_VERSION_1_EGA_ONLYmd5
This renaming allows us to better distinguish that this version is for games that only had an EGA version, and avoid confusion with newer SCI1 game releases with EGA graphics (e.g. KQ5 EGA). The only game with this SCI version is QFG2, a SCI1 EGA game with a parser. Also, added some games for each SCI version.
2011-02-03SCI: Add a stub for kFont which calls kSetFontRes as a subopMatthew Hoops
svn-id: r55755
2011-02-03SCI: Add support for GK1 Mac high-res fontsMatthew Hoops
svn-id: r55754
2011-02-02SCI: Add comment about GK1 Mac using kSetFontResMatthew Hoops
svn-id: r55719
2011-01-12SCI: Added a workaround for script bug #3156472 - "King's Quest 5 cdrom ↵Filippos Karapetis
version crash on escape" svn-id: r55217
2011-01-08SCI2: Updated commentsFilippos Karapetis
svn-id: r55177
2011-01-08SCI2.1: Added some information about kSetPalStyleRange, kNewRoom and kMorphOnFilippos Karapetis
svn-id: r55165
2011-01-08SCI2.1: Some stubs used by SQ6Filippos Karapetis
- Added a stub and some info about the (large) kScrollWindow kernel call - Added info about kMovePlaneItems svn-id: r55163
2011-01-08SCI2.1: Some functionality for Phantasmagoria 1 and MUMG DeluxeFilippos Karapetis
- Added a stub for kSetLanguage, used in MUMG Deluxe - this needs support at the resource manager level - Made kGetSierraProfileInt a stub function (it's used in the Windows version of Phantasmagoria 1 to override the video speed setting obtained from kGetConfig) svn-id: r55161
2011-01-08SCI: Fixed typoFilippos Karapetis
svn-id: r55160
2011-01-08SCI2.1: Added/documented some functionality used by Shivers 1Filippos Karapetis
- Added kFileIO subop 17 (create save slot) - Added information about a (probably debug) kernel function used in a puzzle, kCelInfo - Added some information on two kSave subops - Added 2 workarounds for uninitialized variables svn-id: r55158
2011-01-07SCI: Removed leftover end markers from the opcode formats arrayFilippos Karapetis
svn-id: r55153
2011-01-07SCI2/2.1: Improvements to the find_callk debug function, and some kernel ↵Filippos Karapetis
function updates - Improved the find_callk function to properly find the end of script objects, by monitoring jump calls - Added three extra special calls to find_callk: find kernel function calls to dummy, unused and unmapped kernel functions - Updated several kernel function calls because of the above functionality - The above functionality has also uncovered a VM bug in some SCI2/2.1 opcode - added a FIXME for it svn-id: r55151
2011-01-07SCI2.1: Kernel function changes (after looking through all of the SCI2.1 games)Filippos Karapetis
- Replaced the stub kWinDLL (unused), as well as the not fully implemented kPrintDebug functions with empty function calls - Marked several unused or debug kernel functions as stub - Added some games where the rest of the unimplemented SCI2.1 kernel functions are used svn-id: r55138
2010-11-24SCI: some changes to the way reverb is handledFilippos Karapetis
- "Invalid" SCI reverb values (127) are properly handled now - SCI kDoSound(reverb) sets the global reverb (renamed it accordingly) - kDoSound(reverb) can also return the current reverb if no parameter is sent svn-id: r54457
2010-11-19SCI: Implement the GetConfig call for LSL7Lars Skovlund
svn-id: r54369
2010-11-10SCI: Some SCI3 changesFilippos Karapetis
- Extended the SCI2.1 kernel function signatures for SCI3, as they share the same kernel table - All the engine parts are now initialized in SCI3 games, apart from the VM svn-id: r54178
2010-11-10SCI: Updated the SCI2.1 kernel function table with the SCI3 changes/additionsFilippos Karapetis
svn-id: r54177
2010-11-09SCI: Temporarily disable the PrintDebug call, which is only partiallyLars Skovlund
implemented and insufficient for Shivers/Full. It is also unnecessary for normal play. svn-id: r54158
2010-10-31SCI: Fix for bug #3100292 - "QFG2: signature mismatch at the WIT"Filippos Karapetis
svn-id: r53993
2010-10-29SCI: Updated kSetShowStyle signature for SCI2.1. SQ6 starts againFilippos Karapetis
svn-id: r53919
2010-10-23SCI: Silence runtime warnings when editing kernel_tables.h with VS2010Filippos Karapetis
svn-id: r53743
2010-10-23ALL: Fix indention (whitespaces -> tabs)Max Horn
svn-id: r53738
2010-10-20SCI: Changed some tabs to spacesFilippos Karapetis
svn-id: r53648
2010-10-20SCI: Marked several unused SCI2/SCI2.1 kernel functions and updated comments ↵Filippos Karapetis
about some others svn-id: r53647
2010-10-17SCI: Added comments for the unmapped SCI2/SCI2.1 kernel functionsFilippos Karapetis
svn-id: r53556
2010-09-17SCI: Use spaces for indentation for consistency.Johannes Schickel
I think the code uses this in this particular instance to have the comments on top of the various tables aligned with the actualy entries, so I decided not to make this conform to our guidelines, but rather to the rest of the style used in this file. svn-id: r52766
2010-09-17SCI2: some very early work on kSetShowStyleFilippos Karapetis
svn-id: r52764
2010-09-15SCI: Some very early work on kRemapColors (just comments/observations for now)Filippos Karapetis
svn-id: r52733
2010-09-15SCI2: adding a stub for the kPurge memory functionFilippos Karapetis
kPurge is specific to the SSCI memory manager. We have our own memory manager and garbage collector, thus we ignore these calls svn-id: r52732
2010-09-09SCI: Implemented the kPrintDebug SCI2.1 kernel function, used in Shivers (demo)Filippos Karapetis
svn-id: r52665
2010-09-09SCI: kIsOnMe is kOnMe, merge both into kIsOnMeMartin Kiewitz
and map kOnMe for SCI2 to kIsOnMe, remove commented out hacks. fix signatures for those 2 functions, added TODO - someone should fix the SCI32 signatures svn-id: r52664
2010-09-09SCI: Kernel table changesFilippos Karapetis
- Added the kernel names for all unimplemented kernel debug functions, and mapped them all to kDummy, so that the kernel tables are correct and all kernel functions are mapped (useful for debugging) - Added a stub for kWinHelp (normally opens an external Windows help file), with an appropriate dialog - Added a stub for kWinDLL, which currently errors out on purpose (this needs to be investigated, as it loads and uses external Windows DLLs) - Readded kListIndexOf in kList (the signature was wrong when the previous commit was made) svn-id: r52660
2010-09-09SCI: SCI2/2.1 kernel table changesFilippos Karapetis
- Mark several SCI2/2.1 kernel functions used for debugging as dummy - Added an empty function for kSetWindowsOption, used for settings specific to Windows versions (e.g. showing/hiding the title bar) - Added a stub for kGetWindowsOption (currently returning 0 to a Windows related option for Phantasmagoria) svn-id: r52652
2010-09-09SCI: Support a few optional parameters in SCI32 List callsLars Skovlund
the actual support was already there due to extensive code sharing w/SCI0, so only modifying signatures here svn-id: r52650
2010-09-04SCI: properly reversed kDoAvoiderMartin Kiewitz
getAngle()-code is missing though. Still fixes lsl2early hang on airport (bug #3037036), fixes kq4early unicorn doing moonwalk (kq4late still works as well) svn-id: r52512
2010-08-24SCI: more work on replacing save dialogMartin Kiewitz
also removing some previous code, because it wont work that way svn-id: r52342
2010-08-24SCI: changing signature of kRestoreGameMartin Kiewitz
and changing patch code accordingly svn-id: r52320
2010-08-23SCI: some more work on replacing restore dialogMartin Kiewitz
svn-id: r52314
2010-08-22SCI: Reimplemented the kShow kernel command, used by the inbuilt SCI ↵Filippos Karapetis
debugger. There is no real need to implement kernel debug commands, but since this one maps almost directly to our own "show" debug command, it has been reimplemented (was removed in rev #45310). Normally, there is no real need to implement kernel functions for debug functionality, since there are advanced tools for this purpose nowadays (plus, ScummVM's debugger). Fixes bug #3050616 - "QFG1 EGA: priority/control/view functions crash, debug mode" svn-id: r52281
2010-08-18SCI: Fixed script bug #3048054 - "LONGBOW: crash when opening hand code" ↵Filippos Karapetis
(German version) svn-id: r52196
2010-08-18SCI: Fixed bug #3042964 - "KQ4: Signature Mismatch"Filippos Karapetis
svn-id: r52180
2010-08-11SCI: adding workaround for sq1Martin Kiewitz
when restoring on arcada in some rooms (bug #3040908) svn-id: r51984
2010-08-03SCI: adding kDoSound(fade) workaround table to sci1earlyMartin Kiewitz
fixes kq5 bug #3037594 thx to [md5] for testing svn-id: r51686
2010-08-02SCI: Silenced some sound related warnings. Added an empty function for ↵Filippos Karapetis
kDoSound(Restore), called when restoring games svn-id: r51661