aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/scicore
AgeCommit message (Collapse)Author
2009-05-13- Simplified SCI version detection a bit and clarified the different version ↵Filippos Karapetis
feature flags (not used yet) - Removed the version verification functions (they were only used for two specific cases, but the SCI executable reader is able to detect the exact SCI game version anyway, so there is no point in having these) - Removed the empty GameFlags structure and replaced it with a 32-bit integer instead svn-id: r40524
2009-05-12SCI: Removed sci_memory.h/.cppMax Horn
svn-id: r40514
2009-05-12Rearranged all the different version checks based on SCI version in ↵Filippos Karapetis
versions.h, and added some WIP and unused game flags, which will hopefully replace the SCI version numbers svn-id: r40509
2009-05-12Performed some cleanup on the different version checksFilippos Karapetis
svn-id: r40499
2009-05-12SCI: Merged Message() and GetMessage(). Set SCI1.1 to use SCI1 kernel table ↵Walter van Niftrik
(for now). svn-id: r40481
2009-05-12Replaced sci_hexdump() with Common::hexdump()Filippos Karapetis
svn-id: r40472
2009-05-11SCI: Hacked stuff up so that debugger commands also print on the GUI consoleMax Horn
svn-id: r40460
2009-05-11SCI: Hook FreeSCI console commands into the ScummVM console (incomplete as ↵Max Horn
of now, because printf output is not yet redirect to the GUI console) svn-id: r40459
2009-05-11SCI: Replace global vars cmd_paramlength & cmd_params by ↵Max Horn
Common::Array<cmd_param_t> param to console hook commands svn-id: r40452
2009-05-11SCI: Reduced header depsMax Horn
svn-id: r40451
2009-05-10Disabled some unused codeFilippos Karapetis
svn-id: r40411
2009-04-25SCI: DoSync should work now, but the lip-syncing mechanism also needs DoAudioWalter van Niftrik
(currently stubbed), so it hasn't been tested yet. so it hasn't been tested yet. svn-id: r40147
2009-04-25WIP (still non-working) code for speech sync in CD talkie games (like e.g. ↵Filippos Karapetis
KQ5 CD and SQ4 CD), taken from Greg's SCI implementation. svn-id: r40142
2009-04-24SCI: Fixed mouse cursor hotspots in ECO1.Walter van Niftrik
svn-id: r40110
2009-04-24SCI: Some const corrections, removed dead stuff, cleanupMax Horn
svn-id: r40101
2009-04-24SCI: Store parse_tree_branch_t in a Common::ArraayMax Horn
svn-id: r40100
2009-04-23Changed the "Intersections" opcode to "MoveCursor", after verifying it with ↵Filippos Karapetis
Greg's SCI implementation and discussing it with waltervn. Also, the cursor hotspot is now fixed for Eco Quest 1 and probably SCI11 games as well (e.g. the game menu in KQ6 is now working) svn-id: r40096
2009-04-22SCI: getInt -> READ_LE_UINT16Max Horn
svn-id: r40079
2009-04-22SCI: Changed knames (kernel function name table) to Common::StringListMax Horn
svn-id: r40078
2009-04-20SCI: cleanupMax Horn
svn-id: r40029
2009-04-07SCI: Do not skip last entry in kernel table for SCI1.Walter van Niftrik
svn-id: r39895
2009-04-07SCI: Swapped x and y parameters of IsItSkip. Added IsItSkip to kernel table.Walter van Niftrik
svn-id: r39894
2009-04-07SCI: Fix endian-unsafe read [bug #2739122 ]Willem Jan Palenstijn
svn-id: r39891
2009-04-03Changed some references from "FreeSCI" to "SCI" or "ScummVM"Filippos Karapetis
svn-id: r39807
2009-03-30This should really fix the issues with vobab.999/999.voc in SCI1 games (e.g. ↵Filippos Karapetis
KQ5) svn-id: r39768
2009-03-30Ignore the unreliable resource vocab.999 in SCI1 games. This allows us to ↵Filippos Karapetis
use the hardcoded table in vocabulary_get_knames1() instead (also check commit #39694). KQ5 floppy works now without FreeSCI's custom vocabulary file svn-id: r39766
2009-03-30Fixed compilationFilippos Karapetis
svn-id: r39751
2009-03-30Wrapped all the still WIP SCI32-specific code around appropriate ifdef ↵Filippos Karapetis
blocks. SCI32 has fundamental differences from previous SCI versions (e.g. direct point addressing is no longer possible), most of SCI32 games use SVGA resolutions and currently a lot of SCI32 specific code is missing (like, for example, the newer string and array handling functions, the widget system etc). This has been done in the same manner as in the SCUMM and SAGA engines. svn-id: r39750
2009-03-26SCI: Match signature of readResourceMapSCI0 and readResourceMapSCI1 (helpful ↵Max Horn
if we ever want to turn this into overloaded methods of ResourceManager subclasses, one subclass for each SCI version) svn-id: r39701
2009-03-25SCI: Cleaned up the decompressor comments and code a little bitMax Horn
svn-id: r39698
2009-03-25Use the default kernel vocabulary names for SCI1 games, instead of reading ↵Filippos Karapetis
the unreliable (in SCI1 games) 999.voc resource. KQ5 and EcoQuest 1 now work properly, and all other SCI1 games seem to be unaffected and working with this change. If there's any SCI1 game with different kernel vocabulary names, we can add special flags to it to our detector, so this change fixes more than it breaks :) svn-id: r39694
2009-03-24SCI: Rewrote vocabulary code to use a Common::HashMap<String,ResultWord>Max Horn
svn-id: r39671
2009-03-24SCI: Changed vocab_tokenize_string to not 'return' the list it generates, ↵Max Horn
but rather pass a reference to an existing list to it (this is a bit more efficient, and allows us to return an error value) svn-id: r39670
2009-03-24SCI: Turned synonyms list into a Common::ListMax Horn
svn-id: r39669
2009-03-14SCI: Fixed warningMax Horn
svn-id: r39400
2009-03-14- LZS Decompressor addedGreg Frieger
- Some code clean-up svn-id: r39385
2009-03-14Fixed SCI32 Map detectionGreg Frieger
svn-id: r39384
2009-03-14Some rewrites and clean-ups in decompressing functions. View and Pic ↵Greg Frieger
post-processing functions reverted back to FreeSCI ones. svn-id: r39383
2009-03-13Applied gregfrieger's fix on decodeRLE()Filippos Karapetis
svn-id: r39367
2009-03-11ResourceManager: Greg Frieger
- RESOURCE.MSG and MESSAGE.MAP added to source List - Small changes in patch processing code to avoid loading wrong files svn-id: r39345
2009-03-11ResourceManager: Greg Frieger
- Keep a list of opened volumes to avoid redundant file opens - Internal functions moved from public to protected svn-id: r39334
2009-03-11Formatting.Johannes Schickel
svn-id: r39330
2009-03-11More clean-ups in decompression classesGreg Frieger
svn-id: r39329
2009-03-11SCI: Formatting changes (using astyle)Max Horn
svn-id: r39325
2009-03-11SCI: Fix warningMax Horn
svn-id: r39324
2009-03-11Some clean-up of DecompressorComp3 classGreg Frieger
svn-id: r39323
2009-03-10Yet another few tiny formatting fixes.Johannes Schickel
svn-id: r39320
2009-03-10Formatting.Johannes Schickel
svn-id: r39319
2009-03-10Made Decompressor's destructor virtual. (fixes compilation and should fix ↵Johannes Schickel
possible leaks) svn-id: r39318
2009-03-10Resource decompression functions moved to scicore\decompressor.cpp and ↵Greg Frieger
turned into classes. svn-id: r39311