aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kernel.cpp
AgeCommit message (Collapse)Author
2010-07-05SCI: fixing signature of kDoSound (fading related) thx to CeriandMartin Kiewitz
svn-id: r50707
2010-07-05SCI: fixing kDrawCel signature for kq6Martin Kiewitz
svn-id: r50703
2010-07-05SCI: implemented new kernel call signature formatMartin Kiewitz
svn-id: r50678
2010-07-03SCI: adding support to identify uninitialized values, when doing debug ↵Martin Kiewitz
output for kernel signatures svn-id: r50626
2010-07-03SCI: fixing #define SIGFOR_ALL, so that amiga games work again :PMartin Kiewitz
svn-id: r50621
2010-07-01Support the CD kernel call (stub) and add the TRUE_REG constant.Lars Skovlund
Would be nice to use this constant in pre-existing code. svn-id: r50577
2010-07-01SCI: Mark the ShiftScreen, ListOps and ATan SCI1 kernel functions as unused ↵Filippos Karapetis
(dummy) - we haven't seen them being used anywhere. Added a check and an error in case a kernel function which is considered to be unused is called. svn-id: r50567
2010-06-30SCI: removing sq1 workaround for kUnLoad for now, maybe it was originally ↵Martin Kiewitz
meant for calling kUnLoad with just 1 argument svn-id: r50534
2010-06-30Fixed the signature for kUnload (thanks m_kiewitz)Filippos Karapetis
svn-id: r50530
2010-06-30SCI: changing signature of kUnLoad, adding workaround for sq1 ulence flats bugMartin Kiewitz
svn-id: r50527
2010-06-30SCI: removing all the remaining debug output from signature matchingMartin Kiewitz
svn-id: r50525
2010-06-30SCI: removing full debug output when signature fails to the point where we ↵Martin Kiewitz
didnt find a workaround for a signature mismatch svn-id: r50522
2010-06-30SCI: implementing workarounds for kernel calls, removing original code ↵Martin Kiewitz
workaround for kDisposeScript / qfg1 room 64 and adding it to workaround table svn-id: r50520
2010-06-29SCI: added sci32-specific signature for kGetSaveDirMartin Kiewitz
svn-id: r50509
2010-06-29SCI: added mac-specific signature for kGetEventMartin Kiewitz
svn-id: r50508
2010-06-29SCI: implemented version specific signatures, added special kDrawCel ↵Martin Kiewitz
signature for SCI1.1 (PC)/kq6 svn-id: r50507
2010-06-29SCI: adding space in kernelmap for workaround tableMartin Kiewitz
svn-id: r50506
2010-06-29SCI: kernelMap cleanup and making it possible to have version (not ↵Martin Kiewitz
implemented yet) or platform specific entries - changing signature for kNewWindow - using old dummy-signature for mac-only svn-id: r50504
2010-06-29SCI: print out actual and supposed parameter types when having a kernel call ↵Martin Kiewitz
signature mismatch svn-id: r50487
2010-06-28SCI: Make Script member vars private; add const qualifiersMax Horn
Only three Script members remain public (for now) svn-id: r50428
2010-06-25SCI: Introduce SciGameId enumMax Horn
svn-id: r50273
2010-06-25Added the SCI2.1 kText kernel function (subop 0, kTextSize for now)Filippos Karapetis
svn-id: r50265
2010-06-18SCI: Rewrap some overlong commentsMax Horn
svn-id: r50012
2010-06-17Strict mode: Changed several warnings due to logic bugs into errors. If an ↵Filippos Karapetis
error pops up from these ones, please add the game where it occurred and the steps to reproduce the error before turning it into a warning svn-id: r49973
2010-06-17SCI: Change SciEngine's 'char *getGameID()' to 'Common::String getGameId()'Max Horn
svn-id: r49968
2010-06-17SCI: Remove hack related to compiled kernel signatures.Max Horn
Also change some things to comply to our code formatting conventions. svn-id: r49967
2010-06-17SCI: Remove selector_name function, some cleanupMax Horn
svn-id: r49966
2010-06-17Fix the QFG4 Demo: kStrSplit has been replaced with kRemapColors.Matthew Hoops
svn-id: r49939
2010-06-16Hooked the VMD player in kPlayVMD. The VMD videos in the demo of ↵Filippos Karapetis
Phantasmagoria 1 are shown now (e.g. the intro and the chapter beginning) svn-id: r49912
2010-06-16Implemented the SCI2.1 kMulDiv kernel function. Walking in Torin's Passage ↵Filippos Karapetis
is done correctly now, without leaving trails svn-id: r49909
2010-06-14Hopefully fixed kOnMe (SCI2) and implemented kIsOnMe (SCI2.1). GK1 and the ↵Filippos Karapetis
demo of Phantasmagoria 1 should now be responding to mouse clicks and movement correctly svn-id: r49659
2010-06-11Added a new kernel function, kEmpty, for really empty (not dummy, i.e. ↵Filippos Karapetis
unimplemented) functions svn-id: r49591
2010-06-10In SCI1.1, kSetSynonyms is a dummy (empty) functionFilippos Karapetis
svn-id: r49586
2010-06-10SCI: Get rid of DEFUN, cleanupMax Horn
svn-id: r49579
2010-06-10SCI: Cleanup kernel signature code a bit.Max Horn
* Moved KSIG_SPEC_* from kernel.h to kernel.cpp * Clarified the comment on KSIG_SPEC_* a bit * Changed the other KSIG_ #defines into an enum * Removed KSIG_TERMINATOR and KSIG_SPEC_ARITMETIC (sic) svn-id: r49578
2010-06-09Fixed crash in SCI2.1 gamesFilippos Karapetis
svn-id: r49546
2010-06-09Limit kPortrait to be used in the Windows version of KQ6 onlyFilippos Karapetis
svn-id: r49545
2010-06-09Proper fix for kernel name loading (regression from commit #49537)Filippos Karapetis
svn-id: r49544
2010-06-09Fixed regression from commit #49537Filippos Karapetis
svn-id: r49543
2010-06-09Merged script_init_engine() and game_init() and cleaned up SciEngine::run() ↵Filippos Karapetis
a bit svn-id: r49537
2010-06-07SCI: Relax signature of kCreateTextBitmap.Walter van Niftrik
svn-id: r49470
2010-05-30Limit access to the _bufSize, _scriptSize and _heapSize members of the ↵Filippos Karapetis
Script class svn-id: r49327
2010-05-28CleanupFilippos Karapetis
svn-id: r49290
2010-05-28Added a stub for kMergePoly, to avoid crashing in QFG1VGA after killing a ↵Filippos Karapetis
monster svn-id: r49288
2010-05-27Fix starting GK1.Matthew Hoops
svn-id: r49265
2010-05-18- Removed the wrapper kalloc, kmem and kfree functions. Now, the associated ↵Filippos Karapetis
Segment manager functions allocateHunkEntry, getHunkPointer and freeHunkEntry are used directly (which are more descriptive, anyway) - Replaced the GET_SEGMENT macro by a method of the segment manager - Removed the unused reference to the created hunk in allocateHunkEntry(), only the reg_t reference to it is returned now svn-id: r49078
2010-05-18- Moved kernel_lookup_text inside the Kernel classFilippos Karapetis
- Added a pointer to the segment manager from within the Kernel class, thus simplifying the calls to it svn-id: r49076
2010-05-18- Moved determine_reg_type() and kernel_matches_signature() inside the ↵Filippos Karapetis
Kernel class, where they belong - Moved the kernel signature defines inside kernel.h - Removed some unused references to EngineState svn-id: r49075
2010-05-18Add initial support for KQ6 Mac. Wrapper functions for read/writing to ↵Matthew Hoops
pointers are now used (found in util.*) for code that has different endianness in SCI1.1+ Mac games. Add support for Mac 'snd ' and 'CURS' resources. QFG1 Mac is not yet playable due to script compression. svn-id: r49070
2010-05-12ListIndexOf can have a null object reference, so adjust its signature. GK1 ↵Matthew Hoops
no longer crashes when right clicking in the inventory. svn-id: r49009