aboutsummaryrefslogtreecommitdiff
path: root/scumm/resource.cpp
AgeCommit message (Collapse)Author
2005-05-14Improvements to --disable-* stuff. Now less ugly #ifdefs with #includes.Eugene Sandulenko
svn-id: r18100
2005-05-14Added --disable-hq and --disable-scumm-7-8 options. Also improvedEugene Sandulenko
DISABLE_HE so more HE-specific code gets excluded. svn-id: r18099
2005-05-14Add configure option to disable HE 70+ games.Travis Howell
svn-id: r18091
2005-05-13Check if charset is been used, before expiring the resource.Travis Howell
svn-id: r18081
2005-05-10Moved class File and the MD5 stuff to namespace CommonMax Horn
svn-id: r18037
2005-05-10Add heversions for dutch versions.Travis Howell
Add dutch freddi1 svn-id: r18023
2005-04-23Don't use Common::Map for the object table at all; rather use bsearch on a ↵Max Horn
fixed size table. svn-id: r17777
2005-04-20Renamed _mouseButStat -> _mouseAndKeyboardStat (that's what it really is); ↵Max Horn
moved _audioNames to class IMuseDigital svn-id: r17723
2005-04-20Replaced the platform specific GF_FOO switches (using _platform instead now)Max Horn
svn-id: r17716
2005-04-20Replace all GF_HUMONGOUS use with _heversion.Travis Howell
Make HE60 specific to puttdemo, since it is unqie. Other HE60 games changed to HE 61. svn-id: r17698
2005-04-17Split out some index reading code into a new method readIndexBlock()Max Horn
svn-id: r17659
2005-04-16cleanupMax Horn
svn-id: r17623
2005-04-11RNAM block is different in HE games.Travis Howell
svn-id: r17534
2005-04-10cleanupMax Horn
svn-id: r17525
2005-04-10Read the RNAM data (might be useful for debugging)Max Horn
svn-id: r17510
2005-04-10Reduce dependencies on scumm/util.h; modified ScummNESFile a bit so that it ↵Max Horn
complies a bit better with our code formatting rules svn-id: r17508
2005-04-10Don't call allocateArrays from readMAXS, rather call it explicitly after ↵Max Horn
calling readMAXS; init _palManipCounter in the proper place (only needed when restarting); free palManip data on exit svn-id: r17495
2005-04-10Got rid of _dynamicRoomOffsetsMax Horn
svn-id: r17494
2005-04-09Pedantic cleanupMax Horn
svn-id: r17490
2005-04-09Overload getStringAddress in subclasses; moved V6-V8 specific res stuff to ↵Max Horn
resource.cpp svn-id: r17489
2005-04-09Got rid of GF_NEW_OPCODESMax Horn
svn-id: r17488
2005-04-09Simplify the substResFileName system a bitMax Horn
svn-id: r17475
2005-04-06Moved createResource, resourceStats, expireResources to ResourceManagerMax Horn
svn-id: r17420
2005-04-04Cleaning up the charset loading code some moreMax Horn
svn-id: r17367
2005-04-03Splitting more methods into multiple overloaded versionsMax Horn
svn-id: r17366
2005-04-03loadCharset gets overloaded for small header games, so no need to check for ↵Max Horn
those in here svn-id: r17365
2005-04-03Turned readRoomsOffsets into a virtual methodMax Horn
svn-id: r17363
2005-04-03Split readResTypeList into a normal and a GF_OLD_BUNDLE version; added ↵Max Horn
comments to many of the GF_ feature flags; removed GF_DRAWOBJ_OTHER_ORDER (it was only use by Sam&Max, I switched that to a direct check for Sam&Max) svn-id: r17362
2005-03-31Made findResourceSmall local to resource.cpp; simplified _EPAL_offs (since ↵Max Horn
we don't use it nor save it at this time, this is harmless); added a comment about _CLUT_offs ugliness svn-id: r17314
2005-03-31Started to move some resource related code into a new class ResourceManager ↵Max Horn
(hypothetic goal for the future: use ResourceManager in ScummEx) svn-id: r17311
2005-03-30Support for direct reading from NES ROM:Eugene Sandulenko
o extend MemoryReadStream with XOR facility o implement MemoryWriteStream o _fileHandle now is a reference to BaseScummFile class and is created on the fly o implement ScummNESFile class which is basically extract_mm_nes utility o update NES MM md5's due to above changes NOTE: to run MM NES now you need to remove *.LFL files and (probably) rename ROM to standard conventional name 'Maniac Mansion (XXX).nes' svn-id: r17300
2005-03-06Name parameters properly, lest we'll all be confused...Max Horn
svn-id: r17005
2005-03-02Fix room resource loading in Buzzy games.Travis Howell
svn-id: r16972
2005-03-02Fix COMI part III regression, I lost a line.Travis Howell
svn-id: r16967
2005-02-14Add basic support for DISK index block in later HE games.Travis Howell
svn-id: r16784
2005-02-11Turned HE Mac resource filename generator into generall, whole SCUMM-purposeEugene Sandulenko
method. Right now it is used to eliminate those Windows HE titles which have different target base names. If you want to use it, then define another entry in substDataFileNameTable[]. If your version with different base name has other features then you need to define GF_MULTIPLE_VERSIONS for main entry and add any additional entries to multiple_versions_md5_settings based on MD5 of the entry. svn-id: r16764
2005-02-02o Added few targetsEugene Sandulenko
* baseball2003 and Soccer2004 use Bink videos but just for intro movies and logos, so we may add them. * artdemo and readdemo also use Bink, but seems that additionally it uses them in cutscenes, but since there are just few of them, not like in full games, we may try to look at them too * SoccerMLS is (alsmost) working. It runs the intro, shows menu, lets to select from it but then fails at some Wiz stuff and there is no hotspots to choose. I think it may be related to overall HE99 problem with inventory where there is a bug preventing from item selection o baseball2003 and Soccer2004 featured new LECF index block. Add stub for it o SoccerMLS used kernelSetFunction 2001 in intro. add stub for it o Alternative russian freddi3 uses badly formatted logo substitution in intro, so error() in default case in Gdi::drawBMAPBg() was replaced with warning(). svn-id: r16722
2005-01-29Add support for Humongous Mac titles in native format. Please test :)Eugene Sandulenko
svn-id: r16693
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-17Reduce code size of resource.cpp to help PalmOS port, by moving util code to ↵Max Horn
a new file util.cpp and sound resource code to sound.cpp svn-id: r16105
2004-11-27Reduce code duplicationMax Horn
svn-id: r15908
2004-11-27Don't use directory param of File::open unless you have toMax Horn
svn-id: r15904
2004-11-09CleanupChris Apers
svn-id: r15739
2004-10-18_images not required.Travis Howell
Free extra HE resources on exit. svn-id: r15605
2004-10-07Adjusted come commentsMax Horn
svn-id: r15447
2004-10-04Add some HE99 varsTravis Howell
Rename opcodes svn-id: r15403
2004-10-01Definately Palettes.Travis Howell
Update HE todo. svn-id: r15369
2004-09-30OooopsTravis Howell
svn-id: r15357
2004-09-30Add some extra cases/opcodes for lost/smaller.Travis Howell
Add work around for paths svn-id: r15356
2004-09-30Actually always stored in indexTravis Howell
svn-id: r15355