aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/resource.cpp
AgeCommit message (Collapse)Author
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-04-01Reverted my roomoffs changes (broke the Loom intro), and instead added the ↵Max Horn
constant RES_INVALID_OFFSET to indicate an invalid room offset svn-id: r26353
2007-03-31Got rid of some 0xFFFF -> 0xFFFFFFFF conversions and similiar nonsense by ↵Max Horn
using a clever technique called 'signed ints' for room offsets (and this won't cause any regressions; any you may encounter are merely the products of a deranged imagination) svn-id: r26331
2007-02-24Removed the (useless, thanks to resTypeFromId) 'name' parameter from ↵Max Horn
readResTypeList svn-id: r25828
2007-02-24SCUMM: cleanup (moved small header specific code from ↵Max Horn
ScummEngine::readResTypeList to ScummEngine_v4::readResTypeList) svn-id: r25827
2007-02-23Modify ScummEngine::getResourceSize to assert if called on a missing ↵Max Horn
resource, instead of trying to read from high memory svn-id: r25806
2007-02-17Removed some dead code, updated a warning messageMax Horn
svn-id: r25662
2006-10-20SCUMM: ArrayHeader related cleanupMax Horn
svn-id: r24395
2006-09-23Removed CHECK_HEAPMax Horn
svn-id: r23979
2006-09-17Moved stored flobjects to class ScummEngine_v70heMax Horn
svn-id: r23924
2006-09-17Renamed ScummEngine::res to _res and allocate the ResourceManager on the ↵Max Horn
heap (i.e. _res is a pointer now) svn-id: r23922
2006-09-16Replaced checkRange by assertRange, which has (a) an (IMO) more logical ↵Max Horn
order of parameters, and (b) removes lots of useless duplicate information in error messages svn-id: r23885
2006-09-09Moved allocResTypeData from ScummEngine to ResourceManager; removed friend ↵Max Horn
declarations from ResourceManager, and performed other minor tweaks svn-id: r23856
2006-09-09Moved _heV7RoomIntOffsets initializationMax Horn
svn-id: r23855
2006-04-23Detect (and error out) if readMAXS failsMax Horn
svn-id: r22120
2006-04-23Added a comment regarding COMI disc changingMax Horn
svn-id: r22117
2006-04-23Modified openFile and openResourceFile to take a Common::String instead of a ↵Max Horn
char pointer svn-id: r22112
2006-04-23Behold, the new SCUMM detector finally has arrived. Unified detection & ↵Max Horn
engine instantiation, reduced code duplication, more powerful detection in case MD5 is not known / can't be computed, and many other nifty improvements. svn-id: r22110
2006-04-23Replaced _demoMode by GF_DEMOMax Horn
svn-id: r22087
2006-04-19Added a small comment to ScummEngine::openRoom that explains why we check ↵Max Horn
for room==0 instead of just using it as-is svn-id: r22038
2006-04-14Yes, it is really necessry to compute a special 'disk number' here (in fbear ↵Max Horn
at least) svn-id: r21882
2006-04-14Changed File::open to take a Common::String as file name parameterMax Horn
svn-id: r21867
2006-04-11Rearranged code in ScummEngine::openRoom a bit, to separate the filename ↵Max Horn
generation from other things svn-id: r21813
2006-04-10Removing dummy code from resource.cppMax Horn
svn-id: r21769
2006-03-28Renamed various container isEmpty() methods to empty() to match STL conventionsMax Horn
svn-id: r21472
2006-03-26Reduce size of saved games for HE games, music/speech resources don't need ↵Travis Howell
to be saved svn-id: r21456
2006-03-08Fixed tons of format string warnings for debug/error calls (including ↵Max Horn
several errors where the format string didn't match the number of arguments to the call) svn-id: r21141
2006-03-04Older naming style only used by PC version of FT demoTravis Howell
svn-id: r21070
2006-03-04Slightly clarified an odd subcase in ScummEngine::openRoomMax Horn
svn-id: r21068
2006-03-04This particular case in ScummEngine::openRoom only occurs for V4 games; ↵Max Horn
changing the check accordingly, to ease future refactoring svn-id: r21063
2006-03-04Renamed SubstResFileNames::winName and macName to almostGameID / ↵Max Horn
expandedName (the old names were misleading; the new ones aren't great either :) svn-id: r21062
2006-03-03Moved ScummFile etc. to the new file.cpp / file.hMax Horn
svn-id: r21038
2006-02-26CleanupMax Horn
svn-id: r20949
2006-02-25Remove the dummy index 0 entry from substResFileNameTableMax Horn
svn-id: r20898
2006-02-25Split SCUMM's generateSubstResFileName into two functions: ↵Max Horn
findSubstResFileName and applySubstResFileName svn-id: r20879
2006-02-25Replaced some more MKIDs by MKID_BE; this then enabled me to remove ↵Max Horn
ScummEngine::fileReadDword() svn-id: r20865
2006-02-25Got rid of the 'tag' parameter for readResTypeList()Max Horn
svn-id: r20864
2006-02-25Replaced MKID by MID_BE in most places in the SCUMM engineMax Horn
svn-id: r20862
2006-02-20Moved iMUSE code to the new directory engines/scumm/imuse/Max Horn
svn-id: r20801
2006-02-20Replaced _gameId, _version, _heversion, _features, _midi, _platform with a ↵Max Horn
simple ScummGameSettings instance: _game svn-id: r20795
2006-02-15Read correct index by block size in HE games again, to help track down ↵Travis Howell
unknown versions. svn-id: r20709
2006-02-15Moved all he-specific source files to engines/scumm/he/ subdirectoryEugene Sandulenko
svn-id: r20696
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582