aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2011-10-09SCI21: Moved kRobot() together with the other video functionsFilippos Karapetis
2011-10-09SCI2+: Added a workaround for an uninitialized temp in PQ4Filippos Karapetis
2011-10-08SCI2+: Fixed the implementation of kTextSize(), removing some hacksFilippos Karapetis
Thanks to lskovlun for the fix
2011-10-08SCI2+: Some groundwork for kTextSize()Filippos Karapetis
The old behavior is currently hacked in inside kernelTextSize(), as the top of the subtitles frame is wrong if kTextWidth() is properly working...
2011-10-07SCI: Fix comment in kCelInfoLars Skovlund
2011-10-07SCI21: Some initial work on kBitmapFilippos Karapetis
2011-10-07SCI: Added some extra static selectorsFilippos Karapetis
These aren't needed by the engine, but make debugging easier in games that have no selector vocabulary
2011-09-30Merge pull request #88 from tsoliman/savegame-timestamp-rebaseEugene Sandulenko
ENGINES: make the default savegame description be the timestamp
2011-09-26SCI: Changes to the sound resource initialization codeFilippos Karapetis
- Unified the sound resource initialization code in processInitSound() and reconstructPlayList() - Now checking the "Mixed Adlib/MIDI" mode checkbox for SCI1.1 digital audio sound effects, like it's done for SCI0 - SCI1 sound effects. If it's unchecked, their MIDI counterparts will play instead, if available
2011-09-25SCI2: kString(Format) uses %d for unsigned integers. Some cleanupFilippos Karapetis
2011-09-23SCI: change savegame default description day format to YYYY.MM.DDTarek Soliman
... and make it optional subject to USE_SAVEGAME_TIMESTAMP
2011-09-24SCI: Fixed timer bug #3127824 - "SCI: speed problem - Castle of Dr Brain"Filippos Karapetis
2011-09-23SCI21: Added some skeleton code for offsetting pictures vertically (not ↵Filippos Karapetis
working yet). Some cleanup
2011-09-23SCI21: Marked kNewRoom as a debug functionFilippos Karapetis
2011-09-23SCI: Fixed bug #3413020 - "SCI: Longbow: Robin is stuck in the final monk ↵Filippos Karapetis
chase scene" Special thanks to wjp for his work on bisecting to find the regression and for checking against the KQ5CD disasm
2011-09-22SCI: Ignore invalid pointers if the kernel function signature specifies itFilippos Karapetis
SCI scripts can send stale pointers to kernel functions (e.g. after loading a saved game). This is normal in some cases (such as kDisplay and kGraphRestoreBox), and their signatures are set to allow invalid pointers. Thus, in such cases, allow invalid pointers, as the kernel functions will handle them themselves. Fixes bug #3412002, and properly fixes bugs #3389579, #3292251, #3308087 and #3056811. Removed a relevant TODO.
2011-09-22SCI: Fixed compilation with VM_DEBUG_SEND definedFilippos Karapetis
2011-09-08SCI: Made some static data const.Johannes Schickel
2011-09-03SCI32: Added an initial skeleton structure for the SCI2 text drawing codeFilippos Karapetis
This includes kCreateTextBitmap, and moves all of the text drawing code into the new GfxText32 class
2011-08-26SCI: Fixed bug #3396887 - "SCI: pq2-pc98-jp - Listing of items / Inventory ↵Filippos Karapetis
not working" Thanks to wjp for his valuable help on this
2011-08-25SCI: Fixed QFG3 bug #3377429, by removing the problematic script patchFilippos Karapetis
for script 23 (bug #3040722). This script patch messes up the conversation with Manu the monkey later on in the game, thus it's not correct.
2011-08-25SCI: Added two workarounds for script bug #3389579Filippos Karapetis
2011-08-08SCI: Remove dead codeMax Horn
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