aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kernel.h
AgeCommit message (Collapse)Author
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
2010-02-02Added a stub for kCreateTextBitmap, which shows the text that should be ↵Filippos Karapetis
drawn on screen svn-id: r47816
2010-02-01Added an initial implementation of kGetHighPlanePriFilippos Karapetis
svn-id: r47799
2010-01-31SCI: Add stub for kIntersections()Walter van Niftrik
svn-id: r47784
2010-01-31SCI: Implement kMemorySegment().Walter van Niftrik
svn-id: r47776
2010-01-29SCI: Move selector stuff to new header; reorder k_argc & k_argp param of ↵Max Horn
invoke_selector svn-id: r47665
2010-01-28SCI: CleanupWalter van Niftrik
svn-id: r47649
2010-01-28SCI2.1: Added a dummy function for kRobot (with some info on its ↵Filippos Karapetis
parameters), assigned IsOnMe to OnMe (needs verification, but seems to be correct) and changed kSave(8) to return nonzero. The menu of the Phantasmagoria demo is now shown, together with its creepy music :) svn-id: r47648
2010-01-28Detect whether to use the modified SCI2 or SCI2.1 kernel table based on the ↵Matthew Hoops
kDoSound call used in Sound::play(), which fixes at least my version of KQ7 - probably others. The kernel table initialization now occurs after the script signatures are adjusted as we need it adjusted before checking through Sound::play for the kDoSound call. svn-id: r47645
2010-01-27Oops.... actually close the defgroup :)Filippos Karapetis
svn-id: r47599