aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2010-01-30Added support for String types to kFormat (seems to work but needs testing...)Filippos Karapetis
svn-id: r47694
2010-01-30Ignore kString(printBuf) calls with more parameters than 3 - a list is ↵Filippos Karapetis
probably used svn-id: r47693
2010-01-30SCI: Hook up AvoidPath debug mode to pathfinding debug channel.Walter van Niftrik
svn-id: r47692
2010-01-30Implemented kString case 12 - it was really kFormat in disguise :)Filippos Karapetis
svn-id: r47691
2010-01-29SCI: Partly revert r47597, as it is superseded by r47683.Walter van Niftrik
svn-id: r47686
2010-01-29Document my last changeLars Skovlund
svn-id: r47684
2010-01-29SCI: uge? and ult? opcodes now work correctly when comparing pointers with 1000.Lars Skovlund
svn-id: r47683
2010-01-29Fix compile when ENABLE_SCI32 is not set.Matthew Hoops
svn-id: r47682
2010-01-29SCI: adding shakeScreen() for gui32 for lsl6Martin Kiewitz
svn-id: r47681
2010-01-29SCI: added new SciGui32 class, Gfx class needs some work though and ↵Martin Kiewitz
hopefully i didnt overlook some kernel function that is also used by sci32. now using plane left/top svn-id: r47679
2010-01-29Added static selectors for SCI2-SCI2.1 games (fixes the demo of Torin's Passage)Filippos Karapetis
svn-id: r47669
2010-01-29SCI: Reduce header interdependencies a bitMax Horn
svn-id: r47666
2010-01-29SCI: Move selector stuff to new header; reorder k_argc & k_argp param of ↵Max Horn
invoke_selector svn-id: r47665
2010-01-29SCI: Added OnStartup debug flag to start the debugger at the start of the game.Walter van Niftrik
svn-id: r47663
2010-01-28SCI: Make SQ6 sound work. The meaning of these extra parameters is not yet ↵Lars Skovlund
understood. svn-id: r47660
2010-01-28Added some more information on the errors thrown by lookupString() and ↵Filippos Karapetis
freeString() - Torin full currently crashes in lookupString, called from kString (strcpy) svn-id: r47659
2010-01-28kDisposeList() is not needed according to waltervn, as the garbage collector ↵Filippos Karapetis
automatically clears unused objects svn-id: r47653
2010-01-28Disabled the automatic list fixing feature, introduced in rev. #47636 ↵Filippos Karapetis
(there's no point in fixing lists created by game scripts) svn-id: r47650
2010-01-28SCI: CleanupWalter van Niftrik
svn-id: r47649
2010-01-28SCI2.1: Added a dummy function for kRobot (with some info on its ↵Filippos Karapetis
parameters), assigned IsOnMe to OnMe (needs verification, but seems to be correct) and changed kSave(8) to return nonzero. The menu of the Phantasmagoria demo is now shown, together with its creepy music :) svn-id: r47648
2010-01-28SCI: Add debug opcodesWalter van Niftrik
svn-id: r47646
2010-01-28Detect whether to use the modified SCI2 or SCI2.1 kernel table based on the ↵Matthew Hoops
kDoSound call used in Sound::play(), which fixes at least my version of KQ7 - probably others. The kernel table initialization now occurs after the script signatures are adjusted as we need it adjusted before checking through Sound::play for the kDoSound call. svn-id: r47645
2010-01-28Handle calls to NewNode() with just one parameter.Lars Skovlund
Takes care of Phantasmagoria, Torin, etc. svn-id: r47643
2010-01-28Changed run_vm() to use the sci_opcodes enum, and fixed several wrong ↵Filippos Karapetis
opcodes inside that enum svn-id: r47642
2010-01-28Removed a hack for the demo version of Torin's passage. It errors out ↵Filippos Karapetis
because the static selector vocabulary for SCI2+ games isn't implemented yet svn-id: r47640
2010-01-28Since we fix the list problems inside isSaneNodePointer(), don't abort ↵Filippos Karapetis
processing of the list svn-id: r47637
2010-01-28- The list checks now throw more verbose warningsFilippos Karapetis
- Some obvious list problems are now fixed automatically when found, after the relevant warnings are shown - kDisposeList now clears all the nodes in the list - Some cleanup svn-id: r47636
2010-01-28Fixed the demos of LSL1 and LSL5Filippos Karapetis
svn-id: r47625
2010-01-28Improved kSetCursor() semantics detectionFilippos Karapetis
svn-id: r47624
2010-01-27Corrected assert inside load_script. Fixes loading in SQ4CDFilippos Karapetis
svn-id: r47617
2010-01-27SCI: added workaround for laura bow 2 game menu (same issue as in ↵Martin Kiewitz
pharkas)...sigh svn-id: r47611
2010-01-27SCI: changed the pharkas workaround to also cover pharkas-floppy demoMartin Kiewitz
svn-id: r47606
2010-01-27Only reshow the cursor after playing a video if it was originally showing ↵Matthew Hoops
beforehand. This fixes the GK1 demo menu. svn-id: r47602
2010-01-27Oops.... actually close the defgroup :)Filippos Karapetis
svn-id: r47599
2010-01-27Fixed comment about vocabulary, so that it doesn't refer to the line below itFilippos Karapetis
svn-id: r47598
2010-01-27SCI: Experimental fix for Longbow outlook crash.Walter van Niftrik
When using a pointer in number arithmetic, substitute a large value instead of 0 (cf. Hoyle hack in kAbs). svn-id: r47597
2010-01-27Added support of the subtraction of two pointers, when they got the same ↵Filippos Karapetis
segment. This operation will yield a number, like in C, and it's used by script 385 in Castle of Dr. Brain (the hangman script). Fixes exiting room 360 (the puzzle room) in Castle of Dr. Brain svn-id: r47595
2010-01-27Downgrade the 'attempt to use invalid/unused file handle' error to a ↵Matthew Hoops
warning. This fixes the GK2 demo which now is playable and the slideshow is viewable. The GK2 demo scripts attempt to open the VERSION file which does not exist. svn-id: r47589
2010-01-27SCI: Restore pointer checks removed in r47585.Walter van Niftrik
svn-id: r47587
2010-01-27SCI: Add pointer comparison support to signed comparison operators.Walter van Niftrik
svn-id: r47585
2010-01-26SCI: changed flags (uint16) to force (bool) for set/merge palette methodsMartin Kiewitz
svn-id: r47578
2010-01-26Fixed reading of options file (game.opt) for Hoyle 3Filippos Karapetis
svn-id: r47575
2010-01-26Added information about all the vocabularies used in SCIFilippos Karapetis
svn-id: r47573
2010-01-26SCI: Add string support for odd-offset pointers into reg_t-based segments.Walter van Niftrik
svn-id: r47572
2010-01-26Mention that the signature of kUnload has been set like this because of the ↵Filippos Karapetis
SQ1 bug svn-id: r47569
2010-01-26Wording - we ignore calls to kUnload with less than 2 parametersFilippos Karapetis
svn-id: r47564
2010-01-26Ignore kUnload calls which are not made with less than 2 parameters. ↵Filippos Karapetis
Apparently, according to the FreeSCI bugs list, SQ1 calls it with 1 parameter when exiting the Ulence flats bar svn-id: r47563
2010-01-25SCI: dont fix line color for amiga 32 colorMartin Kiewitz
svn-id: r47561
2010-01-25SCI: removed EGA mapping for amiga games, cause changing ↵Martin Kiewitz
K_GRAPH_GET_COLORS_NR to support amiga also fixes it - also fixes other odd issues like the ones in kq5 and castle of dr. brain/sq1 (thx. to waltervn for finding this out) svn-id: r47560
2010-01-25Fixed kSetCursor semantics detection for KQ5 Amiga, by making a hack for KQ5 ↵Filippos Karapetis
CD specific to that version only svn-id: r47557