aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2012-06-20Merge pull request #246 from lordhoto/osystem-void-buffersJohannes Schickel
OSYSTEM: Use void buffers for screen/overlay/mouse buffers and proper pitch values for overlay code
2012-06-20SCI: Change kRemapColors(5) again. Fixes the colors in QFG4Filippos Karapetis
2012-06-20SCI: Add a warning for kRemapColors(RemapByPercent)Filippos Karapetis
2012-06-20SCI: Implement kRemapColors(5 - set color intensity)Filippos Karapetis
It's finally nighttime in the first murder scene in PQ4
2012-06-20SCI: Remove multibyte character processing code from SCI32Filippos Karapetis
There are no Japanese/PC-98 SCI32 games, so this code is not needed
2012-06-20SCI: Don't attempt to draw line feed characters in SCI32Filippos Karapetis
Fixes junk in the about dialogs in PQ4
2012-06-18SCI: Store script sizes in 32-bit integersFilippos Karapetis
Since scripts can be larger than 64KB, and getBufSize() returns a 32-bit integer, adapt variables that store script sizes accordingly
2012-06-18SCI: Add setter/getter methods to reg_t'sFilippos Karapetis
No functionality change has been made with this commit. This avoids setting and getting the reg_t members directly, and is the basis of any future work on large SCI3 scripts (larger than 64KB)
2012-06-18SCI: Add a check for empty VMD file namesFilippos Karapetis
2012-06-16SCI: Get rid of casts on CursorManager::replaceCursor calls.Johannes Schickel
2012-06-16SCI: Get rid of casts on OSystem::copyRectToScreen calls.Johannes Schickel
2012-06-15SCI: Change getClassAddress() to only require the caller segmentFilippos Karapetis
The caller offset is never actually used inside the function
2012-06-15SCI: Also skip a robot video in the Lighthouse demoFilippos Karapetis
2012-06-15SCI: Replace RAW_IS_OBJECT with a methodFilippos Karapetis
2012-06-15SCI: Fix warningsFilippos Karapetis
Thanks to DrMcCoy for reporting them
2012-06-15Revert "SCI: Change Script::getObject() to accept a reg_t"Filippos Karapetis
This reverts commit 577d7e41c9ca2c498dc85e41c373fbdca8d2ed41.
2012-06-15SCI: Further cleanup of the script codeFilippos Karapetis
Merge the init() and load() Script methods and reset the script when necessary
2012-06-15SCI: Skip playing of the unsupported robot video 1003 in RAMAFilippos Karapetis
2012-06-15SCI: _propertyOffsetsSci3 and classpos should be 32-bit integersFilippos Karapetis
These are needed for future handling of large SCI3 script files
2012-06-15SCI: Clean up the script initialization codeFilippos Karapetis
2012-06-15SCI: Change Script::getObject() to accept a reg_tFilippos Karapetis
This is needed for upcoming changes to the Script class
2012-06-15SCI: Limit floodfill hack to GK1Filippos Karapetis
Fixes the intro of LSL7 and the inventory screen in PQ4
2012-06-14SCI: Change the script buffer size to be a size_t as wellFilippos Karapetis
This will be needed in the future to load large SCI3 scripts
2012-06-14SCI: Add known large SCI3 scriptsFilippos Karapetis
2012-06-14SCI: A separate implementation is needed for syncStringHeap() for SCI3Filippos Karapetis
2012-06-14SCI: Add handling of two more configuration settings for LSL7Filippos Karapetis
2012-06-14SCI: Add missing documentation for the plane_items / pi console commandFilippos Karapetis
2012-06-13SCI: Fix the loading screen and the loading functionality in ShiversFilippos Karapetis
Shivers uses extra special hardcoded save files together with the normal ones that are used to store slot names and spot descriptions. The scheme is a bit odd, and since the names of the extra save files are hardcoded, this scheme is problematic to use. We skip the creation of these files altogether and use virtual files instead, which means that the (broken) spot descriptions won't be visible next to each save description. This isn't a major issue for now, and it's left as a future TODO to implement this feature in a cleaner way, and not with extra save files. This scheme fixes the slot descriptions in the loading screen. Also, kCD(1) has been implemented, which fixes loading of the save states themselves
2012-06-13SCI: Shuffle the kernel functions inside kfile.cppFilippos Karapetis
This puts them in the order that they are defined in the kernel tables
2012-06-13SCI: Handle the torindebug config setting for Torin's Passage FrenchFilippos Karapetis
Thanks to LePhilousophe for testing and providing a patch
2012-06-13SCI: Add a workaround for the French version of Torin's PassageFilippos Karapetis
Thanks to LePhilousophe for playing and providing the workaround
2012-06-13SCI: Only include kSave_subops if ENABLE_SCI32 is definedFilippos Karapetis
2012-06-13SCI: Use the later SCI file functions for the SCI0 onesFilippos Karapetis
They are essentially the same (with the exception of the return values), so unifying them reduces code duplication
2012-06-13SCI: Change kSave() to be a kernel function with subopsFilippos Karapetis
2012-06-13SCI: Move all file-related functions in file.*Filippos Karapetis
This way, there is a clear separation of the actual SCI kernel file functions and the file classes and wrappers of ScummVM
2012-06-13SCI: Reorder the file kernel functions a bitFilippos Karapetis
2012-06-13SCI: Implement the file operations needed for the save dialog in PhantasmagoriaFilippos Karapetis
Phantasmagoria's scripts keep polling for the existence of the savegame index file and request to read and write it using the same parameters when opening it. The index file is closed and reopened for every save slot, which is slow and can be much slower on non-desktop devices. Also, the game scripts request seeking in writable streams and request to expand the existing index file. To provide this functionality and to reduce constant slow file opening and closing, this virtual class has been introduced
2012-06-13SCI: Add debug code to automatically skip robot videosFilippos Karapetis
2012-06-11SCI: Fix comment in kString(at)Matthew Hoops
2012-06-11SCI: Add support for variable selectors in kListFirstTrue / kListAllTrueFilippos Karapetis
This is used by Torin's Passage (e.g. when trying to open the menu). Based on a slightly modified patch by LePhilousophe
2012-06-11SCI: Return the default value for unknown configuration settingsFilippos Karapetis
Based on a patch by LePhilousophe
2012-06-11SCI: Added another French version of Torin's PassageFilippos Karapetis
Thanks to LePhilousophe for providing the file details. Also fixed all of the detection entries for Torin's Passage
2012-06-11SCI: Bugfix for negative numbers in kString(at)Filippos Karapetis
Fixes one of the bugs in the savegame selection screen in Phantasmagoria
2012-06-11SCI: Add more verbose debug output for DoAudio in SCI2.1Filippos Karapetis
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-09SCI: Handle translucent text planesFilippos Karapetis
Fixes the incorrect flood fill in the Rada Drums screen in GK1