aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sci.cpp
AgeCommit message (Collapse)Author
2011-11-29SCI: Fix restarting SCI engine with different SCI versionWillem Jan Palenstijn
2011-10-30SCI: More work on kEditTextFilippos Karapetis
2011-10-29SCI: Added a new debug flag, "DebugMode" for SCI32 gamesFilippos Karapetis
This is used to enable the embedded debugger in several SCI32 games (PQ4, QFG4, GK1, GK2, KQ7, SQ6 and LSL7)
2011-10-28SCI: Added skeleton code for kEditText (still not working)Filippos Karapetis
2011-10-26SCI: Renamed GfxControls to GfxControls16Filippos Karapetis
2011-10-19SCI: Move the palette merging checking code inside the GfxPalette classFilippos Karapetis
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-06-25SCI: Fixed bug #3325512: "EcoQuest 1: Audio settings are not saved"Filippos Karapetis
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-05-27SCI: Fix access to variables (gc_interval etc.) from the consoleLars Skovlund
2011-05-17COMMON: Registers RandomSources in constructor with the event recorderMax Horn
This also removes the dependency of engines on the event recorder header and API, and will make it easier to RandomSources that are not properly registered.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-09SCI: Slight cleanup to undithering codeMax Horn
2011-03-28SCI: Renamed restAdjust to r_rest (like r_acc and r_prev)md5
2011-03-09SCI: Don't patch the save/load dialogs in Shiversmd5
Shivers uses a custom save/load system, so we can't replace its dialogs
2011-03-04SCI: Use BE string handling for Mac games.Walter van Niftrik
2011-03-04SCI: Enable fade transitions for SCI1 EGA gamesmd5
2011-03-04SCI: Don't patch save/restore dialogs in Phantasmagoriamd5
That game has its own custom made save/load system
2011-03-04SCI21: Now replacing save/restore dialogs in SCI2.1 and newer gamesmd5
2011-03-03SCI: Applied save/load dialog patching to all SCI0-SCI2.1 early gamesmd5
Games that have the newer SCI2.1 kernel functions (i.e. kSave instead of kSaveGame/kRestoreGame) aren't supported yet
2011-02-28SCI: Cleanup of the save/load dialog patching code and the lofs type ↵md5
detection code
2011-02-27SCI: Renamed SCI_VERSION_1_EGA to SCI_VERSION_1_EGA_ONLYmd5
This renaming allows us to better distinguish that this version is for games that only had an EGA version, and avoid confusion with newer SCI1 game releases with EGA graphics (e.g. KQ5 EGA). The only game with this SCI version is QFG2, a SCI1 EGA game with a parser. Also, added some games for each SCI version.
2011-02-22SCI: Added support for patching save/load dialogs in SCI2 gamesmd5
2011-02-17SCI: Fix Mac icon bar palettesMatthew Hoops
The Mac icon bar uses a palette from the executable and keeps those entries in the palette constantly. In addition, we're now performing gamma correction on the Mac-based colors so that they are in the same gamma as SCI. The color matching now works with this and using the same color finding as the Mac Palette Manager.
2011-02-08SCI: Add detection for Freddy Pharkas MacMatthew Hoops
svn-id: r55828
2011-02-07SCI: Converted the robot decoder into a regular video decoder, and decoupled ↵Filippos Karapetis
it from the SciEngine class - Robot videos are now shown in frameOut(), like they should, and kRobot(sync) is only used for syncing with the game scripts - Hooked video playing into the "play_video" console command svn-id: r55801
2011-02-05SCI: Fix Mac SCI32 subdirectoriesMatthew Hoops
svn-id: r55783
2011-02-03SCI: Disable the special QFG1 Mac icon barMatthew Hoops
The original interpreter completely ignores it in favor of the regular one. svn-id: r55748
2011-01-27SCI: Set the printLang and parseLang selectors again when restarting, if ↵Filippos Karapetis
necessary. This sets the language again correctly to the language selected in the launcher when restarting multilingual games. svn-id: r55561
2011-01-22SCI21: Allow the game scripts to sync robot videos, like in SSCI. Also, ↵Filippos Karapetis
references of the SciEngine class to itself via g_sci have been removed svn-id: r55422
2010-12-23SCI: Fixed typoFilippos Karapetis
svn-id: r55022
2010-12-22SCI: Limit the speech/subtitle settings sync to SCI1.1 CD games only. EarlierFilippos Karapetis
versions (like SCI1, e.g. KQ5CD and Jones CD) didn't have such settings svn-id: r55006
2010-12-22SCI: Sync in-game speech/subtitle options with the ones from the ScummVM GUI.Filippos Karapetis
- Obtain speech/subtitle options from the ScummVM GUI and set them in CD games. - Also, set simultaneous speech and subtitles in games that support them (currently SQ4 CD and Freddy Pharkas CD). There is no GUI option for setting simultaneous speech and subtitles in Freddy Pharkas CD, so this is the only current way of achieving this (unless the text speed slider inside the Freddy Pharkas options window is repurposed - but that will require extensive changes) svn-id: r55005
2010-11-27SCI: Compensate for buggy KQ5CD saved games (before r54510)Filippos Karapetis
svn-id: r54513
2010-11-26SCI: Implemented FR #3101338: "King's Quest 6 Windows Mouse Icons"Filippos Karapetis
Added an option to use the original Windows cursors in the Windows version of KQ6 Also, added an update on how the Mac cursors are handled (perhaps the handling is the same) svn-id: r54495
2010-11-25SCI: Added engine method isCD()Filippos Karapetis
svn-id: r54475
2010-11-19SCI: Moved the Object class in a separate fileFilippos Karapetis
svn-id: r54361
2010-11-17SCI: Allow SCI3 game scripts to runFilippos Karapetis
SCI3 scripts do start up now, however they stop quite early, as there is still missing functionality which prevents them from running fully. This will be useful for debugging, though svn-id: r54292
2010-11-11SCI: Added the "DUK" video folder to the Search managerFilippos Karapetis
The DUK folder contains all of the recently supported Duck videos in Phantasmagoria 2. play_video works now with the videos of Phantasmagoria 2 :) svn-id: r54208
2010-11-10SCI: Some SCI3 changesFilippos Karapetis
- Extended the SCI2.1 kernel function signatures for SCI3, as they share the same kernel table - All the engine parts are now initialized in SCI3 games, apart from the VM svn-id: r54178
2010-11-09SCI: Some slight work on SCI3Filippos Karapetis
- Enabled the SCI3 game entries for testing purposes - The resource manager is initialized fully now (with a slight hack) - Added a hack for the demo of Shivers 2 (which seemingly has no scripts or vocabularies) - The engine will stop before parsing any game scripts in SCI3 games, and opens the console for resource manager-related functionality svn-id: r54167
2010-11-05COMMON/GUI/SCI: Changes to the EGA dithering checkboxFilippos Karapetis
- Changed the new dithering checkbox to be more generic (i.e. relevant for all engines that may support such a feature in the future) - Changed the checkbox to be unchecked by default. As discussed on -devel, game enhancements in ScummVM should be off by default, and opt-in - Changed the option from "sci_undither" to "disable_dithering" - Changed theme version style to X.Y.Z and bumped it to 0.8.2 svn-id: r54090
2010-11-04SCI: Set undither to on by default again, like it was. Filippos Karapetis
From our current stance, this is a game enhancement, and should be on by default, like the rest of the game enhancements (AGI mouse, save/load replacement etc) svn-id: r54070
2010-11-04SCI/SCUMMVM: Added an option to enable the dithering removal algorithm (so ↵Filippos Karapetis
called "undithering") in the graphics options tab. The algorithm is now disabled by default, after popular demand. In retrospect, we really shouldn't have made it default, in order to preserve the authenticity of the graphics in early SCI EGA games, and allow the user to opt in and enable the option if needed. Unfortunately, the lack of an easy way to modify the option made it hard to do so. svn-id: r54066
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-10-31SCI: Play time related changesFilippos Karapetis
- Added support for savegame play time - Removed obsolete variables for calculating the play time (EngineState::gameStartTime and Console::_enterTime) - Renamed some variables to camelCase svn-id: r53974
2010-10-30SCI: Fixed detection of fan made script patches for LSL1Filippos Karapetis
svn-id: r53940
2010-10-29SCI: Remove unused variable + some formatting fixes.Johannes Schickel
svn-id: r53921
2010-10-29SCI: Added detection of some fan made script patches.Filippos Karapetis
When such a script patch is found, a dialog pops up at the beginning of the game, asking the user to remove it. The issues that these script patches fix have already been fixed in ScummVM, thus these patches aren't necessary, plus they can lead to crashes, freezes, buggy behavior and/or unexpected errors, thus it is better if they aren't used at all, if possible svn-id: r53920
2010-10-27SCI: Proper pausing/resuming of MIDI music in ↵Filippos Karapetis
SciEngine::pauseEngineIntern(), Console::preEnter() and Console::postEnter() and added a sanity check in SciEngine::getDebugger() svn-id: r53886