aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
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
2009-08-24More work on the fallback detector: added detection of CD games and ↵Filippos Karapetis
prevented a crash when detecting a SCI32 game if SCI32 isn't compiled in svn-id: r43698
2009-08-24- Removed the code which reads the SCI version string from the game ↵Filippos Karapetis
executable in the fallback detector. We no longer use the actual SCI version string, and we can auto-detect a lot of features from the game resources now. The EXE version string was only used to display the detected SCI version in the console, which isn't very useful to us anymore. - Added detection for PC and Amiga versions based on the game's detected view types. Still need to do detection for Mac and Atari ST versions svn-id: r43683
2009-08-24Move detection tables to separate file.Eugene Sandulenko
svn-id: r43682
2009-08-24SCI: Read class table from vocab resource instead of scanning. This fixesWalter van Niftrik
several "invalid selector" VM crashes caused by duplicate classes. svn-id: r43680
2009-08-23- Added more mappings from Sierra's internal IDs to our own ones. Hopefully, ↵Filippos Karapetis
all SCI0-SCI11 games can now be detected correctly from the fallback detector - Simplified some checks for old script types svn-id: r43678
2009-08-21Fix use of default directories in SCI detection code. So far all our ↵Johannes Schickel
detection code was based on FSNode, but since SCI seems to call engine internal code for detection which operates via File, there was the need to use File::addDefaultDirectory to have it working. The problem here is that the default directories are not reset after game detection, since the caller code assumes it's all done via FSNode. A simple change to use SearchMan, which is used internally by File, to add the default directory and removing it later on in the SCI detection code fixed the issue. Of course that is still slightly of a HACK, but it is much nicer than to rewrite engine internal code to use FSNode, just to be usable for game detection. I added a possible solution to remove the HACK as sourcecode comment. svn-id: r43613
2009-08-21Fix detection of some later SCI32 games (RESMAP.001) and some cleanup.Matthew Hoops
svn-id: r43608
2009-08-21Renamed ENABLE_RGB_COLOR to USE_RGB_COLOR, and added it to config.h to ↵Andre Heider
guarantee a consistent build. svn-id: r43604
2009-08-21Fix detection of SCI32 resource maps and volumesMatthew Hoops
svn-id: r43603
2009-08-21SCI: disable RGB mode, as it's not ready to be used yetWillem Jan Palenstijn
svn-id: r43600
2009-08-21Merged RGB color API and support in from /scummvm/branches/gsoc2009-16bit/Jody Northup
svn-id: r43577
2009-08-21Truly fix endianness in the SOL decoder. Raw sounds are always in little ↵Matthew Hoops
endian order and now compressed are outputted to little endian too (and therefore the little endian mixer flag is always set). svn-id: r43576
2009-08-20SCI: Fix for the "Memory fragmented" dialogs popping up in some games.Walter van Niftrik
svn-id: r43572
2009-08-20remove \n's from error() callsJoost Peters
svn-id: r43571
2009-08-20Fix 16-bit SOL audio on little endian systems. Fixes the white noise in the ↵Matthew Hoops
Gabriel Knight demo. svn-id: r43569
2009-08-20remove \n's from warning() callsJoost Peters
svn-id: r43567
2009-08-20Add a static selector table for use with the lsl5 demo.Matthew Hoops
svn-id: r43566
2009-08-20Add detection for the QFG2 demo.Matthew Hoops
svn-id: r43565
2009-08-20Remove useless include guardMatthew Hoops
svn-id: r43564
2009-08-19SCI: Don't dither in SCI.Walter van Niftrik
svn-id: r43550
2009-08-19SCI: Add partial support for Amiga SCI1 games.Walter van Niftrik
svn-id: r43549
2009-08-19SCI: Cleanup.Walter van Niftrik
svn-id: r43548