aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2010-07-01SCI: Make SegManager::_heap privateMax Horn
svn-id: r50552
2010-07-01SCI: Make SegManager::_classTable private.Max Horn
This require a small tweak to the save/load code: I moved the syncing logic for _classtable from EngineState::saveLoadWithSerializer to SegManager::saveLoadWithSerializer, which in theory should have no effect (luckily, _classtable was being synced right after the segment manager). svn-id: r50551
2010-07-01SCI: Add SegManager::getSystemString() methodMax Horn
svn-id: r50550
2010-07-01SCI: Rename some variables to match our naming conventionsMax Horn
svn-id: r50549
2010-07-01SCI: Simplify SegManager::findObjectByNameMax Horn
svn-id: r50548
2010-07-01Added a workaround for an uninitialized temp read in KQ6 floppy, when ↵Filippos Karapetis
opening the controls window - from bug report #3023602 svn-id: r50541
2010-06-30SCI: Silenced a warning about a non game breaking script bug in Castle of ↵Filippos Karapetis
Dr. Brain, room 360 svn-id: r50538
2010-06-30Added support for kAddAfter with 4 parameters (used in Torin's Passage, for ↵Filippos Karapetis
example) svn-id: r50537
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-30SCI: Removed the FreeSCI music codeFilippos Karapetis
svn-id: r50532
2010-06-30Fixed the signature for kUnload (thanks m_kiewitz)Filippos Karapetis
svn-id: r50530
2010-06-30SCI: fixed a typo, so that workarounds really trigger an ignore kernel call ↵Martin Kiewitz
for now svn-id: r50529
2010-06-30Changed an error back to a warning - Torin's Passage calls kAddAfter with 4 ↵Filippos Karapetis
parameters, and we don't know what the 4th parameter is yet svn-id: r50528
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
2010-06-30SCI: removing full debug output when signature fails to the point where we ↵Martin Kiewitz
didnt find a workaround for a signature mismatch svn-id: r50522
2010-06-30SCI: Reverting r50516, SSCI didn't reset the node value when deleting the ↵Filippos Karapetis
node. Also, a slight fix in VM debug code. svn-id: r50521
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-30SCI: adding inheritancelevel to uninit workarounds to make them saferMartin Kiewitz
svn-id: r50518
2010-06-30Updated incorrect commentFilippos Karapetis
svn-id: r50517
2010-06-30Also erase the value of the list node itself when deleting it inside ↵Filippos Karapetis
kDeleteKey, as it might be referenced again before the GC is invoked svn-id: r50516
2010-06-30When deleting a list node, erase its references to predecessor and successor ↵Filippos Karapetis
nodes. Fixes cases where game scripts could reference a list node after it was deleted (e.g. QFG1 intro, Longbow when exiting the cave). Some slight cleanup svn-id: r50515
2010-06-29SCI: added sci32-specific signature for kGetSaveDirMartin Kiewitz
svn-id: r50509
2010-06-29SCI: added mac-specific signature for kGetEventMartin Kiewitz
svn-id: r50508
2010-06-29SCI: implemented version specific signatures, added special kDrawCel ↵Martin Kiewitz
signature for SCI1.1 (PC)/kq6 svn-id: r50507
2010-06-29SCI: adding space in kernelmap for workaround tableMartin Kiewitz
svn-id: r50506
2010-06-29SCI: kernelMap cleanup and making it possible to have version (not ↵Martin Kiewitz
implemented yet) or platform specific entries - changing signature for kNewWindow - using old dummy-signature for mac-only svn-id: r50504
2010-06-29Fixed 2 uninitialized reads in SQ6Filippos Karapetis
svn-id: r50502
2010-06-29SCI: print out actual and supposed parameter types when having a kernel call ↵Martin Kiewitz
signature mismatch svn-id: r50487
2010-06-29SCI: Some cleanup of the GC code. Filippos Karapetis
The version of push() that pushes arrays inside WorklistManager has been renamed to pushArray(), so that it's more apparent where arrays are pushed. svn-id: r50486
2010-06-29SCI: Removed reg_t_EqualTo, since reg_t already defines an equals operatorFilippos Karapetis
svn-id: r50485
2010-06-29SCI: Made the SoundCommandParser a member of the SciEngine class and removed ↵Filippos Karapetis
it from the EngineState, since it's static throughout the course of a game svn-id: r50484
2010-06-28Don't initialize graphics again when loadingFilippos Karapetis
svn-id: r50464
2010-06-28SCI: More changes to the code for loading from the launcherFilippos Karapetis
- Added support for the LSL2 menu bar object - We no longer need a reference to the init() selector - it's always the first method of the menu bar object svn-id: r50462
2010-06-28SCI: stupid oversight fix r50446, too hot here :PMartin Kiewitz
svn-id: r50447
2010-06-28SCI: fixing valgrind issue in Script::initialiseClasses thx to wjp for ↵Martin Kiewitz
valgrind testing svn-id: r50446
2010-06-28SCI: cleanup of execstack, output of backtrace slightly modified, is now ↵Martin Kiewitz
also displaying local calls and exports svn-id: r50445
2010-06-28SCI: Some more GC cleanupMax Horn
svn-id: r50443
2010-06-28SCI: Turn more warnings into errors.Max Horn
If one of these is triggered for you, you can add an exception to the error, together with a comment explaining why this exception is necessary. Ideally after verifying that the cause is a script bug and not a bug in our code... svn-id: r50442
2010-06-28SCI: Move a few remaining Script methods to engine/script.cppMax Horn
svn-id: r50441
2010-06-28SCI: Clarify docs of GC related SegmentObj methodsMax Horn
svn-id: r50440
2010-06-28SCI: Make various SegManager constMax Horn
svn-id: r50439
2010-06-28SCI: get rid of Script::allocateObjectMax Horn
svn-id: r50438
2010-06-28SCI: More comment rewrappingMax Horn
svn-id: r50431
2010-06-28SCI: Fix DEBUG_GC mode and permanently enable itMax Horn
svn-id: r50430
2010-06-28SCI: Revise GC interface: use Common::Array<reg_t> instead of callbacksMax Horn
This means a little bit more overhead but makes the code much more readable and understandable. svn-id: r50429
2010-06-28SCI: Make Script member vars private; add const qualifiersMax Horn
Only three Script members remain public (for now) svn-id: r50428
2010-06-28SCI: Change warning back to error in Script::initialiseObjectsSci0Max Horn
Instead of turning the error into a warning globally, we now have code which ignores the error in Script 202 of KQ5 French, but will keep reporting if it turns up in other places. svn-id: r50427
2010-06-28SCI: More formatting cleanupMax Horn
svn-id: r50426
2010-06-28SCI: cleanupMax Horn
svn-id: r50419