aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/scicore
AgeCommit message (Collapse)Author
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
2009-03-09SCI: result_word_t -> ResultWord; switched to Common::List for storing lists ↵Max Horn
of ResultWords svn-id: r39278
2009-03-08Added more missing NULLingSven Hesse
svn-id: r39246
2009-03-08Restore potentially useful info deleted in r39188Willem Jan Palenstijn
svn-id: r39228
2009-03-08SCI: Changed suffix list to be stored as a Common::List; also fixed ↵Max Horn
spelling: suffices -> suffixes svn-id: r39214
2009-03-08SCI: Renamed vocab.cpp to vocabulary.cpp, to match the name of the header fileMax Horn
svn-id: r39213
2009-03-08SCI: replaced get_int_16 by READ_LE_UINT16, and got rid of inverse_16Max Horn
svn-id: r39212
2009-03-08SCI: Added new header gfx/font.h and removed some dead codeMax Horn
svn-id: r39211
2009-03-07Replaced getInt16, getUInt16 and putInt16Filippos Karapetis
svn-id: r39189
2009-03-07Removed unused codeFilippos Karapetis
svn-id: r39188
2009-03-07Fixed crash when reading some SCI1 resource mapGreg Frieger
svn-id: r39185
2009-03-07Added detection of SCI1.1 and SCI32 resource volumesGreg Frieger
svn-id: r39175
2009-03-07Merged scicore/resource_map.cpp and scicore/resource_patch.cpp to ↵Greg Frieger
scicore/resource.cpp because these remaining functions are members of ResourceManager svn-id: r39172
2009-03-07Cleaned / reworked readResourceMapSCI0 and readResourceMapSCI1Greg Frieger
Removed unused functions and #defines svn-id: r39171
2009-03-07Use map/volume versions from detection.cpp if setGreg Frieger
svn-id: r39170
2009-03-07Map/volume loader and version detection functions cleaned and reworked.Greg Frieger
Autodetection still misdetects some SCI1/SCI1.1 games though. svn-id: r39169
2009-03-06Cleanup and unification. Merged decryptinit3() inside decrypt3() Filippos Karapetis
svn-id: r39155
2009-03-05- Change Resource::LRU to use Common::ListGreg Frieger
- Real patch filename stored and used instead of calling patch_sprintf_funct() - some fprintf()s replaced with debug() and warning() svn-id: r39140
2009-03-05Removed Resource.location_dir_nameGreg Frieger
svn-id: r39139
2009-03-05readResourcePatchesSCI0 and readResourcePatchesSCI1 merged. Some clean-upsGreg Frieger
svn-id: r39138
2009-03-05Added a missing NULLingSven Hesse
svn-id: r39134
2009-03-04SCI: Moved script.cpp from scicore/ to engine/ (because its header file is ↵Max Horn
there, and it seems its funcs are only called from stuff in engine/) svn-id: r39108
2009-03-04SCI: Reduce header interdepsMax Horn
svn-id: r39107
2009-03-04SCI: cleanupMax Horn
svn-id: r39106
2009-03-04SCI: Fix warningsMax Horn
svn-id: r39103
2009-03-03- ResourceManager uses HashMap to store and access resource info.Greg Frieger
- Changes and clean-ups in resource loading code. svn-id: r39098
2009-03-03Merged unpackDCL_hdyn() and unpackDCL() and removed some unused codeFilippos Karapetis
svn-id: r39093