aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2009-08-31CleanupFilippos Karapetis
svn-id: r43866
2009-08-31Rewrote the static selector mapper to use SCI versions instead of game IDs, ↵Filippos Karapetis
and split the selectors in SCI generations svn-id: r43863
2009-08-31- Removed the now-unused "setTarget" selectorFilippos Karapetis
- Added the "setCursor" selector - Replaced the selector table of the LSL5 demo with the one from the LSL1 demo (we no longer get a warning about an invalid selector) - Changed the selector table of the xmas1992 demo to use the table from KQ6 floppy - Set Laura Bow 2 floppy to use the KQ6 floppy table svn-id: r43859
2009-08-31Some adjustments to the output of the "selector" and "selectors" console ↵Filippos Karapetis
commands svn-id: r43858
2009-08-31SCI: Add stub for PalVary.Walter van Niftrik
svn-id: r43857
2009-08-31Removed many bogus return values in the SCI graphics functions - some ↵Filippos Karapetis
functions always returned "true", whereas in others they errored out in fatal conditions before any value was returned. FreeSCI was returning values from the graphics drivers it used. In ScummVM, we have one graphics driver, and we error out in fatal conditions anyway, so these error checks are no longer necessary, and the resulting code looks much neater svn-id: r43851
2009-08-31SCI: Fix messages in QFG remake.Walter van Niftrik
svn-id: r43850
2009-08-30Adding support for AVI in SCI games (such as kq6) and implement kPlatform.Matthew Hoops
svn-id: r43834
2009-08-30SCI: Fix detection of QFG1 remake.Walter van Niftrik
svn-id: r43832
2009-08-30SCI: Fix missing 'else' in r43824.Walter van Niftrik
svn-id: r43831
2009-08-30Fixed a regression in the sound of the demos of LSL3 and LSL5Filippos Karapetis
svn-id: r43825
2009-08-30SCI: Add lofs detection.Walter van Niftrik
svn-id: r43824
2009-08-30Silence gcc warning.Matthew Hoops
svn-id: r43814
2009-08-30SCI: Add support for SetCursor with 4 args.Walter van Niftrik
svn-id: r43813
2009-08-30SCI: Add SetCursor detection. Cleanup.Walter van Niftrik
svn-id: r43812
2009-08-30SCI: CleanupWalter van Niftrik
svn-id: r43811
2009-08-29Removed the "op_" prefix from opcode names in the script debuggerFilippos Karapetis
svn-id: r43798
2009-08-29Use Common::String::clear instead of assigning "".Johannes Schickel
svn-id: r43787
2009-08-29- Added static and const to static data.Johannes Schickel
- Slight formatting fixes. svn-id: r43786
2009-08-28The first part of the selector table (the first 83 entries) is almost the ↵Filippos Karapetis
same in all SCI versions (up to and including the "z" selector), therefore the hardcoded selector tables can be simplified a lot svn-id: r43780
2009-08-28- Removed the unused selectors "prevSignal", "who" and "distance" from the ↵Filippos Karapetis
quick access selector array - Added the "motionCue" and "egoMoveSpeed" selectors to the selector array, to limit the places where findSelector() is used only in debugging functions - Reordered the selector initialization in mapSelectors(), so that their order matches the order found in vocab.997 svn-id: r43779
2009-08-28Removed the unused selectors (edgeHit, semanticFail and baseSetter)Filippos Karapetis
svn-id: r43776
2009-08-27Stop loading opcodes from vocab.998. They are the same in all SCI games and ↵Filippos Karapetis
are hardcoded anyway (plus, vocab.998 is unreliable in some games, e.g. QFG3, or completely missing in others). Also hardcoded the opcode names for the script debugger, the only place they're actually used. The only place where vocab.998 is loaded on demand is when using the "opcodes" console command (for debug/verification purposes) svn-id: r43775
2009-08-27Throw a warning when kGetSaveDir is called with a parameterMatthew Hoops
svn-id: r43774
2009-08-27Removed the signature check from GetSaveDir in order to let the scripts in ↵Filippos Karapetis
GK progress a bit further svn-id: r43771
2009-08-27Add the minor differences of SCI3 to the SCI2.1 kernel table.Matthew Hoops
svn-id: r43763
2009-08-26- Fix the opcode formats for some opcodes in SCI32 (some arguments are now ↵Matthew Hoops
words instead of bytes). - Fix the SCI2.1 kernel table. - Add DoSound detection for SCI2. svn-id: r43762
2009-08-26Missed another comma....Matthew Hoops
svn-id: r43761
2009-08-26Committed a slight patch by clone2727, which contains debug code to dump the ↵Filippos Karapetis
selector table from a game. This is very useful to construct selector tables for games which don't have a vocab.997 resource, using dumped tables from similar versions or games svn-id: r43760
2009-08-26Added a safeguard to avoid getting stuck in an endless loop when ↵Filippos Karapetis
initializing some problematic scripts in certain demos (e.g. the EcoQuest 1 demo), and fixed the return values of script_instantiate_sci0() in the process svn-id: r43759
2009-08-26Further work on the fallback detector: added several demosFilippos Karapetis
svn-id: r43756
2009-08-26If a resource map entry can't be read, retry with the volume version ↵Filippos Karapetis
instead, if it's different than the map version svn-id: r43755
2009-08-26FormattingFilippos Karapetis
svn-id: r43754
2009-08-26Oops! Missed a comma.Matthew Hoops
svn-id: r43753
2009-08-26Added code to distinguish between the demo and full versions of fairytalesFilippos Karapetis
svn-id: r43752
2009-08-26Started working on distinguishing the Sierra game demos. Also added a note ↵Filippos Karapetis
about a potential problem with language detection with some SCI games svn-id: r43751
2009-08-26WordingFilippos Karapetis
svn-id: r43750
2009-08-26Added automatic detection of the game language to the fallback detectorFilippos Karapetis
svn-id: r43749
2009-08-25Disabled the signature checks for kNewWindow and kGetEvent, which are ↵Filippos Karapetis
different in Mac versions. At least, Mac versions should start now svn-id: r43747
2009-08-25- Finished automatic detection of the game platform in the fallback detectorFilippos Karapetis
- Added detection for GK1 to the fallback detector - Removed the rest of the executable reading code, as it's no longer used svn-id: r43746
2009-08-25Fixed compilation when ENABLE_SCI32 is not setFilippos Karapetis
svn-id: r43744
2009-08-25- Split SCI_VERSION_32 into SCI_VERSION_2, SCI_VERSION_2_1, and ↵Matthew Hoops
SCI_VERSION_3 (each version has a different kernel table). - Improve map detection. - Fix SCI32 object and script initialization (Torin's Passage and GK1 scripts now start up, and probably most SCI2/2.1 games). - Add SCI2 and SCI2.1 kernel tables. svn-id: r43742
2009-08-25When opening files, open the English language part of the filename. Fixes ↵Filippos Karapetis
some multilingual SCI1 games svn-id: r43730
2009-08-25- Replaced more cases of EngineState parametersFilippos Karapetis
- Made some version comparisons for old SCI0 versions easier to read - Removed the GET_SEL32SV macro svn-id: r43729
2009-08-25Fixed detection for GK1 demo when SCI32 is not enabledFilippos Karapetis
svn-id: r43727
2009-08-25Silenced warnings (thanks wjp)Filippos Karapetis
svn-id: r43725
2009-08-25- Simplified the parameters of some functionsFilippos Karapetis
- Replaced some EngineState parameters - The SCI version is now obtained from the resource manager or the segment manager, thereby simplifying several functions - Plugged 2 leaks in the fallback detector - Renamed the segment manager and resource manager to "segmentManager" and "resourceManager" in all places, for consistency svn-id: r43722
2009-08-25SCI: Fix interpretation of ShowMovie speed argument.Walter van Niftrik
svn-id: r43718
2009-08-24SCI: Reverted r40889. New fix for window erasing issue in SCI1.1 games.Walter van Niftrik
svn-id: r43711
2009-08-24Show if a game is using EGA graphics or not in the detected entryFilippos Karapetis
svn-id: r43699