aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sci.cpp
AgeCommit message (Collapse)Author
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
2010-10-13SCI: Add detection for Hoyle4 MacMatthew Hoops
svn-id: r53397
2010-09-08SCI: dont replace save/restore in hoyle2 tooMartin Kiewitz
svn-id: r52636
2010-09-08SCI: don't replace save/restore in hoyle1Martin Kiewitz
fixes hoyle1 not starting anymore svn-id: r52635
2010-09-07SCI: Now distinguishing between native MT-32 MIDI from GM devices when checkingFilippos Karapetis
for the existence of after market GM patches svn-id: r52620
2010-09-02SCI: Show a warning window regarding GM in some games.Filippos Karapetis
Sierra has released a patch adding after market General MIDI support for 8 SCI1 games (LSL1, LSL5, Hoyle 3, SQ1, SQ4, Eco1 floppy, Longbow and Fairy Tales). If the user has selected the General MIDI music driver in one of these games and no associated MIDI patch is found, show an informational dialog on game startup in order to inform the user to download Sierra's MIDI patch, together with some short instructions. svn-id: r52500
2010-09-01SCI: set master volume correctlyMartin Kiewitz
and merge it together with global volume, fixes bug #3053104) svn-id: r52484
2010-09-01SCI: disable dialog replacement for jonesMartin Kiewitz
fixes odd crash right at the start, although you can't save/restore in jones o_O (fixes bug #3057080) svn-id: r52479
2010-08-31SCI: renaming fb01-enable to "native_fb01"Martin Kiewitz
svn-id: r52471
2010-08-31SCI: renaming config-variablesMartin Kiewitz
"sci_dither" got removed, "undither" renamed to "sci_undither". Also changed logic for handling "sci_originalsaveload" svn-id: r52469
2010-08-31SCI: Remove duplicate comment line.Johannes Schickel
svn-id: r52468
2010-08-31SCI: enable new kDoBresen/InitBresenMartin Kiewitz
enable replacement of save/load dialogs per default add config-var "sci_originalsaveload" for not replacing dialogs add config-var "sci_dither" for enabling dithering in EGA games new kDoBresen fix qfg2 walk against wall bug (#3053131) and hoyle3 unreadable dice bug (#3036922) svn-id: r52467
2010-08-29SCI: adding virtual lists for qfg-import roomsMartin Kiewitz
now lists import files of all possible games, adds game title before that, removes game prefixes for all files svn-id: r52441
2010-08-29SCI: Added proper handling of QFG exported character files.Filippos Karapetis
Now, QFG2, 3 and 4 may read exported characters from all other QFG games, like the originals did. Fixes bug #3054692 - "QFG2/QFG3 Import issues". svn-id: r52430