aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2010-11-02SCI: Properly cast the results of kTimesSin and kTimesCos to 16-bit integersFilippos Karapetis
svn-id: r54042
2010-11-02SCI: Remove any use of printfMax Horn
svn-id: r54037
2010-11-01SCI: fixing port restoringMartin Kiewitz
- recalculate _freeCounter - dont push disposed windows onto windowlist svn-id: r54017
2010-11-01SCI: fixing bug when restoring portsMartin Kiewitz
fixes assert svn-id: r54016
2010-11-01SCI: fixing lfMartin Kiewitz
(stupid msvc) svn-id: r54014
2010-11-01SCI: saving/restoring script created windows nowMartin Kiewitz
fixes "GfxPorts::kernelSetActive" error based on code by [md5] svn-id: r54012
2010-11-01ENGINES: Get rid of some (f)printfsMax Horn
svn-id: r54011
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-10-31SCI: Fix for bug #3100292 - "QFG2: signature mismatch at the WIT"Filippos Karapetis
svn-id: r53993
2010-10-31SCI: Removing obsolete function parameterFilippos Karapetis
svn-id: r53986
2010-10-31SCI: Play time related changesFilippos Karapetis
- Added support for savegame play time - Removed obsolete variables for calculating the play time (EngineState::gameStartTime and Console::_enterTime) - Renamed some variables to camelCase svn-id: r53974
2010-10-30SCI: Fixed script bug #3098353 - "ECOQUEST1 German: Crash at the blackboard ↵Filippos Karapetis
in the dolphin room" svn-id: r53941
2010-10-29SCI: Updated kSetShowStyle signature for SCI2.1. SQ6 starts againFilippos Karapetis
svn-id: r53919
2010-10-24SCI: Fixed bug #3094235 - "SQ4CD: Crashes at Roger jr. in beam"Filippos Karapetis
svn-id: r53776
2010-10-23SCI: always allocate +1 byte in kMemory nowMartin Kiewitz
fixes multilingual lsl5 room 280 - names of airport ladies not shown correctly (bug #3093818) svn-id: r53746
2010-10-23SCI: Silence runtime warnings when editing kernel_tables.h with VS2010Filippos Karapetis
svn-id: r53743
2010-10-23ALL: Fix indention (whitespaces -> tabs)Max Horn
svn-id: r53738
2010-10-20SCI: Changed some tabs to spacesFilippos Karapetis
svn-id: r53648
2010-10-20SCI: Marked several unused SCI2/SCI2.1 kernel functions and updated comments ↵Filippos Karapetis
about some others svn-id: r53647
2010-10-20SCI: Added a new debug command, "find_callk"Filippos Karapetis
This command can be used to find the object methods (including their corresponding objects and owner scripts) that call a specific kernel call. This shall aid us track all the spots where a particular kernel function is called from, therefore it'll be a bit easier to find examples where unimplemented kernel functions are called svn-id: r53646
2010-10-17SCI: Added comments for the unmapped SCI2/SCI2.1 kernel functionsFilippos Karapetis
svn-id: r53556
2010-10-15SCI: Changed the check for vertex_min into an assert (thanks wjp)Filippos Karapetis
svn-id: r53504
2010-10-15SCI: Fixed access to dest in kTextSize() (thanks LordHoto)Filippos Karapetis
svn-id: r53498
2010-10-15SCI: Fixed code bugs from bug #3087872 - "SCI: Code analysis warnings"Filippos Karapetis
svn-id: r53482
2010-10-08SCI: Support kGetTime modes 2 and 3 in SCI 0_LATEWillem Jan Palenstijn
This fixes bug #3083879 in Iceman. svn-id: r53077
2010-10-07SCI: Add one more workaround for end of QfG3 AwariWillem Jan Palenstijn
svn-id: r53058
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