aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2010-02-13SCI: Change getSciVersionDesc() to return 'const char *' instead of ↵Max Horn
'Common::String' svn-id: r48044
2010-02-12SCI: Revert r47929 (bad idea, as we may run out of offsets). Instead, adapt ↵Walter van Niftrik
SCI32 list iteration code to store node successor before invoking. svn-id: r48036
2010-02-08Search through arrays for outgoing references to fix possible garbage ↵Matthew Hoops
collector problems; minor cleanup. svn-id: r47989
2010-02-07SCI: Move bulk of op_callk code to new func callKernelFunc()Max Horn
svn-id: r47979
2010-02-07SCI: cleanup; try to unify var names when reading PMachine instructions a bitMax Horn
svn-id: r47978
2010-02-07SCI: Simplify yet another case of weird 'unsigned to signed' conversionMax Horn
svn-id: r47977
2010-02-07Update comments in autoDetectSci21KernelType() explaining what we're ↵Matthew Hoops
checking for. svn-id: r47973
2010-02-07SCI: Fix VM crash when NULL_REG is passed to AvoidPath (SCI32).Walter van Niftrik
svn-id: r47964
2010-02-07SCI: Some cleanupMax Horn
svn-id: r47963
2010-02-07Split GameFeatures::autoDetectFeature into several methods, one for each featureMax Horn
svn-id: r47962
2010-02-07SCI: Add GameFeatures::getDetectionAddr auxillary methodMax Horn
svn-id: r47961
2010-02-07SCI: Refactor GameFeatures::autoDetectFeatureMax Horn
svn-id: r47960
2010-02-07SCI: Switch GameFeatures::autoDetectFeature to using readPMachineInstructionMax Horn
svn-id: r47959
2010-02-07SCI: Convert disassemble to use readPMachineInstruction.Max Horn
This change is untested, please check it. Also, the opparams array is not used but could be used to simplify the reading code. svn-id: r47958
2010-02-07SCI: Get rid of GET_OP_ macrosMax Horn
svn-id: r47957
2010-02-07SCI: Add function readPMachineInstruction()Max Horn
svn-id: r47956
2010-02-07SCI: added dummy assertpalette to GfxPalette, setting destination palette ↵Martin Kiewitz
immediately on kPalVary(start) call svn-id: r47953
2010-02-07With the new detection for setCursor, the game object and game ID are no ↵Filippos Karapetis
longer required, which makes some ugly code obsolete. Yay! :) svn-id: r47951
2010-02-07SCI1 Mac games can call kGetFarText with a NULL destination, so we need to ↵Matthew Hoops
allocate the memory. King's Quest V Mac is now playable. svn-id: r47950
2010-02-07Oops, correct a comment.Matthew Hoops
svn-id: r47949
2010-02-07Rewrite detectSetCursorType() so that it works for KQ5 Mac in addition to ↵Matthew Hoops
KQ5 DOS CD. svn-id: r47948
2010-02-06SCI: adding more debug output to kPalVary, fixing loading savedgames ↵Martin Kiewitz
(_gfxPaint wasnt copied over) svn-id: r47943
2010-02-06SCI: added debug code to kPalVary, added warning when calling ↵Martin Kiewitz
kPalette(setFromResource) with unsupported parameters svn-id: r47941
2010-02-06SCI: Revert r47925 and put fix inside GC instead.Walter van Niftrik
svn-id: r47940
2010-02-06SCI: put kShakeScreen into GfxPaint, called directly nowMartin Kiewitz
svn-id: r47936
2010-02-06Added a sanity check for kListAt and made the hack for displaying text work ↵Filippos Karapetis
in SCI2 only svn-id: r47931
2010-02-06SCI: Run GC only when execution_stack_base is 0.Walter van Niftrik
svn-id: r47929
2010-02-06Silenced warning that intersectionX and intersectionY could be uninitializedFilippos Karapetis
svn-id: r47928
2010-02-06Add a missing break.Matthew Hoops
svn-id: r47926
2010-02-06SCI: Don't call garbage collector directly from kFlushResources() as this is ↵Walter van Niftrik
no longer safe. svn-id: r47925
2010-02-05SCI: Add a 'SELECTOR' macroMax Horn
svn-id: r47918
2010-02-05SCI: moving kDisplay into GfxPaint16, now getting called directly as wellMartin Kiewitz
svn-id: r47917
2010-02-05SCI: priority band specific stuff now gets called directly w/o SciGuiMartin Kiewitz
svn-id: r47916
2010-02-05SCI: remaining cursor functions now also directly calledMartin Kiewitz
svn-id: r47914
2010-02-05SCI: drawMenuBar, drawStatus now called directly and w/o SciGuiMartin Kiewitz
svn-id: r47913
2010-02-05SCI: moved onControl etc. into GfxCompare, now getting called directly. also ↵Martin Kiewitz
fixed loading saved games due Gfx* changes svn-id: r47912
2010-02-05Cleanup kShowMovie; merge the SCI1.1/SCI2 and SCI2.1 AVI code.Matthew Hoops
svn-id: r47911
2010-02-05SCI: GfxCoordAdjuster class added, local2Global and global2Local use that ↵Martin Kiewitz
class directly, kGraph / RedrawBox is now using GfxPaint16 directly svn-id: r47908
2010-02-05SCI: frameout sci32 stuff now gets called directly w/o SciGui/32Martin Kiewitz
svn-id: r47907
2010-02-05SCI: calling most of the cursor functions directly via _gfxCursor instead of ↵Martin Kiewitz
SciGui/32 svn-id: r47903
2010-02-05SCI: Add implementation for Intersections().Walter van Niftrik
svn-id: r47901
2010-02-04Moved the PalVary code inside the GfxPalette classFilippos Karapetis
svn-id: r47893
2010-02-04SCI: kPicNotValid now uses GfxScreen directly and not SciGui/32Martin Kiewitz
svn-id: r47889
2010-02-04SCI: making pathfinding debug support also work in sci32 (though it just ↵Martin Kiewitz
shows the path for 2.5 seconds there) svn-id: r47888
2010-02-04SCI: putting most kGraph functions into GfxPaint16Martin Kiewitz
svn-id: r47887
2010-02-04SCI: putting kDrawCel info GfxPaint class, debug is using GfxPaint class as ↵Martin Kiewitz
well for drawing cels svn-id: r47885
2010-02-04SCI: adding GfxPaint class, implementing kernelDrawPicture for GfxPaint16 ↵Martin Kiewitz
and GfxPaint32, using those classes directly when drawing pictures instead of SciGui/32. Making draw_pic command work in sci32 that way, using _gfxPaint16 for kDrawPic because that command is sci16 exclusive svn-id: r47883
2010-02-04SCI: adding back selector for sci32Martin Kiewitz
svn-id: r47879
2010-02-04SCI: adding selectors bottom and rightMartin Kiewitz
svn-id: r47876
2010-02-04SCI: adding support for resX, resY selectors for sci32Martin Kiewitz
svn-id: r47874