aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2010-10-07SCI: Still show warning for uninit. reads in release modeWillem Jan Palenstijn
svn-id: r53047
2010-10-07SCI: unknown valgrind cases->fake 0 when officialMartin Kiewitz
we will fake 0 instead of error()ing out in official releases, when an uninitialized temp is read is supposed to get backported svn-id: r53046
2010-10-03SCI: Added support for SCI1.1+ magnifier cursors (bug #3034973).Filippos Karapetis
These are special cursors which zoom parts of a view dynamically. Examples are Freddy Pharkas, when reading the prescription with the whiskey and LB2, when using the magnifying glass on the Rosetta Stone svn-id: r53003
2010-10-03SCI: Allow multiple word groups in parserWillem Jan Palenstijn
In SCI01 and up, each typed word may be interpreted as multiple class,group pairs. This patch adds support to the vocabulary and parser. It uses the matcher support added in r52985. This fixes parser issues in German LSL3, but needs testing. svn-id: r52989
2010-09-24SCI: save/restore intensity of sysPaletteMartin Kiewitz
fixes bug #3072868 should be save for backporting svn-id: r52875
2010-09-19SCI2/2.1: Changes to the plane codeFilippos Karapetis
Moved some plane related functions inside updatePlane() instead of frameOut(). Cleanup. svn-id: r52804
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
2010-09-17SCI: Use spaces for indentation for consistency.Johannes Schickel
I think the code uses this in this particular instance to have the comments on top of the various tables aligned with the actualy entries, so I decided not to make this conform to our guidelines, but rather to the rest of the style used in this file. svn-id: r52766
2010-09-17SCI2: some very early work on kSetShowStyleFilippos Karapetis
svn-id: r52764
2010-09-17SCI: Removed some unnamed selector access in the workarounds. Fixes the ↵Filippos Karapetis
regression in the demo of EcoQuest, when opening a window svn-id: r52757
2010-09-15SCI: Some very early work on kRemapColors (just comments/observations for now)Filippos Karapetis
svn-id: r52733
2010-09-15SCI2: adding a stub for the kPurge memory functionFilippos Karapetis
kPurge is specific to the SSCI memory manager. We have our own memory manager and garbage collector, thus we ignore these calls svn-id: r52732
2010-09-13SCI: Changed the script protection code to be a hack for Hoyle 3 onlyFilippos Karapetis
This shouldn't be happening normally, but apparently it does, which would indicate a potential issue with the object locking code svn-id: r52703
2010-09-13SCI: Proper fix for bug #3038837 - "HOYLE3: EGA/VGA Crashes" and some cleanupFilippos Karapetis
System scripts (i.e. 0 and 900-999) are now protected and never destroyed during a game svn-id: r52702
2010-09-12SCI: patching cleanup (+orgbyte/adjust command)Martin Kiewitz
the new commands were meant for castle/brain hangman puzzle patch, but the patch didn't work well, so I removed it. Still the commands could/should come in handy svn-id: r52695
2010-09-12i18n: Translate Save and Restore buttons in SCI engineThierry Crozat
svn-id: r52694
2010-09-12SCI: Bugfix for rev #52688.Filippos Karapetis
We can't just set the lockers of script 0 to 1, as at that point the objects associated with the script are marked to be deleted, thus we need to reload the script svn-id: r52693
2010-09-12Workaround for bug #038837: HOYLE3: EGA/VGA Crashes. Needs furtherLars Skovlund
investigation and a proper fix post-release svn-id: r52688
2010-09-11SCI: In kFormat, handle arguments pointing to text resource 0 correctly.Lars Skovlund
Fixes Colonel's Bequest inventory formatting. svn-id: r52676
2010-09-10SCI: adding patch for castle brain cipher puzzleMartin Kiewitz
reinitializes puzzle each time its shown. Fixes save/restore bug in that room, bug #3063510 svn-id: r52668
2010-09-09SCI: Implemented the kPrintDebug SCI2.1 kernel function, used in Shivers (demo)Filippos Karapetis
svn-id: r52665
2010-09-09SCI: kIsOnMe is kOnMe, merge both into kIsOnMeMartin Kiewitz
and map kOnMe for SCI2 to kIsOnMe, remove commented out hacks. fix signatures for those 2 functions, added TODO - someone should fix the SCI32 signatures svn-id: r52664
2010-09-09SCI: Cleanup kWinHelp's dialog handlingMatthew Hoops
Don't display the message twice and now we use the filename in the message. svn-id: r52663
2010-09-09SCI: Kernel table changesFilippos Karapetis
- Added the kernel names for all unimplemented kernel debug functions, and mapped them all to kDummy, so that the kernel tables are correct and all kernel functions are mapped (useful for debugging) - Added a stub for kWinHelp (normally opens an external Windows help file), with an appropriate dialog - Added a stub for kWinDLL, which currently errors out on purpose (this needs to be investigated, as it loads and uses external Windows DLLs) - Readded kListIndexOf in kList (the signature was wrong when the previous commit was made) svn-id: r52660
2010-09-09SCI: Support push and pop subfunctions in kMessage()Lars Skovlund
Glossary seems to work now. svn-id: r52654
2010-09-09SCI: Changed the error message when execute_method() references an invalid ↵Filippos Karapetis
export svn-id: r52653
2010-09-09SCI: SCI2/2.1 kernel table changesFilippos Karapetis
- Mark several SCI2/2.1 kernel functions used for debugging as dummy - Added an empty function for kSetWindowsOption, used for settings specific to Windows versions (e.g. showing/hiding the title bar) - Added a stub for kGetWindowsOption (currently returning 0 to a Windows related option for Phantasmagoria) svn-id: r52652
2010-09-09SCI: adding text code reference supportMartin Kiewitz
fixes glossary in pepper, bug #3040039 svn-id: r52651
2010-09-09SCI: Support a few optional parameters in SCI32 List callsLars Skovlund
the actual support was already there due to extensive code sharing w/SCI0, so only modifying signatures here svn-id: r52650
2010-09-09SCI: Enabled the static selector remap code for SCI2+. The Torin demo works ↵Filippos Karapetis
again svn-id: r52647
2010-09-08SCI: ability to change r_acc within DrawControlMartin Kiewitz
preparation for returning rect array on |r| textcodes svn-id: r52642
2010-09-08SCI: adding save description, if none was enteredMartin Kiewitz
fixes bug #3061964 svn-id: r52637
2010-09-06SCI: fix warning (and actual error)Martin Kiewitz
svn-id: r52591
2010-09-06SCI: add patch for cannister lockup pharkas/cdMartin Kiewitz
scripts disable icon 7+8 when entering the room. When taking the cannister they will disable all remaining icons, resulting in the disable-code running endlessly, also happend in sierra sci - fixes bug #3046367 svn-id: r52587
2010-09-06SCI: Fixed an off-by one access error in the static selectors of some gamesFilippos Karapetis
svn-id: r52586
2010-09-06SCI: fixing codeMartin Kiewitz
thx to tortoisegit and broken conflict managment svn-id: r52585
2010-09-06SCI: fix regression of r52565Martin Kiewitz
remove class bit when marking as clone svn-id: r52584
2010-09-06SCI: Clear class bit when cloning objects.Lars Skovlund
This fixes a regression affecting many SCI32 games and possibly other games, looping or recursing endlessly. svn-id: r52583
2010-09-05Partial fix for bug #3059871 - "SCI Fanmade - Ocean Battle: Crash while playing"Filippos Karapetis
The fix is partial, as the game will crash when losing and attempting to restart (for a different reason - there's an issue when uninstantiating a script) svn-id: r52581
2010-09-05SCI: adding patch for script bug in pharkas/cdMartin Kiewitz
patches out bad code that would dispose score sound immediately, "score" sound plays now for pharkas/cd - finally fixes bug #3037161 svn-id: r52570
2010-09-05SCI: kClone cleanupMartin Kiewitz
and fixing possible crash & typo svn-id: r52565
2010-09-05SCI: adjusting comment on kClone changeMartin Kiewitz
svn-id: r52563
2010-09-05SCI: merging -info- stuff in Clone/DisposeCloneMartin Kiewitz
svn-id: r52562
2010-09-05SCI: Fix bugs #3035650 and #3039566, crash in PEPPER demo and LAURABOW2.Johannes Schickel
The actual names for the bug reports are: #3035650 "PEPPER non-interactive demo: Crash" #3039566 "LAURABOW2: Crash during introduction" Those crashes were caused by an invalid memory dereference in kClone. This in turn was happening, because the parent object pointer might have been invalidated in cases where the parent object is also a clone. svn-id: r52561
2010-09-05SCI: reuse kGetAngle from kDoAvoiderMartin Kiewitz
svn-id: r52560
2010-09-05SCI: initialize members of the Object class when it's constructedFilippos Karapetis
svn-id: r52544
2010-09-05SCI: Changed consecutive ifs to a switchFilippos Karapetis
A table would be better, but the switch will do for now svn-id: r52543
2010-09-05SCI: Fix for alignment exception issue, reported by BluddyFilippos Karapetis
svn-id: r52542
2010-09-05SCI: Some cleanup of the static selector codeFilippos Karapetis
- Added more static selectors, for debugging - Added some needed selectors for the non-interactive demo of Pepper svn-id: r52541
2010-09-05SCI: Added a workaround for the non-interactive demo of PepperFilippos Karapetis
svn-id: r52540