Commit Graph
7940 Commits
Author SHA1 Message Date
Martin Kiewitz c77c84f5c5 SCI: also sync palette after playing movies, fixes kq6 intro
svn-id: r50798
2010-07-11 10:11:31 +00:00
Martin Kiewitz df6ead5f93 SCI: calling speed throttler as well from kPalette(setIntensity) if needed - fixes kq6 intro
svn-id: r50794
2010-07-10 22:27:28 +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 09fd47236d SCI: adding to execstack only right before executing kernel call, otherwise it wouldnt be possible to skip over sub-function kernel calls via workarounds
svn-id: r50792
2010-07-10 20:50:52 +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 28d07c7e0a SCI: calculate widths for menu after switching to menuport, i guess this was the reason why we sometimes had issues drawing parts of the menu (random issue)
svn-id: r50784
2010-07-10 16:22:08 +00:00
Martin Kiewitz e807983e8f SCI: removed unused debug flags, changed fileio debug prints to only happen on debugflag "file"
svn-id: r50782
2010-07-10 14:00:43 +00:00
Martin Kiewitz ce6a73adf5 SCI: updated debug output from kDoSound
svn-id: r50781
2010-07-10 13:19:20 +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
Torbjörn Andersson cfc93a7e4d Simplified the expression.
svn-id: r50779
2010-07-10 11:16:46 +00:00
Torbjörn Andersson bab61443ac Fixed warning.
svn-id: r50778
2010-07-10 11:15:10 +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 0cd97ca5c5 SCI: improve error message on subcall signature mismatch
svn-id: r50774
2010-07-09 21:51:20 +00:00
Martin Kiewitz af479a20ae SCI: adding workaround support for kernel subcalls, cleanup
svn-id: r50770
2010-07-09 21:33:12 +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 3fe205ba7f SCI: fixing regression of r50414 - we set volume to standard levels inside initCommands since then, so if we set the actual needed volume before calling that it will get ignored - fixes lsl1demo
svn-id: r50766
2010-07-09 18:35:46 +00:00
Martin Kiewitz 18d1ab8c70 SCI: move comments and change selector for sci0 sound in kDoSoundPause, also allow pausing everything even for sci1early (qfg2 is using it)
svn-id: r50765
2010-07-09 18:11:42 +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 b8933d7e8f SCI: removing unneeded mutex locking inside sci0 update cues
svn-id: r50758
2010-07-09 13:01:48 +00:00
Martin Kiewitz b602e7071b SCI: fixing regression of r50755 - fixing kDoSoundSendMidi
svn-id: r50757
2010-07-09 12:30:34 +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 07fef4c6e6 SCI: hopefully fix build :P
svn-id: r50747
2010-07-08 18:38:15 +00:00
Martin Kiewitz b877f3c711 SCI: sorted kernel map alphabetically
svn-id: r50746
2010-07-08 18:26:05 +00:00
Filippos Karapetis 9add81aaf2 SCI: Dropped support for the very old saved game versions 9 - 11. Rationale: a lot has changed since then, we're still not stable, and this helps clean up the code, thus we're still in a position to drop support for old saved games
svn-id: r50738
2010-07-07 20:12:41 +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 9b14164bfc SCI: accepting decimal/hexadecimal input on segment_info & kill_segment debug command, cleanup
svn-id: r50735
2010-07-07 14:19:36 +00:00
Max Horn afd2850058 SCI: Add version to obsolete string
This way, if we ever get rid of support for savegames with
version <= 23, we can also get rid of this syncString()
call. Without this change, it would have "infected" every
new savegame version, forever.

svn-id: r50730
2010-07-06 23:24:36 +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 a7cd1534c6 SCI: fix regression of r50721 - pausing/resuming only on actual menu usage
svn-id: r50724
2010-07-06 14:10:09 +00:00
Martin Kiewitz 2d5dabee30 SCI: implemented pauseSound inside kMenuSelect
svn-id: r50721
2010-07-06 11:16:11 +00:00
Martin Kiewitz f3a935351b SCI: fix regression of r50599 - broken greyed font drawing
svn-id: r50720
2010-07-06 11:03:10 +00:00
Filippos Karapetis 0c411d66ce SCI: Simplified op_div and op_mod, removed some variables and removed the pointless OBJ_PROPERTY wrapper
svn-id: r50719
2010-07-06 07:42:25 +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 63c439a858 SCI: fix compilation issues from r50678
svn-id: r50679
2010-07-05 14:46:09 +00:00
Martin Kiewitz 5527882daa SCI: implemented new kernel call signature format
svn-id: r50678
2010-07-05 14:36:31 +00:00
Matthew Hoops 18b449d4fd Add a hexDumpReg function to view references that are not raw and fix SCI32 strings/arrays in segmentInfo.
svn-id: r50660
2010-07-04 23:38:08 +00:00
Filippos Karapetis 6219ffe52f SCI: Removed the unused line number parameter from validate_variable() and related functions
svn-id: r50654
2010-07-04 21:31:09 +00:00
Filippos Karapetis 7d64f3e343 SCI: Added a short description for all opcodes, so that it's easier to understand what they do without cross referencing the wiki, and removed some obsolete and unused code
svn-id: r50645
2010-07-04 14:55:28 +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