aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/scicore/resource.h
AgeCommit message (Collapse)Author
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-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-11SCI: Formatting changes (using astyle)Max Horn
svn-id: r39325
2009-03-10Resource decompression functions moved to scicore\decompressor.cpp and ↵Greg Frieger
turned into classes. svn-id: r39311
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-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-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-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-02Gave decompression methods more descriptive names. Some cleanupFilippos Karapetis
svn-id: r39082
2009-02-28SCI: Use the ResourceType enum instead of integers where it makes senseJordi Vilalta Prat
svn-id: r38988
2009-02-28SCI: Renamed ResourceManager::sci_version to _sciVersion, to avoid var ↵Max Horn
shadowing warnings; some other tweaks svn-id: r38984
2009-02-28resource_t struct replaced with stub Resource class for future objectifying. ↵Greg Frieger
Also the crash when exiting SCI1 games was fixed svn-id: r38982
2009-02-28Turned ResourceManager into a class, along with all related functionsGreg Frieger
svn-id: r38978
2009-02-27Fix code formattingEugene Sandulenko
svn-id: r38930
2009-02-27SCI: Moved almost all files from include/ to other dirs; only ↵Max Horn
include/engine.h remains svn-id: r38920