aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2010-11-11SCI: Fixed bug #3104624 - "PQ3: Crash when loading saved game on the highway"Filippos Karapetis
svn-id: r54197
2010-11-10SCI: Some SCI3 changesFilippos Karapetis
- Extended the SCI2.1 kernel function signatures for SCI3, as they share the same kernel table - All the engine parts are now initialized in SCI3 games, apart from the VM svn-id: r54178
2010-11-10SCI: Updated the SCI2.1 kernel function table with the SCI3 changes/additionsFilippos Karapetis
svn-id: r54177
2010-11-09SCI: Removed the Shivers 2 hack from the segment manager (it isn't SCI)Filippos Karapetis
svn-id: r54174
2010-11-09SCI: Some slight work on SCI3Filippos Karapetis
- Enabled the SCI3 game entries for testing purposes - The resource manager is initialized fully now (with a slight hack) - Added a hack for the demo of Shivers 2 (which seemingly has no scripts or vocabularies) - The engine will stop before parsing any game scripts in SCI3 games, and opens the console for resource manager-related functionality svn-id: r54167
2010-11-09SCI: Temporarily disable the PrintDebug call, which is only partiallyLars Skovlund
implemented and insufficient for Shivers/Full. It is also unnecessary for normal play. svn-id: r54158
2010-11-09SCI: Add uninitialized temp workaround for ShiversLars Skovlund
svn-id: r54157
2010-11-09SCI: Fix error message in ShowMovie(), perhaps avoiding some confusion laterLars Skovlund
svn-id: r54156
2010-11-09SCI: Added comments for rev. 54150 and fixed a typoFilippos Karapetis
svn-id: r54153
2010-11-09treat pushSelf opcode with low bit set as pushSelf (in fangames only, ↵Lars Skovlund
currently). Fixes bug #3038686. (SCI Fanmade - Circus Quest: Crash when starting). svn-id: r54150
2010-11-08SCI/SCI2: Some slight changes to the graphics codeFilippos Karapetis
- Changed the SCI1 EGA games workaround in kGraphDrawLine() to match the ones in kGraphFillBoxAny() and kNewWindow, updating the relevant comments - Added some comments in kSetShowStyle() svn-id: r54142
2010-11-08Fix assertion failure in SCI0 saving codeLars Skovlund
svn-id: r54138
2010-11-08SCI: Bugfix for script workaroundsFilippos Karapetis
Get the English versions of objects and methods when checking for script workarounds, as the objects/methods could be translated. Fixes bug #3104623, "PQ3: Crash when click on City map" svn-id: r54134
2010-11-08SCI: Some changes regarding the string heap in saved gamesFilippos Karapetis
- Maintain the state of the string heap space in saved games - Merged SegManager::reconstructScripts() inside SegManager::saveLoadWithSerializer() - Disabled a now unnecessary script patch for the cipher puzzle in Castle of Dr. Brain, and performed some cleanup for another disabled patch - Removed direct access to the _baseObj variable of objects svn-id: r54133
2010-11-04SCI: Renamed findBlock() to findBlockSCI0()Filippos Karapetis
svn-id: r54077
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