aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/features.cpp
AgeCommit message (Collapse)Author
2016-08-13SCI: Fix pseudo mouse in various SCI1 games like e.g. Larry5Martin Kiewitz
Pseudo mouse was functionality in SCI1+ games, that allowed the user to control the mouse via keyboard cursor keys. This new class only worked, when a tiny difference inside the keyboard driver happened on kMapKeyToDir calls. We previously tried to enable this behavior depending on cursor type, but this didn't work correctly (Larry 5 for example was not detected as such, but had PseudoMouse support).
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
2014-08-08SCI: Fix wrong game features heuristic for Hoyle 1/2 - bug #6606Filippos Karapetis
Games with newer graphics functions can call kDrawPic with 4 or 8 parameters. Older games call it with 6 parameters. Fixes the about dialog in Hoyle 1
2014-02-18SCI: Make GPL headers consistent in themselves.Johannes Schickel
2013-08-20SCI: Add support for the King's Questions mini-gameFilippos Karapetis
This can be found in the KQ collection
2013-04-28SCI: Fix Phantasmagoria Mac's kDoSoundMatthew Hoops
2012-10-22SCI: Add the Inside the Chest / Benind the Developer's Shield demoFilippos Karapetis
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-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-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-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-01-15SCI: Clean up some memory management and loopsWillem Jan Palenstijn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-02-28SCI: Cleanup of the save/load dialog patching code and the lofs type ↵md5
detection code
2010-11-25SCI: Added support for the alternate Windows MIDI soundtracks of the CD ↵Filippos Karapetis
versions of EcoQuest, Jones, KQ5 and SQ4 svn-id: r54476
2010-11-21SCI: Added a heuristic to detect the modified late SCI2.1/SCI3 ↵Filippos Karapetis
kString/kArray kernel functions svn-id: r54398
2010-11-17SCI1.1 and newer games always ignore move count. The "version" command works ↵Filippos Karapetis
now in SCI3 svn-id: r54295
2010-11-17SCI: lofsa/lofss functionality for SCI3Filippos Karapetis
- Updated detectLofsType() for SCI3 - Cleaned up op_lofsa and op_lofss and updated them for SCI3 svn-id: r54293
2010-09-04SCI: doing detectDoSoundType() properly sci0earlyMartin Kiewitz
checking, if sound resources are sci0early or late for sci0early games instead of hardcoding lsl2 svn-id: r52514
2010-09-04SCI: lsl2 early uses sci0late soundMartin Kiewitz
fixes bug #3037012 and lsl2 now has music everywhere svn-id: r52513
2010-08-23SCI: storing game super class address now inside SciEngineMartin Kiewitz
svn-id: r52311
2010-08-02SCI: Fix leaks in ResourceManager::listResources caller code.Johannes Schickel
svn-id: r51666
2010-07-31SCI: fix lofs autodetectionMartin Kiewitz
makes polish lsl1 work (its game superclass name got translated, so no "Game" object available) - bug #3037194 thx to dam-soft for his patient help svn-id: r51557
2010-07-27SCI: Better fix for bug #3035058 - ECOQUEST demo: Missing subtitlesMatthew Hoops
The demo really uses kGetMessage and not kMessage. We now detect which version of the message function is used. Thanks to Walter for pointing this out. svn-id: r51384
2010-07-14SCI: adding sound version 2.1, to properly add sci2.1 signature for ↵Martin Kiewitz
kDoSound(play) svn-id: r50878
2010-07-01Added some slight fixes for the RAMA demo, which starts now, though it dies ↵Filippos Karapetis
horribly when clicking on anything svn-id: r50569
2010-06-28SCI: More comment rewrappingMax Horn
svn-id: r50431
2010-06-28SCI: Make Script member vars private; add const qualifiersMax Horn
Only three Script members remain public (for now) svn-id: r50428
2010-06-23Moved the SelectorCache struct inside selector.h, where it belongs, and ↵Filippos Karapetis
fixed some header dependencies in the process svn-id: r50183
2010-06-17Strict mode: Turned several severe errors (almost all detection related) ↵Filippos Karapetis
into errors, instead of warnings svn-id: r49972
2010-06-10Use the SELECTOR() macro for readabilityFilippos Karapetis
svn-id: r49563
2010-05-31CleanupFilippos Karapetis
svn-id: r49342
2010-05-30Limit access to the _bufSize, _scriptSize and _heapSize members of the ↵Filippos Karapetis
Script class svn-id: r49327
2010-05-29Mass renaming of selector-related functions, and removed some defines which ↵Filippos Karapetis
were just cloaking functions with a different name - GET_SEL32 -> readSelector - GET_SEL32V -> readSelectorValue - PUT_SEL32 -> writeSelector - PUT_SEL32V -> writeSelectorValue Also, changed some selector-related function names and variables to CamelCase svn-id: r49317
2010-05-28Cleaned up detectGfxFunctionsType() slightly, and made it work for Hoyle 1 ↵Filippos Karapetis
and 2 properly. svn-id: r49292
2010-05-26SCI: Making various object and script related things constMax Horn
svn-id: r49246
2010-04-24SCI: Don't error() out when autodetection failsWalter van Niftrik
svn-id: r48790
2010-02-17SCI: Reduce header interdependenciesMax Horn
svn-id: r48086
2010-02-13SCI: Change getSciVersionDesc() to return 'const char *' instead of ↵Max Horn
'Common::String' svn-id: r48044
2010-02-07SCI: cleanup; try to unify var names when reading PMachine instructions a bitMax Horn
svn-id: r47978
2010-02-07Update comments in autoDetectSci21KernelType() explaining what we're ↵Matthew Hoops
checking for. svn-id: r47973
2010-02-07SCI: Some cleanupMax Horn
svn-id: r47963
2010-02-07Split GameFeatures::autoDetectFeature into several methods, one for each featureMax Horn
svn-id: r47962
2010-02-07SCI: Add GameFeatures::getDetectionAddr auxillary methodMax Horn
svn-id: r47961
2010-02-07SCI: Refactor GameFeatures::autoDetectFeatureMax Horn
svn-id: r47960
2010-02-07SCI: Switch GameFeatures::autoDetectFeature to using readPMachineInstructionMax Horn
svn-id: r47959
2010-02-07With the new detection for setCursor, the game object and game ID are no ↵Filippos Karapetis
longer required, which makes some ugly code obsolete. Yay! :) svn-id: r47951
2010-02-07Oops, correct a comment.Matthew Hoops
svn-id: r47949
2010-02-07Rewrite detectSetCursorType() so that it works for KQ5 Mac in addition to ↵Matthew Hoops
KQ5 DOS CD. svn-id: r47948
2010-02-03Placed all the game feature detection code in a separate classFilippos Karapetis
svn-id: r47850