aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
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
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-24SCI: Fix list control scrolling in Jones EGA and VGA.Walter van Niftrik
svn-id: r47511
2010-01-24SCI: CleanupWalter van Niftrik
svn-id: r47506
2010-01-24SCI: Fix left aligning and centering in kFormat.Walter van Niftrik
svn-id: r47500
2010-01-24Always memset the newly malloc'ed argument memory to 0 inside kFormatFilippos Karapetis
svn-id: r47498
2010-01-24Replaced CHECK_OVERFLOW1 with assertsFilippos Karapetis
svn-id: r47496
2010-01-23Added some skeleton code for kPalVary()Filippos Karapetis
svn-id: r47485
2010-01-23kSetSynonyms is really parser related, but it's an empty function in games ↵Filippos Karapetis
without a parser svn-id: r47484
2010-01-23- Moved all of the parser-related variables inside the Vocabulary classFilippos Karapetis
- Moved the kSetSynonyms() function inside kscripts (as it's for script synonyms, not parser word synonyms) - The parser vocabulary is now only initialized for SCI0 and SCI01 games, which had a parser svn-id: r47483
2010-01-23Cleanup. (And along with it add some additional asserts).Johannes Schickel
svn-id: r47482
2010-01-23Separated the parser codeFilippos Karapetis
svn-id: r47480
2010-01-23sfx_init_flags is not used in the new sound codeFilippos Karapetis
svn-id: r47464
2010-01-23SCI: separate fix function for kDrawControl rectsMartin Kiewitz
svn-id: r47462
2010-01-22SCI: dont swap coordinates on rects when both are "wrong", will fix button ↵Martin Kiewitz
placement and gfx corruption when challenging jones (caused by duplicate buttons having lower right 0, 0) - function needs some more work svn-id: r47446
2010-01-22SCI: restoring r47412, we were right all along but this "hack" was done on ↵Martin Kiewitz
the sierra sci interpreter for jones ega/vga only (talkie NOT included). So this restore does it game specific now, causing no regressions anywhere else. We detect jones/talkie as "jones" as well, may cause regressions for talkie svn-id: r47445
2010-01-22SCI: reverting r47412, change was incorrect and also resulted in broken ↵Martin Kiewitz
animations inside text boxes in kq5. jones also uses hardcoded -1 priority for control icons. svn-id: r47444
2010-01-22- The reverb value is now obtained from the music driverFilippos Karapetis
- Implemented kSetReverb (0x50) and kResetOnPause (0x4C) svn-id: r47433
2010-01-21Fix gcc warning.Johannes Schickel
svn-id: r47425
2010-01-21SCI: Saved games can now be loaded from ScummVM's launcherFilippos Karapetis
svn-id: r47423
2010-01-20SCI: control icons now use objects priority selector instead of hardcoded ↵Martin Kiewitz
priority 255. fixes jones speech bubbles svn-id: r47412
2010-01-20SCI: kDrawCel workaround documented and not temporary anymoreMartin Kiewitz
svn-id: r47409
2010-01-20SCI: workaround for game menu/quit menu in freddy pharkas till vm issue is ↵Martin Kiewitz
resolved svn-id: r47407