aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/resource_v4.cpp
AgeCommit message (Collapse)Author
2011-05-13SCUMM: Turned ResTypeData into a Common::Array<Resource>, subsuming its ↵Max Horn
_resource member
2011-05-13SCUMM: Remove ResTypeData::_numMax Horn
2011-05-13SCUMM: Rename resTypeFromId -> nameOfResTypeMax Horn
2011-05-13SCUMM: Rename ResTypes->ResType, introduce ResId typedef, change code to use ↵Max Horn
both
2011-05-13SCUMM: Add a Resource class, refactor res code around itMax Horn
2011-05-13SCUMM: Rename ResTypeData::num to _numMax Horn
2011-05-13SCUMM: Refactor how resource (types) are srepresentedMax Horn
Previously, we had a couple of arrays of size N (where N = number of resource types), one for each attribute of a resource type (such as as the number of resources of that type. Now, we have one array of size N, whose elements are a record aggregating all the attributes of each resource type.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-05SCUMM: Move _heV7RoomIntOffsets from ScummEngine to ScummEngine_v70heMax Horn
2009-10-08The layout of global object data is different in the PCE version of Loom.Travis Howell
svn-id: r44779
2009-07-20Make ScummFile::eos() consistent with Stream::eos().Willem Jan Palenstijn
Remove usage of ioFailed from SCUMM engine. Fix reading up to the end of a SCUMM SubFile. This hopefully fixes #2820957. svn-id: r42632
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2009-03-20SCUMM: Split intern.h into multiple headersMax Horn
svn-id: r39567
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
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
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
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-07-05Fix bug #1515345 - INDY3 (FM-TOWNS): Black screen upon start (Amiga)Travis Howell
svn-id: r23372
2006-03-03Moved ScummFile etc. to the new file.cpp / file.hMax Horn
svn-id: r21038
2006-02-25Got rid of the 'tag' parameter for readResTypeList()Max Horn
svn-id: r20864
2006-02-20Replaced _gameId, _version, _heversion, _features, _midi, _platform with a ↵Max Horn
simple ScummGameSettings instance: _game svn-id: r20795
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582