aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/resource.cpp
AgeCommit message (Collapse)Author
2008-09-30Added multiple new open() methods to Common::File, which make it possible to ↵Max Horn
use this class as a generic convenience wrapper around all kinds of SeekableReadStream; also renamed the name() method to the less confusing getName() svn-id: r34696
2008-09-07Replaced Engine::_gameDataPath (a String) by Engine::_gameDataDir (an ↵Max Horn
FSNode); adapted code to that (by using getChild() to get subdirs, not string concatenation svn-id: r34434
2008-09-06ScummFile: Don't use the File::_ioFailed flag, rather track the io status ↵Max Horn
separately; also, changed eof() -> eos() svn-id: r34389
2008-09-01Merging more of the GSoC 2008 RTL branch: SCUMMMax Horn
svn-id: r34253
2008-08-29Made out-of-memory error in SCUMM a bit more verboseMax Horn
svn-id: r34201
2008-08-04Merged revisions ↵Christopher Page
33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446,33452-33453,33455-33459,33463-33464,33466-33471,33473-33474,33478,33490,33492,33495-33496,33509-33512,33518-33519,33522-33527,33529-33530,33537,33541,33544,33546,33550,33552-33554,33556,33558,33561-33562,33565,33568,33570,33574,33576,33578-33581,33584-33587,33590,33596,33604-33611,33614-33615,33617-33618,33620-33621 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33624
2008-07-29Changed class File (and derived classes) to only support read-only access; ↵Max Horn
added a new class DumpFile for writing svn-id: r33412
2008-07-11SCUMM works with new GMM implementationChristopher Page
svn-id: r33001
2008-05-06Allow static and dynamic plugins to be used at the same timeJordi Vilalta Prat
svn-id: r31888
2007-12-27Enable Windows version of early HE games by default, to match already ↵Travis Howell
enabled 3DO/DOS/Macintosh versions of early HE games. Adding only the minimum code required for HE70 games. svn-id: r30011
2007-12-24cleanupMax Horn
svn-id: r29974
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-11Adding various FIXME comments to bogus (non-self-explanatory) existing FIXME ↵Max Horn
comments; and some other related cleanup svn-id: r28890
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