aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2011-07-18SCI: Fix kFormat's handling of %c with a 0 argumentWillem Jan Palenstijn
SSCI used a sprintf to handle %c, appending the result to the output, which is effectively a nop for a zero argument. This is bug #3368821. Thanks to digitall for tracing it to KFormat and testing this patch.
2011-07-13SCI: Restore deleted LSL6 workaround for crash on loadingWillem Jan Palenstijn
This was probably accidentally removed in 194081e7ae79a632ce446653cc7119b74d3a6fac. The TODO/CHECKME on it still applies. Reported in bug #3366329.
2011-07-07SCI: Applied patch #3357096 with minor modificationsFilippos Karapetis
This prevents a string pointer from getting invalidated under some circumstances in kString(Dup). Thanks to lephilousophe for the patch.
2011-06-28SCI: Fixed script bug #3292327 - "SCI: HOYLE4: Cribbage bug"Filippos Karapetis
2011-06-25SCI: Fix incorrect usage of sizeofWillem Jan Palenstijn
Thanks to salty-horse for the reports.
2011-06-23ANALYSIS: Add static casts to is* functionsLittleboy
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-12SCI: Fix sign in disasm of relative jumpsWillem Jan Palenstijn
2011-06-11SCI: Fixed script bug #3313962 - "ECOQUEST2 Spanish: Crash near beginning"md5
2011-06-11SCI: Changed order of script and room in error messagesmd5
This matches the order in which workarounds are stored in workarounds.cpp
2011-06-03ENGINES: Remove some uses of g_engineMax Horn
2011-06-03SCI: Switch some char* to Common::String&Max Horn
2011-06-02ENGINES: Change 2nd param of Engine::saveGameState to Common::StringMax Horn
2011-05-31SCI: Fix up start/end points when pathfinding with opt == 0.Walter van Niftrik
Fixes bug #3304901: "SCI: Freddy Pharkas - Stuck in the brothel door".
2011-05-29SCI: Added a more generalized fix for bug #3306417md5
2011-05-27Revert "SCI: Don't attempt to modify null/disposed objects."Lars Skovlund
This fix for bug #3303802 is a potential cause of unreproducible bugs in all SCI games that taint savegames. This reverts commit 48140a012d69d76de5ae80de7ca926e71c39cd03.
2011-05-27SCI: Don't attempt to modify null/disposed objects.md5
These cases occur usually because of script bugs. Fixes script bug #3303802 - "SCI: PQ1VGA - Crash at the jail"
2011-05-27SCI: Added a workaround for bug #3308087 - "SCI: SQ1VGA - Engine Abort Upon ↵md5
Loading Ulence Flats Save"
2011-05-27SCI: Fixed bug #3306417 - "LAURA BOW 2: segmentation fault while talking to ↵md5
Dr. Myklos"
2011-05-25ALL: initialise -> initializeMatthew Hoops
2011-05-25ALL: analyse -> analyzeMatthew Hoops
2011-05-25ALL: behaviour -> behaviorMatthew Hoops
2011-05-25SCI: Constify Object::_baseVarsMax Horn
This may have to be undone if we ever want to start free'ing _baseVars again.
2011-05-13SCI: Avoid incrementing lockers of deleted scriptWillem Jan Palenstijn
Having a deleted script with non-zero lockers had the side effect of making the deleted script re-appear in the GC's work list, including any (deleted) objects in the script. This should be the root cause of bugs #3299458 and #3295849, so also delete the workaround added for that in 35086fe1.
2011-05-13SCI: Don't include several debug tables when REDUCE_MEMORY_USAGE is definedmd5
2011-05-13SCI: Marked the sanity check inside processWorkList() as a workaroundmd5
The sanity check added in rev #35086fe17c fixes the crashes with that code when an invalid reference is about to be processed, but these references shouldn't be in the stack at all in the first place, so the root cause seems to be somewhere else.
2011-05-13SCI: Added workarounds for bug #3292251, instead of patching the scriptmd5
This fixes bug #3295853
2011-05-12SCI: Fixed bugs #3299458 and #3295849md5
2011-05-12SCI: Fix signature of script patch qfg3DialogCrash (bug #3300241)Tarek Soliman
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-28JANITORIAL: Format forward declarations to follow conventionOri Avtalion
2011-04-26SCI: Fixed script bug #3292334 - "HOYLE4: Gin Rummy bug"md5
2011-04-26SCI: Fixed script bug #3292251 - "SCI: QFG3: Script error when buying robe"md5
2011-04-26SCI: Fixed 2 script bugs in Hoyle 4 - heartsmd5
This fixes bug #3292333 - "HOYLE4: Hearts bug"
2011-04-26SCI: Fixed several uninitialized variable script bugs in Hoyle 4 Bridgemd5
This fixes bug #3292332, along with other related issues
2011-04-21SCI: Avoid (unused) sqrt of a negative numberWillem Jan Palenstijn
This fixes bug #3289799.
2011-04-20SCI: Fix precedence (bug #3087872)Willem Jan Palenstijn
2011-04-15SCI: Silenced the warning for kMacPlatform(1)md5
This warning produces a lot of spam in the console (e.g. it pops up whenever the icon bar is opened in Dr. Brain Mac), thus it has been silenced
2011-04-14ALL: centre -> centerMax Horn
2011-04-05SCI: Extended the script workaround for the sign reading script (bugs ↵md5
#3272735, #3275413)
2011-04-04SCI: Added workaround for script bug #3272735 - "SCI: QFG2: Crash when ↵md5
typing 'read sign'"
2011-04-03SCI: Added a workaround for script bug #3268076 - "MOTHERGOOSE: Crash after ↵md5
finishing the game"
2011-04-02SCI: Fix SQ1 droid zapping issue with a script patch, thanks toLars Skovlund
dhewg for reporting.
2011-03-29SCI: Add workaround for a GK1 pointer comparisonMatthew Hoops
2011-03-28SCI: Fix Compilation with --enable-release set.D G Turner
2011-03-28SCI: Renamed restAdjust to r_rest (like r_acc and r_prev)md5
2011-03-28SCI: Error out when kMemorySegment() is requested to save more than 256 bytesmd5
2011-03-28SCI: Set the GC_INTERVAL define to its hexadecimal equivalentmd5
2011-03-27SCI: Moved some debug functions from vm.cpp to scriptdebug.cppmd5