Commit Graph
395 Commits
Author SHA1 Message Date
Martin Kiewitz 8364b0bd29 SCI: adding kUnLoad workaround for lsl6 (during end kUnLoad is called with additional 4 parameters, someone thought the API would work differently)
svn-id: r50826
2010-07-12 17:50:36 +00:00
Martin Kiewitz 8fa759adb3 SCI: adding workaround for signature mismatch when giving merrily the key to the bungee tower
svn-id: r50820
2010-07-12 12:31:13 +00:00
Martin Kiewitz 698a347da6 SCI: adding another restore workaround for lsl6
svn-id: r50816
2010-07-12 10:47:47 +00:00
Martin Kiewitz 21c9106620 SCI: added another workaround for lsl6 kGraph(restoreBox)
svn-id: r50815
2010-07-12 10:31:32 +00:00
Martin Kiewitz c1e954bdad SCI: add workaround for lsl6 restore issue (needs to get further investigated), hunk segment is used but hunk segment isn't existant at that point when restoring the game
svn-id: r50814
2010-07-12 09:24:18 +00:00
Martin Kiewitz 115d7d0132 SCI: fix signature loading for subops, fixes kq6 signature mismatch
svn-id: r50807
2010-07-11 21:03:23 +00:00
Martin Kiewitz 737f2c0fa4 SCI: adding signature workaround for script error in lsl6 during intro, also changing comments of other workarounds
svn-id: r50805
2010-07-11 19:11:48 +00:00
Martin Kiewitz 38d79f60e3 SCI: changing signature for kDoSound(resume) it seems its called right after restoring to resume music - which we do already automatically
svn-id: r50800
2010-07-11 11:52:17 +00:00
Martin Kiewitz 110d644f49 SCI: adding workaround for signature mismatch for kDoSound(fade) in kq6 floppy/demo
svn-id: r50799
2010-07-11 11:12:03 +00:00
Martin Kiewitz 5721b75205 SCI: fixing kGraph(updateBox) signature for kq6 hires/lowres (allowing null reference)
svn-id: r50793
2010-07-10 21:47:37 +00:00
Martin Kiewitz 5e4d4fde67 SCI: adding workaround for kGraph(fillBoxAny) in sq4cd when accessing the game menu
svn-id: r50791
2010-07-10 20:45:59 +00:00
Martin Kiewitz 5c2489f153 SCI: removing hoyle workaround from kAbs & signature and adding it into workaround table
svn-id: r50790
2010-07-10 19:58:25 +00:00
Martin Kiewitz 8b112704b2 SCI: adding descriptive comments for subop-tables
svn-id: r50788
2010-07-10 18:34:38 +00:00
Martin Kiewitz a92a8d3c54 SCI: adding workaround for script error when leaving ulence flats bar in sq1
svn-id: r50787
2010-07-10 18:31:11 +00:00
Martin Kiewitz 790e9b0351 SCI: added signatures for kGraph, removed isDummy boolean from KernelFunction
svn-id: r50786
2010-07-10 18:21:09 +00:00
Martin Kiewitz b7906e7feb SCI: allow invalid handles in kDisplay calls, fixes pq3 intro signature mismatch
svn-id: r50785
2010-07-10 17:08:42 +00:00
Martin Kiewitz f38348b82e SCI: adding kPalette signatures, fixing 3 kPalVary calls, fixing kAssertPalette (we used the wrong parameter number before, maybe the issues were caused by this)
svn-id: r50780
2010-07-10 12:19:32 +00:00
Martin Kiewitz f687a44d2a SCI: added kPalVary signatures & mapping, removed debug-warnings
svn-id: r50777
2010-07-10 10:20:23 +00:00
Martin Kiewitz d27e4a475b SCI: removing origName from KernelFunction struct, adding debugCalls boolean for later use
svn-id: r50769
2010-07-09 21:10:14 +00:00
Martin Kiewitz eddd6d0dba SCI: actually all sound-sci0 games used a completely different kDoSoundPause logic, implement it - fixes all sorts of games not pausing when going to restore menu and more
svn-id: r50760
2010-07-09 16:05:47 +00:00
Martin Kiewitz aadf2e9765 SCI: added currently commented-out pauseSound implementation for some sci0 games, allowing integer for that subfunction
svn-id: r50759
2010-07-09 14:11:27 +00:00
Martin Kiewitz 125f28c367 SCI: fixing signature for kDoSound(suspend)
svn-id: r50756
2010-07-09 12:26:54 +00:00
Martin Kiewitz ba776fb293 SCI: implemented subsignatures for kDoSound
svn-id: r50755
2010-07-09 12:06:41 +00:00
Martin Kiewitz 9117eec6a7 SCI: getting signatures for subfunctions from previous entries, if needed
svn-id: r50754
2010-07-09 09:26:57 +00:00
Martin Kiewitz 7e05d6e62b SCI: part of subfunction signature&mapping implemented, little cleanup
svn-id: r50750
2010-07-08 21:22:59 +00:00
Martin Kiewitz b877f3c711 SCI: sorted kernel map alphabetically
svn-id: r50746
2010-07-08 18:26:05 +00:00
Martin Kiewitz 322d57a1dd SCI: adding support to kernel signatures that invalid references may also 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-07 18:35:07 +00:00
Martin Kiewitz c349d7130c SCI: removing invalid reference error from signature checking, instead adding new type "invalid", so that full call parameter debug information is available
svn-id: r50725
2010-07-06 14:26:29 +00:00
Martin Kiewitz cffcc3d936 SCI: fixing signature of kDoSound (fading related) thx to Ceriand
svn-id: r50707
2010-07-05 20:25:33 +00:00
Martin Kiewitz 0d317c40a2 SCI: fixing kDrawCel signature for kq6
svn-id: r50703
2010-07-05 19:31:32 +00:00
Martin Kiewitz 5527882daa SCI: implemented new kernel call signature format
svn-id: r50678
2010-07-05 14:36:31 +00:00
Martin Kiewitz 5872f5bb1f SCI: adding support to identify uninitialized values, when doing debug output for kernel signatures
svn-id: r50626
2010-07-03 18:44:44 +00:00
Martin Kiewitz 6b152e8039 SCI: fixing #define SIGFOR_ALL, so that amiga games work again :P
svn-id: r50621
2010-07-03 12:33:49 +00:00
Lars Skovlund 4dd02d2f4a Support the CD kernel call (stub) and add the TRUE_REG constant.
Would be nice to use this constant in pre-existing code.

svn-id: r50577
2010-07-01 22:38:36 +00:00
Filippos Karapetis fa014867cf SCI: Mark the ShiftScreen, ListOps and ATan SCI1 kernel functions as unused (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-07-01 20:16:42 +00:00
Martin Kiewitz 04d8ac4114 SCI: removing sq1 workaround for kUnLoad for now, maybe it was originally meant for calling kUnLoad with just 1 argument
svn-id: r50534
2010-06-30 14:39:03 +00:00
Filippos Karapetis a14c6d7815 Fixed the signature for kUnload (thanks m_kiewitz)
svn-id: r50530
2010-06-30 13:31:47 +00:00
Martin Kiewitz cf5c60ed4f SCI: changing signature of kUnLoad, adding workaround for sq1 ulence flats bug
svn-id: r50527
2010-06-30 11:05:29 +00:00
Martin Kiewitz c6695b1d6a SCI: removing all the remaining debug output from signature matching
svn-id: r50525
2010-06-30 10:31:23 +00:00
Martin Kiewitz 915b9fa318 SCI: removing full debug output when signature fails to the point where we didnt find a workaround for a signature mismatch
svn-id: r50522
2010-06-30 10:09:07 +00:00
Martin Kiewitz 7595e7c1be SCI: implementing workarounds for kernel calls, removing original code workaround for kDisposeScript / qfg1 room 64 and adding it to workaround table
svn-id: r50520
2010-06-30 09:47:04 +00:00
Martin Kiewitz 97186bd5b0 SCI: added sci32-specific signature for kGetSaveDir
svn-id: r50509
2010-06-29 21:53:27 +00:00
Martin Kiewitz 0f28c799f0 SCI: added mac-specific signature for kGetEvent
svn-id: r50508
2010-06-29 21:47:34 +00:00
Martin Kiewitz 2e58bdc202 SCI: implemented version specific signatures, added special kDrawCel signature for SCI1.1 (PC)/kq6
svn-id: r50507
2010-06-29 21:41:36 +00:00
Martin Kiewitz c536630648 SCI: adding space in kernelmap for workaround table
svn-id: r50506
2010-06-29 21:13:19 +00:00
Martin Kiewitz 7951e3ddcf SCI: kernelMap cleanup and making it possible to have version (not implemented yet) or platform specific entries - changing signature for kNewWindow - using old dummy-signature for mac-only
svn-id: r50504
2010-06-29 20:44:19 +00:00
Martin Kiewitz f75a6a6f47 SCI: print out actual and supposed parameter types when having a kernel call signature mismatch
svn-id: r50487
2010-06-29 10:39:13 +00:00
Max Horn 30218a2c32 SCI: Make Script member vars private; add const qualifiers
Only three Script members remain public (for now)

svn-id: r50428
2010-06-28 11:22:20 +00:00
Max Horn 6ee82a2027 SCI: Introduce SciGameId enum
svn-id: r50273
2010-06-25 16:16:29 +00:00
Filippos Karapetis df37aff357 Added the SCI2.1 kText kernel function (subop 0, kTextSize for now)
svn-id: r50265
2010-06-25 14:50:10 +00:00