aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2010-02-13SCI: Change getSciVersionDesc() to return 'const char *' instead of ↵Max Horn
'Common::String' svn-id: r48044
2010-02-13SCI: Remove unused PARSE_HEAP_SIZEMax Horn
svn-id: r48043
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-10SCI: Update said.y to match changes made to said.cpp; regenerate said.cpp ↵Max Horn
using 'bison -l -o said.cpp said.y' svn-id: r48033
2010-02-09SCI: also reset some variables inside reset(), so we dont error() out in ↵Martin Kiewitz
lsl2 and other games that reset game engine inbetween svn-id: r48015
2010-02-08Search through arrays for outgoing references to fix possible garbage ↵Matthew Hoops
collector problems; minor cleanup. svn-id: r47989
2010-02-08Add the missing ResMan debug channel.Matthew Hoops
svn-id: r47986
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 build without SCI32 (again)Willem Jan Palenstijn
svn-id: r47966
2010-02-07SCI: GfxPalette::setFromResource() now actually passes force further down ↵Martin Kiewitz
the chain svn-id: r47965
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: set screen palette only when it got changed during merge (performance ↵Martin Kiewitz
only change) svn-id: r47955
2010-02-07SCI: dont set palette on kernelDrawCel() callMartin Kiewitz
svn-id: r47954
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-06Removed unnecessary semi-colons to keep GCC happy.Torbjörn Andersson
svn-id: r47942
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: added plane coordinate adjustment code for sci32 when drawing pictures, ↵Martin Kiewitz
put everything into GfxCoordAdjuster svn-id: r47939
2010-02-06SCI: put kShakeScreen into GfxPaint, called directly nowMartin Kiewitz
svn-id: r47936
2010-02-06Mark the sanity checks inside kernelSetNowSeen and kernelBaseSetter as hacksFilippos Karapetis
svn-id: r47932
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-06Don't try and manipulate invalid views (i.e. views with view ID -1/65535, ↵Filippos Karapetis
which are most likely the currently missing dynamically constructed text views). Torin chapter 1 starts now (and dies shortly afterwards, but that's a different issue) svn-id: r47930
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-06Add detection entry for KQ5 Mac. Also, make Mac and Amiga SCI1_EGA+ games ↵Matthew Hoops
default to MIDI as we don't (yet) support their patches. KQ5 Mac will start and go until the main menu. svn-id: r47924
2010-02-05SCI: removing int8 from kernelSetNowSeen() as well, didnt make any sense :PMartin Kiewitz
svn-id: r47923
2010-02-05SCI: removing int8 inside kernelSetNowSeen as well, didnt make any sense :PMartin Kiewitz
svn-id: r47922
2010-02-05SCI: Get rid of the mysterious sign_extend_byte() and replace it by a simple ↵Max Horn
cast ;) svn-id: r47921
2010-02-05SCI: Document GfxCompare::canBeHereCheckRectList; pass Common::Rect by refMax Horn
svn-id: r47920
2010-02-05SCI: Add comment to GfxCompare::canBeHereCheckRectListMax Horn
svn-id: r47919
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