aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kernel_tables.h
AgeCommit message (Collapse)Author
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
2010-08-02SCI: Fixed script bug #3037835 - "ISLANDBRAIN: Crash when breeding ↵Filippos Karapetis
second-generation hybrid" svn-id: r51611
2010-08-02SCI: Fixed script bug #3038077 - "PQ3 : Engine Abort While Plotting Crimes", ↵Filippos Karapetis
together with 2 subsequent similar bugs svn-id: r51609
2010-07-30SCI: Fix saving/restoring games in fan gamesMatthew Hoops
The SCI Studio function library incorrectly calls kDeviceInfo with one parameter to get the current device. svn-id: r51514
2010-07-30SCI: adding workaround for kSetCursor kq5cdMartin Kiewitz
adding comments as well svn-id: r51510
2010-07-30SCI: cleaning up kSetCursorMartin Kiewitz
showing warning about unsupported mag-cursor when argc = 10 is used removing argc = 9 support, must have been a script bug somewhere svn-id: r51500
2010-07-28SCI: changed kRandom signatureMartin Kiewitz
accepts 1-3 parameters now for all SCI versions (shouldnt hurt and argc 3 will error() out anyway) changed comments a bit svn-id: r51438
2010-07-28SCI: implement additional variants of kRandomMartin Kiewitz
fixes pq1vga poker game (bug #3036125) svn-id: r51435
2010-07-28SCI: fixes for qfg2Martin Kiewitz
adding workaround changing signature for dummy kDoSound call svn-id: r51411
2010-07-28SCI: Fix bug #3035720 - SQ1SCI demo: Menu crashMatthew Hoops
kCelWide and kCelHigh are called with the second two parameters as objects instead of integers. We fake return the real width/height of the view in question to allow the quit menu to work. Values found by examining the view passed as the first parameter. svn-id: r51401
2010-07-27SCI: fixing signature of kCheckFreeSpaceMartin Kiewitz
svn-id: r51394
2010-07-27SCI: changes for mother goose sci2.1Martin Kiewitz
changed signature for kSetCursor sci2.1 added workarounds added separate gameid for mother goose sci2.1 svn-id: r51385
2010-07-27SCI: kCheckFreeSpace support for sci1.1Martin Kiewitz
and possible sci32 svn-id: r51383
2010-07-27SCI: implemented kPalette(save/restore)Martin Kiewitz
svn-id: r51381
2010-07-27SCI: Fixed bug #3035186 - "ECOQUEST2: Crash When Receiving Ecorder". Also ↵Filippos Karapetis
removed the now obsolete kStringCpy workaround table. svn-id: r51372
2010-07-27SCI: Fixed script bug #3034610 - "KQ6CD: Crash in endgame (short path)", and ↵Filippos Karapetis
removed a relevant TODO svn-id: r51356
2010-07-27SCI: Fixed bug #3035057 - "ECOQUEST demo: Crashing menu". EcoQuest 1 demo is ↵Filippos Karapetis
using an in between SCI1-SCI1.1 interpreter. It's SCI1.1, but it calls kNewWindow with the SCI1 semantics. svn-id: r51354
2010-07-26SCI: implement scaling for kDrawCelMartin Kiewitz
fixes qfg4 demo properly (bug #3034506, previous commit r51304) svn-id: r51332
2010-07-26SCI: reverting r51304, broke kq6 hiresMartin Kiewitz
svn-id: r51329