aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kernel.h
AgeCommit message (Collapse)Author
2010-07-25SCI: adding kAddPicAt dummyMartin Kiewitz
svn-id: r51283
2010-07-25SCI: adding separate kCantBeHere32 (stub)Martin Kiewitz
svn-id: r51273
2010-07-23SCI: adding new debug command logkernelMartin Kiewitz
svn-id: r51220
2010-07-21SCI: More rest of the workaround defs to workarounds.hMax Horn
svn-id: r51090
2010-07-21SCI: Moved all the static kernel-related tables in a separate file. Also, ↵Filippos Karapetis
moved kStub, kStubNull and kDummy inside kmisc.cpp, together with the other misc kernel calls svn-id: r51089
2010-07-20SCI: clean up workaround tables/codeMartin Kiewitz
svn-id: r51068
2010-07-20SCI: adding uninit workarounds for cnick gamesMartin Kiewitz
longbow and king's quest KQ has the same issues as hoyle 3 svn-id: r51063
2010-07-20SCI: renaming kDoSound(resume) to resumeAfterRestoreMartin Kiewitz
kDoSound(resumeAfterRestore) is called right after restoring a saved game for sound-sci0 games, we already resume playing music inside restore, so we don't need to implement this at all svn-id: r51058
2010-07-18SCI: adding room numbers to all workaroundsMartin Kiewitz
svn-id: r50990
2010-07-14SCI: added signatures for kFileIO, some changes to actual kFileIO code, ↵Martin Kiewitz
removed some CHECKMEs/TODOs svn-id: r50896
2010-07-14TyposFilippos Karapetis
svn-id: r50863
2010-07-14SCI:Filippos Karapetis
- Split SCI2 from SCI2.1 signature checks - Added signature checking for the subops of the SCI2.1 kernel call kList - Added support for calls to kAddToFront and kAddToEnd with 3 parameters (unimplemented code uncovered by the signature checks) - Added a FIXME for a potential incorrect subop (uncovered by the signature checks), which might be related to the crashes in the demo of Torin's Passage svn-id: r50861
2010-07-12SCI: Remove dead codeMax Horn
svn-id: r50817
2010-07-10SCI: added signatures for kGraph, removed isDummy boolean from KernelFunctionMartin Kiewitz
svn-id: r50786
2010-07-10SCI: adding kPalette signatures, fixing 3 kPalVary calls, fixing ↵Martin Kiewitz
kAssertPalette (we used the wrong parameter number before, maybe the issues were caused by this) svn-id: r50780
2010-07-10SCI: added kPalVary signatures & mapping, removed debug-warningsMartin Kiewitz
svn-id: r50777
2010-07-09SCI: removing origName from KernelFunction struct, adding debugCalls boolean ↵Martin Kiewitz
for later use svn-id: r50769
2010-07-09SCI: implemented subsignatures for kDoSoundMartin Kiewitz
svn-id: r50755
2010-07-08SCI: part of subfunction signature&mapping implemented, little cleanupMartin Kiewitz
svn-id: r50750
2010-07-08SCI: sorted kernel map alphabeticallyMartin Kiewitz
svn-id: r50746
2010-07-07SCI: adding support to kernel signatures that invalid references may also ↵Martin Kiewitz
get allowed - doing exactly this for kGraph(restoreBox) - fixes castle of dr. brain when quitting the game - maybe a game specific workaround would be better?!?! svn-id: r50737
2010-07-06SCI: removing invalid reference error from signature checking, instead ↵Martin Kiewitz
adding new type "invalid", so that full call parameter debug information is available svn-id: r50725
2010-07-05SCI: fix compilation issues from r50678Martin Kiewitz
svn-id: r50679
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-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-06-30SCI: Removed the FreeSCI music codeFilippos Karapetis
svn-id: r50532
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: print out actual and supposed parameter types when having a kernel call ↵Martin Kiewitz
signature mismatch svn-id: r50487
2010-06-25Removed all of the non-validating code - there's no real point in removing ↵Filippos Karapetis
script validations svn-id: r50275
2010-06-25Added the SCI2.1 kText kernel function (subop 0, kTextSize for now)Filippos Karapetis
svn-id: r50265
2010-06-23Moved the SelectorCache struct inside selector.h, where it belongs, and ↵Filippos Karapetis
fixed some header dependencies in the process svn-id: r50183
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-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-10SCI: Fix some doxygen commentsMax Horn
svn-id: r49581
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-10SCI: cleanupMax Horn
svn-id: r49573
2010-06-09Fixed crash in SCI2.1 gamesFilippos Karapetis
svn-id: r49546
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-05-28Added a stub for kMergePoly, to avoid crashing in QFG1VGA after killing a ↵Filippos Karapetis
monster svn-id: r49288
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-03-18COMMON: Move typedef StringList from str.h to new header str-array.hMax Horn
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282
2010-02-20Removed dead codeFilippos Karapetis
svn-id: r48097