aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kernel.cpp
AgeCommit message (Collapse)Author
2010-07-23SCI: logkernel changesMartin Kiewitz
removing old manual debug code, use logkernel * on/off to log all calls svn-id: r51222
2010-07-23SCI: adding new debug command logkernelMartin Kiewitz
svn-id: r51220
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-21SCI: Moved all the workaround tables in a separate file, to keep them apart ↵Filippos Karapetis
from the actual code svn-id: r51088
2010-07-20SCI: some sci32 fixesMartin Kiewitz
kOnMe, kLocal2Global, kGlobal2Local now hires capable, hotspots seem to work in lsl6 and sq6, although pressing on start in sq6 doesn't work yet, you need to click on the rightmost/bottom area svn-id: r51074
2010-07-20SCI: clean up workaround tables/codeMartin Kiewitz
svn-id: r51068
2010-07-20SCI: adding workaround for sq1 in barMartin Kiewitz
kGraph(drawLine) gets called sometimes with additional parameter svn-id: r51065
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: change the workaround-typesMartin Kiewitz
0 is now don't call 1 is do call 2 is don't call and fake acc makes more sense svn-id: r51060
2010-07-20SCI: added workaround for kq1 kDoSound(fade)Martin Kiewitz
gets called with object 0:0 in several scenes, just ignore that call svn-id: r51059
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-19SCI: lsl6 workaround switched on for all roomsMartin Kiewitz
lsl6 workaround also happens later, so we switch it to all rooms svn-id: r51026
2010-07-19SCI: fixing signature for kDoSound(setReverb)Martin Kiewitz
fixes lsl5 signature mismatch, signature was wrong svn-id: r51020
2010-07-18SCI : Corrected valgrind error on engine exitDavid Turner
svn-id: r51011
2010-07-18SCI: Add Mac signature for kTextSize which can have an extra integer parameter.Matthew Hoops
svn-id: r51004
2010-07-18SCI: adding room numbers to all workaroundsMartin Kiewitz
svn-id: r50990
2010-07-17SCI: removing kSetPort 4 argument support from r44938, which was wrong - ↵Martin Kiewitz
adding workaround for lsl6 ending - fixes lsl6 ending svn-id: r50967
2010-07-16SCI: adding signatures for 4-parameter variant of kDoSound(sendMidi), needs ↵Martin Kiewitz
to get figured out how this works - fixes signature mismatch in lsl1 svn-id: r50937
2010-07-14SCI: removing #ifdef ENABLE_SCI32 from one single line (just a waste) and ↵Martin Kiewitz
adding it to kDoSound (SCI2.1) svn-id: r50897
2010-07-14SCI: added signatures for kFileIO, some changes to actual kFileIO code, ↵Martin Kiewitz
removed some CHECKMEs/TODOs svn-id: r50896
2010-07-14SCI: changing kList(18) into StubNull, so that torin demo works a little ↵Martin Kiewitz
more till we figure out what's supposed to be in there svn-id: r50880
2010-07-14SCI: changing signature of kDoSound(play) in SCI2.1 to "o(i)" now, because ↵Martin Kiewitz
qfg4 still uses "oi" calling svn-id: r50879
2010-07-14SCI: adding sound version 2.1, to properly add sci2.1 signature for ↵Martin Kiewitz
kDoSound(play) svn-id: r50878
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