aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kernel.cpp
AgeCommit message (Collapse)Author
2010-07-14SCI: replacing some tabs with spacesMartin Kiewitz
svn-id: r50877
2010-07-14SCI: changing SIG_SCI2 back to SIG_SCI32, because all those signatures are ↵Martin Kiewitz
meant for SCI2+, not SCI2 only. Changing SIG_SCI21 to only mean SCI2.1 instead of SCI2.1+, making main signature and mapping of kList exclusive to SCI2.1 svn-id: r50876
2010-07-14SCI: replacing fixme with todoMartin Kiewitz
svn-id: r50875
2010-07-14SCI: moving hack signature for kDoSound(play) to SCI1LATE only, adding ↵Martin Kiewitz
comment about this and changing signature for SCI1EARLY back to what it was. svn-id: r50874
2010-07-14Oops... whitespace/layout again (I'm tired...)Filippos Karapetis
svn-id: r50867
2010-07-14Whitespace/layoutFilippos Karapetis
svn-id: r50866
2010-07-14SCI: Fixed script bug (invalid call to kStrCpy) in Island of Dr. Brain, room ↵Filippos Karapetis
260 (Hominy Homonym puzzle) svn-id: r50865
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-13Fixed the signature check for DoSound (play) for SCI2.1 games, so that they ↵Filippos Karapetis
start again svn-id: r50857
2010-07-13SCI: removing old kernel signature stuffMartin Kiewitz
svn-id: r50848
2010-07-12SCI: fixing typoMartin Kiewitz
svn-id: r50827
2010-07-12SCI: adding kUnLoad workaround for lsl6 (during end kUnLoad is called with ↵Martin Kiewitz
additional 4 parameters, someone thought the API would work differently) svn-id: r50826
2010-07-12SCI: adding workaround for signature mismatch when giving merrily the key to ↵Martin Kiewitz
the bungee tower svn-id: r50820
2010-07-12SCI: adding another restore workaround for lsl6Martin Kiewitz
svn-id: r50816
2010-07-12SCI: added another workaround for lsl6 kGraph(restoreBox)Martin Kiewitz
svn-id: r50815
2010-07-12SCI: add workaround for lsl6 restore issue (needs to get further ↵Martin Kiewitz
investigated), hunk segment is used but hunk segment isn't existant at that point when restoring the game svn-id: r50814
2010-07-11SCI: fix signature loading for subops, fixes kq6 signature mismatchMartin Kiewitz
svn-id: r50807
2010-07-11SCI: adding signature workaround for script error in lsl6 during intro, also ↵Martin Kiewitz
changing comments of other workarounds svn-id: r50805
2010-07-11SCI: changing signature for kDoSound(resume) it seems its called right after ↵Martin Kiewitz
restoring to resume music - which we do already automatically svn-id: r50800
2010-07-11SCI: adding workaround for signature mismatch for kDoSound(fade) in kq6 ↵Martin Kiewitz
floppy/demo svn-id: r50799
2010-07-10SCI: fixing kGraph(updateBox) signature for kq6 hires/lowres (allowing null ↵Martin Kiewitz
reference) svn-id: r50793
2010-07-10SCI: adding workaround for kGraph(fillBoxAny) in sq4cd when accessing the ↵Martin Kiewitz
game menu svn-id: r50791
2010-07-10SCI: removing hoyle workaround from kAbs & signature and adding it into ↵Martin Kiewitz
workaround table svn-id: r50790
2010-07-10SCI: adding descriptive comments for subop-tablesMartin Kiewitz
svn-id: r50788
2010-07-10SCI: adding workaround for script error when leaving ulence flats bar in sq1Martin Kiewitz
svn-id: r50787
2010-07-10SCI: added signatures for kGraph, removed isDummy boolean from KernelFunctionMartin Kiewitz
svn-id: r50786
2010-07-10SCI: allow invalid handles in kDisplay calls, fixes pq3 intro signature mismatchMartin Kiewitz
svn-id: r50785
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: actually all sound-sci0 games used a completely different kDoSoundPause ↵Martin Kiewitz
logic, implement it - fixes all sorts of games not pausing when going to restore menu and more svn-id: r50760
2010-07-09SCI: added currently commented-out pauseSound implementation for some sci0 ↵Martin Kiewitz
games, allowing integer for that subfunction svn-id: r50759
2010-07-09SCI: fixing signature for kDoSound(suspend)Martin Kiewitz
svn-id: r50756
2010-07-09SCI: implemented subsignatures for kDoSoundMartin Kiewitz
svn-id: r50755
2010-07-09SCI: getting signatures for subfunctions from previous entries, if neededMartin Kiewitz
svn-id: r50754
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: 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