Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-01-29 | SCI: Reduce header interdependencies a bit | Max Horn | |
svn-id: r47666 | |||
2010-01-29 | SCI: Move selector stuff to new header; reorder k_argc & k_argp param of ↵ | Max Horn | |
invoke_selector svn-id: r47665 | |||
2010-01-29 | SCI: Added OnStartup debug flag to start the debugger at the start of the game. | Walter van Niftrik | |
svn-id: r47663 | |||
2010-01-28 | SCI: Make SQ6 sound work. The meaning of these extra parameters is not yet ↵ | Lars Skovlund | |
understood. svn-id: r47660 | |||
2010-01-28 | Added 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-28 | kDisposeList() is not needed according to waltervn, as the garbage collector ↵ | Filippos Karapetis | |
automatically clears unused objects svn-id: r47653 | |||
2010-01-28 | Disabled 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-28 | SCI: Cleanup | Walter van Niftrik | |
svn-id: r47649 | |||
2010-01-28 | SCI2.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-28 | SCI: Add debug opcodes | Walter van Niftrik | |
svn-id: r47646 | |||
2010-01-28 | Detect 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-28 | Handle calls to NewNode() with just one parameter. | Lars Skovlund | |
Takes care of Phantasmagoria, Torin, etc. svn-id: r47643 | |||
2010-01-28 | Changed run_vm() to use the sci_opcodes enum, and fixed several wrong ↵ | Filippos Karapetis | |
opcodes inside that enum svn-id: r47642 | |||
2010-01-28 | Removed 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-28 | Since 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 warnings | Filippos 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-28 | Fixed the demos of LSL1 and LSL5 | Filippos Karapetis | |
svn-id: r47625 | |||
2010-01-28 | Improved kSetCursor() semantics detection | Filippos Karapetis | |
svn-id: r47624 | |||
2010-01-27 | Corrected assert inside load_script. Fixes loading in SQ4CD | Filippos Karapetis | |
svn-id: r47617 | |||
2010-01-27 | SCI: added workaround for laura bow 2 game menu (same issue as in ↵ | Martin Kiewitz | |
pharkas)...sigh svn-id: r47611 | |||
2010-01-27 | SCI: changed the pharkas workaround to also cover pharkas-floppy demo | Martin Kiewitz | |
svn-id: r47606 | |||
2010-01-27 | Only 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-27 | Oops.... actually close the defgroup :) | Filippos Karapetis | |
svn-id: r47599 | |||
2010-01-27 | Fixed comment about vocabulary, so that it doesn't refer to the line below it | Filippos Karapetis | |
svn-id: r47598 | |||
2010-01-27 | SCI: 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-27 | Added 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-27 | Downgrade 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-27 | SCI: Restore pointer checks removed in r47585. | Walter van Niftrik | |
svn-id: r47587 | |||
2010-01-27 | SCI: Add pointer comparison support to signed comparison operators. | Walter van Niftrik | |
svn-id: r47585 | |||
2010-01-26 | SCI: changed flags (uint16) to force (bool) for set/merge palette methods | Martin Kiewitz | |
svn-id: r47578 | |||
2010-01-26 | Fixed reading of options file (game.opt) for Hoyle 3 | Filippos Karapetis | |
svn-id: r47575 | |||
2010-01-26 | Added information about all the vocabularies used in SCI | Filippos Karapetis | |
svn-id: r47573 | |||
2010-01-26 | SCI: Add string support for odd-offset pointers into reg_t-based segments. | Walter van Niftrik | |
svn-id: r47572 | |||
2010-01-26 | Mention that the signature of kUnload has been set like this because of the ↵ | Filippos Karapetis | |
SQ1 bug svn-id: r47569 | |||
2010-01-26 | Wording - we ignore calls to kUnload with less than 2 parameters | Filippos Karapetis | |
svn-id: r47564 | |||
2010-01-26 | Ignore 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-25 | SCI: dont fix line color for amiga 32 color | Martin Kiewitz | |
svn-id: r47561 | |||
2010-01-25 | SCI: 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-25 | Fixed 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-25 | Strip trailing spaces/tabs. | Johannes Schickel | |
svn-id: r47541 | |||
2010-01-24 | SCI: Fix list control scrolling in Jones EGA and VGA. | Walter van Niftrik | |
svn-id: r47511 | |||
2010-01-24 | SCI: Cleanup | Walter van Niftrik | |
svn-id: r47506 | |||
2010-01-24 | SCI: Fix left aligning and centering in kFormat. | Walter van Niftrik | |
svn-id: r47500 | |||
2010-01-24 | Always memset the newly malloc'ed argument memory to 0 inside kFormat | Filippos Karapetis | |
svn-id: r47498 | |||
2010-01-24 | Replaced CHECK_OVERFLOW1 with asserts | Filippos Karapetis | |
svn-id: r47496 | |||
2010-01-23 | Added some skeleton code for kPalVary() | Filippos Karapetis | |
svn-id: r47485 | |||
2010-01-23 | kSetSynonyms 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 class | Filippos 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-23 | Cleanup. (And along with it add some additional asserts). | Johannes Schickel | |
svn-id: r47482 | |||
2010-01-23 | Separated the parser code | Filippos Karapetis | |
svn-id: r47480 |