aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sci.cpp
AgeCommit message (Collapse)Author
2016-03-11SCI32: Initial implementation of kRemapColorsFilippos Karapetis
applyRemap() is still not finished, so nothing is actually visible yet
2016-03-08SCI: Split color remapping functionality into a separate classFilippos Karapetis
Currently, only the SCI16 remapping functionality is implemented (used in the QFG4 demo)
2016-03-08SCI: Separate the demos of QFG4, PQ4 and GK1 from their full versionsFilippos Karapetis
The demo versions of these games were using a very different engine - SCI1.1 vs SCI2/SCI2.1. Thus, we split them into different game IDs, to avoid mixing specific game checks for them, as well as specific game workarounds, which are different for the demos than the full versions. Also, the demos should be working when SCI32 is disabled. For these games, we don't use ADGF_DEMO, to avoid game IDs like foodemo-demo
2016-03-08ENGINES: Make variable names of ADGameDescription conform to our guidelines.Johannes Schickel
gameid -> gameId guioptions -> guiOptions
2016-03-06SCI32: Implement kEditTextColin Snover
2016-03-02SCI32: Don't do a syncWithScripts on restore from launcherMartin Kiewitz
Causes issues in at least gk1 (option + inventory plane are shown) Game::restore is not called, when doing restores from launcher, so in the original interpreter this script code wasn't called either. Fixes option + inventory planes etc. being shown right after restoring via launcher, when original save/load dialogs were disabled.
2016-02-24SCI: Fix FM-Towns audio language selectionMartin Kiewitz
This first of all combines both detection entries and makes it possible so that the user can directly choose English or Japanese without having to add the game twice. But it also fixes the in-game option to switch between English and Japanese. Prior to this commit it was only possible to for example switch from Japanese to English once, but it was not possible to switch back without quitting the game and starting it again.
2016-02-23SCI: Improve kAnimate fastcast detection, Remove EQ1 hackMartin Kiewitz
- Add "kAnimate fast cast state" to "version" debug command - Make it possible for script patcher signatures to get fully used outside of the regular script patcher - Remove previous fastcast detections and replace them with a signature heuristic - Remove object name checking, when fastcast global is set - Heuristic detects "fast cast" support incorrectly for multilingual KQ5, but it seems the game never sets the global, so it won't matter. KQ5 CD (also SCI1 late) has fastcast support. - Remove hack in GfxView::draw - Add lots of comments to ScriptPatcher class This fixes EcoQuest 1 Floppy showing the anemone on top of the message box (see bug #5170)
2016-02-21SCI32: Fix save patching for ScummVM dialogMartin Kiewitz
- Patch game super object for saving instead of game object - Remove re-adding planes+screen items, game::replay does that We would only have to do that for soft-failing on restore - Change debug levels of kNumLoops/kNumCels to 9 - Add special comment about -info- selector in syncWithScripts() This should now make ScummVM menu saving work properly at least in SQ6.
2016-02-18SCI: WIP GfxText32 codeColin Snover
This at least prevents SQ6 from crashing when going into the introduction
2016-02-18SCI: Implement accurate renderer architecture for SCI32Colin Snover
2016-02-15JANITORIAL: Typos detected with lintian & grepAlexandre Detiste
2016-01-26SCI: Only select save slots for kernel callsMartin Kiewitz
Previous code also selected files called e.g. "[targetname].abc"
2016-01-22SCI32: PQ4 seems to support high resolution tooMartin Kiewitz
2016-01-22SCI: add user option for high resolution graphicsMartin Kiewitz
Instead of choosing Windows as platform, users can now also simply click this option for Gabriel Knight 1 + King's Quest 6 Defaults to high resolution graphics
2016-01-14SCI: Use tick-based timing more consistentlyColin Snover
This means tick-based times are saved to save games, as in SCI32 engine, instead of seconds, which are not accurate enough. It also means places in SCI engine that need to access game ticks should do so through g_sci instead of g_system or g_engine.
2016-01-10SCI: Fix compilation when SCI32 is disabledWillem Jan Palenstijn
Thanks bSr43
2016-01-07SCI32: Add initial support for palette cycling (kPalCycle) and fading (kPalFade)Colin Snover
Graphics palette code was rewritten between SCI1 and SCI2, so SCI32 palette engine code has been moved to a separate GfxPalette32 class.
2015-12-29SCI32: split up SCI2.1 into EARLY/MIDDLE/LATEMartin Kiewitz
- Detection works via signatures (couldn't find a better way) - new kString subcalls were introduced SCI2.1 LATE - kString now has signatures and is split via subcall table - kString fix, so that KQ7 doesn't crash, when starting a chapter - Sci2StringFunctionType removed, because no longer needed
2015-12-28SCI: Remove superflous default value registration for extra GUI options.Johannes Schickel
2015-12-22SCI32: add code for torin+sq6 audio+subtitles modeMartin Kiewitz
also add comments about other SCI32 games set global 90 only for lsl6 sci1.1
2015-12-21SCI32: add code for kq7 audio+subtitles modeMartin Kiewitz
also enables it for gk1 and qfg4 (CD versions)
2015-04-27SCI: immediate restore now uses delayed restoreMartin Kiewitz
instead of the old hackish method
2015-04-18SCI: add debug level for workaroundsMartin Kiewitz
It's called "Workarounds"
2014-10-28SCI: Remove trailing whitespaceFilippos Karapetis
2014-06-02SCI: fix saving in mother goose sci0 (bug #6486)Martin Kiewitz
2014-02-18SCI: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-17SCI: Some minor cleanupFilippos Karapetis
2014-02-17SCI: Fix bug #6536 - "SCI: JONES - top menu empty after loading from launcher"Filippos Karapetis
2013-12-22SCI: improved lb2+kq6 patches (new speech state)Martin Kiewitz
adds a third button state to the game menu this state is "dual mode" (audio+text at the same time) currently uses the "speech" graphic CD versions of Laura Bow 2 + King's Quest 6 will now always get patched
2013-12-11SCI: Add detection for Torin MacMatthew Hoops
2013-12-08SCI: only apply audio+text patch to KQ6 CD+LB2 CDMartin Kiewitz
2013-12-08SCI: sci.cpp updated b/c KQ6 audio+text supportMartin Kiewitz
2013-12-04SCI: script patcher is now a separate classMartin Kiewitz
2013-11-21SCI: fix script patcher for games w/o vocabMartin Kiewitz
2013-11-21SCI: Fix warningWillem Jan Palenstijn
2013-11-20SCI: script patch for laura bow 2 for audio+textMartin Kiewitz
at the same time needs indepth testing
2013-11-01SCI: improved patcher, inventory patch for kq6/macMartin Kiewitz
Also added new debug flag for script patcher
2013-10-31SCI: Update ScummVM's game audio options for SCI1.1 CD gamesFilippos Karapetis
This ensures that ScummVM's game audio options for speech and subtitles get updated when they are changed in the game GUI
2013-04-28SCI: Fix patched save/load dialogs in SCI32 Mac gamesMatthew Hoops
2013-04-27SCI: Fix incorrect detection of NRS patches in QFG3 (bug #3574541)Filippos Karapetis
2013-04-18SCI: Remove a bunch of unused private member variablesMax Horn
All instances uncovered by clang warnings.
2012-12-03SCI: Fix a small glitch when loading (regression)Filippos Karapetis
This is caused by commit ed6bc0a13dea0abee56182bc9ff0cd616942fd65, and caused players to click an extra time when trying to change the game audio options after loading a game
2012-12-02SCI: Resync audio options when a game is restarted (bug #3589453)Filippos Karapetis
2012-11-06SCI: reset _throttleLastTime when restartingFilippos Karapetis
This ensures that the load dialog in the ScummVM menu won't be available at inappropriate times when a game is restarting (e.g QFG1, during the starting warning dialogs - bug #3565505)
2012-10-08SCI: Also add LSL6 CD to syncIngameAudioOptions()Filippos Karapetis
2012-07-22SCI: Rewrite RobotDecoder to use the AdvancedVideoDecoder APIMatthew Hoops
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-05-22SCI: Fix the detection of the NRS patch for QFG3Filippos Karapetis
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