aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2012-06-10GUI: Refactor default savegame description creation.Johannes Schickel
Formerly the GMM, AGI and SCI duplicated the logic for USE_SAVEGAME_TIMESTAMP. Now I added a method to SaveLoadChooser instead, which takes care of this. This might not be the best placement of such a functionality, thus I added a TODO which talks about moving it to a better place.
2012-06-10GUI: Add helper to SaveLoadChooser, which uses the currently active target.Johannes Schickel
This reduces the code duplication in all client code, which formerly duplicated the querying of the plugin, game id etc. and now simply calls the newly added method runModalWithCurrentTarget() on a SaveLoadChooser object.
2012-06-10GUI: Get rid of SaveLoadChooser::setSaveMode.Johannes Schickel
We already pass the title and process button name to the constructor of SaveLoadChooser and then do not offer any way of changing it, thus changing the edit mode of the chooser is kind of pointless and was never actually used. Instead we pass the mode on SaveLoadChooser construction now.
2012-06-09SCI: Update information on kGetSierraProfileIntFilippos Karapetis
Thanks to LePhilousophe for his feedback and observations on this
2012-06-09SCI: Initial implementation of AddLine, UpdateLine, DeleteLineFilippos Karapetis
2012-06-07SCI: Initial implementation of kScrollWindow, used in some SCI21 gamesFilippos Karapetis
This is used in LSL6 hires and SQ6. This initial implementation is hackish and only works in SQ6 (nothing is shown in LSL6)
2012-06-02SCI32: Implement GetConfig("language")Lars Skovlund
2012-05-30SCI32: Case-insensitive configuration gettersLars Skovlund
2012-05-26SCI: Add a TODO in kFileIOReadRawFilippos Karapetis
2012-05-26SCI: Map another missing kFileIO callFilippos Karapetis
This is used to change directories in the save/load dialog (unused by us)
2012-05-26SCI: Implement kGetConfig and kGetSierraProfileIntFilippos Karapetis
This fixes the sluggish game speed in Phantasmagoria (DOS/Windows)
2012-05-26SCI: Bugfix for kFileIOReadRawFilippos Karapetis
Avoid overwriting the target buffer with junk when no data has been read
2012-05-24SCI: Map the rarely used VibrateMouse kernel function to be an empty callFilippos Karapetis
This is a function used to implement vibration in the floppy version of QFG4 for exotic force feedback mice, such as the Logitech Cyberman
2012-05-22SCI: Add a workaround for a hack used in the NRS script patches for QFG3Filippos Karapetis
The patched script 33 in the NRS patch attempts to perform kAbs() on an object. Return a dummy value instead. Fixes bugs #3528416 and #3528542
2012-05-21SCI: Silence unused variable warningsMatthew Hoops
2012-05-20SCI: Fix case of the SciOpcodes enumFilippos Karapetis
2012-05-20SCI: Remove the hackish (and wrong) SCI32 fade codeFilippos Karapetis
2012-05-20SCI: Split the SCI32 graphics kernel functions in a separate fileFilippos Karapetis
2012-05-20SCI: Change sci_opcodes to CamelCaseFilippos Karapetis
2012-05-20SCI: Add another workaround for the map scene in TMMFilippos Karapetis
Thanks to TMM for details on reproducing this
2012-05-14SCI: kMakeSaveFileName is actually using virtual savegame IDsFilippos Karapetis
2012-05-14SCI: Implement savegame deletion functionality in SCI32Filippos Karapetis
This is based on two kernel functions, kMakeSaveCatName and kMakeSaveFileName
2012-05-14SCI: Check for object visibility, if an object defines itFilippos Karapetis
Fixes the inventory in GK1
2012-04-29SCI: Fix for bug #3522046 "Detection of SQ4CD as Windows breaks Music"Filippos Karapetis
Fall back to the DOS soundtracks in Windows CD versions if the user picks a non-General MIDI music device, as the Windows tracks only contain MIDI music
2012-04-04SCI: Bugfix for the GetAngle workaroundsFilippos Karapetis
Return a fake value instead of leaving random values in the accumulator
2012-04-01SCI: Add workaround for SQ1SCI to fix engine abort in bug #3513765.D G Turner
This occurs while Roger is trying to move around the Pilot Droid in Ulence Flats.
2012-04-01SCI: Change the fix for the SQ1 PAvoider call to apply in all rooms againFilippos Karapetis
This bad call can be made in all rooms in Ulence Flats, after getting the Pilot Droid. Properly fixes script bug #3513207
2012-03-31ENGINES: Return all available custom GUI options if no target is specifiedFilippos Karapetis
This is used to set default settings for all custom game options when an engine starts
2012-03-31SCI: Fix workaround for bug #3513207Filippos Karapetis
The associated call contains too few parameters, thus it shouldn't be made at all
2012-03-31SCI: Minor formatting fix to workarounds table.D G Turner
2012-03-31SCI: Add workaround for SQ1SCI to fix engine abort in bug #3513207.D G Turner
This occurs while Roger is trying to move around the Pilot Droid in various narrow cases.
2012-03-25SCI: Hook up the digital SFX and CD audio optionsFilippos Karapetis
The relevant code wasn't added in the newer commits - this was an oversight from my part
2012-03-13JANITORIAL: Replace (x ? false : true) by !(x).Christoph Mallon
2012-03-08SCI: Fix KQ6 Mac movies with resource fork namesMatthew Hoops
2012-02-21Merge pull request #182 from fingolfin/forbid-ctypeWillem Jan Palenstijn
ALL: Avoid using is* macros from ctype.h
2012-02-20COMMON: Move isFoo functions to namespace Common, add doxygen commentsMax Horn
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15ALL: Avoid using is* macros from ctype.hMax Horn
On some systems, passing signed chars to macros like isspace() etc. lead to a runtime error. Hence, mark these macros as forbidden by default, and introduce otherwise equivalent alternatives for them.
2012-02-12SCI: Expand adjustGraphColor to work for older EGA games tooWillem Jan Palenstijn
See bug #3486899.
2012-02-10JANITORIAL: Fix template definition whitespaceTarek Soliman
2012-01-29SCI: Remove unnecessary break after return statement.Johannes Schickel
2012-01-16SCI: Update a workaround for the demo of QFG4 to make it work againFilippos Karapetis
2012-01-16SCI: Remove outdated commentWillem Jan Palenstijn
2012-01-15SCI: Simplify kString(Dup) using the overloaded = operatorFilippos Karapetis
Thanks to wjp for his suggestion
2012-01-15SCI: Ignore an invalid export in a script in the demo of RAMAFilippos Karapetis
2012-01-15SCI: Use fromString() in kString(Dup) to simplify codeFilippos Karapetis
2012-01-15SCI: Zero-terminate strings in SciString::fromString()Filippos Karapetis
2012-01-15SCI: Remove wrong script-to-array copying code in kArrayFilippos Karapetis
2012-01-15SCI: Fix a nasty bug in kString(Dup)Filippos Karapetis
The rawString variable is no longer pointing to invalidated data. This fixes cases where strings are manipulated by game scripts, such as the graveyard and rada drum puzzles in GK1
2012-01-15SCI: Clean up some memory management and loopsWillem Jan Palenstijn