aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2011-10-14SCI: Silenced warningsFilippos Karapetis
2011-10-14SCI: More work on kBitmap (still WIP)Filippos Karapetis
2011-10-13SCI: Extended the detection of certain selectors to work in SCI2Filippos Karapetis
This is needed for some demos that do not supply a selector vocabulary (i.e. vocab 997)
2011-10-13SCI: Implemented kBitmap(3) and kBitmap(5). Some cleanupFilippos Karapetis
2011-10-12SCI: Marked functions that have been changed into dummy ones in SCI3Filippos Karapetis
2011-10-12SCI: kSave(3) is kCheckSaveGame() and kSave(6) is kFileIOUnlink()Filippos Karapetis
2011-10-12SCI: Implementation of kCelInfo subop 4Heather Douglass
kCelInfo subop 4 returns the pixel color at the passed in x,y coordinates for the passed in view, loop, cel. Shivers uses this function for the red door puzzle, room 23601 to determine what blocks on the puzzle board are already occupied by pieces.
2011-10-12SCI: 3 Uninitialized read workarounds for ShiversHeather Douglass
2011-10-12SCI: Added proper handling of duplicate items in kAddScreenItemFilippos Karapetis
- Items that are being readded to the scene should be updated instead - Added a findScreenItem() call to simplify the code slightly
2011-10-11SCI: Some work on the SCI32 bitmap / font codeFilippos Karapetis
- Initial implementation of kBitmap(0) - Bugfixes for fonts in upscaled games
2011-10-11SCI: kBitmap(1) is kDisposeTextBitmapFilippos Karapetis
2011-10-11SCI: Changed a warning about wrong object variable count into a debugCFilippos Karapetis
2011-10-11SCI: Proper implementation of text drawing for SCI2+Filippos Karapetis
2011-10-10SCI: SCI32 kernel functions kRepaintPlane and kInputText are unusedFilippos Karapetis
2011-10-09SCI: CreateTextBitmap should return a pointer. Also, silenced a warningFilippos Karapetis
2011-10-09SCI: Fix formatting in kRobot.Johannes Schickel
2011-10-09SCI32: Marked/updated several unused/still not needed kernel functionsFilippos Karapetis
2011-10-09SCI32: Documented the extra 2 params in kCreateTextBitmap(0)Filippos Karapetis
2011-10-09SCI: Removed the old kDoAvoider codeFilippos Karapetis
2011-10-09SCI2+: Added info for the extra parameter used in kGetSaveDir in SCI32Filippos Karapetis
The warning can be safely removed, as the parameter is a string that should not be set
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]*$//'