Commit Graph
22 Commits
Author SHA1 Message Date
Johannes Schickel 3847465163 SCUMM: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
Travis Howell fb41b96e96 SCUMM: setOffHeap uses resource status in HE90+ games. 2011-08-28 11:39:05 +10:00
Travis Howell b3457144ed SCUMM: Add basic support for setOffHeap resource flag in HE90+ games. 2011-08-28 10:40:23 +10:00
Max Horn ee9276b816 SCUMM: Fix doxygen comments 2011-06-14 18:52:09 +02:00
Max Horn 9ec64a66fe SCUMM: Turned ResTypeData into a Common::Array<Resource>, subsuming its _resource member 2011-05-13 14:48:01 +02:00
Max Horn cf513e3ed6 SCUMM: Get rid of the unused Resource::_globSize field 2011-05-13 14:40:45 +02:00
Max Horn 1faf89c524 SCUMM: Improve ResTypeData doxygen comments 2011-05-13 14:26:09 +02:00
Max Horn 45207a52d4 SCUMM: Remove ResTypeData::_num 2011-05-13 14:12:00 +02:00
Max Horn 649f8e0a84 SCUMM: Rename ResTypes->ResType, introduce ResId typedef, change code to use both 2011-05-13 14:02:53 +02:00
Max Horn c02420df43 SCUMM: Add a Resource class, refactor res code around it 2011-05-13 11:47:13 +02:00
Max Horn 107e25ff5b SCUMM: Document resource usage count / expiry a little bit 2011-05-13 11:47:12 +02:00
Max Horn 82a6f2ee3c SCUMM: Rename ResTypeData::tag to _tag, get rid of ResTypeData::name 2011-05-13 11:47:11 +02:00
Max Horn 0342ab3f1b SCUMM: Rename ResTypeData::num to _num 2011-05-13 11:47:11 +02:00
Max Horn 75b9deb185 SCUMM: Get rid of the MemBlkHeader hack
This uncovered at least one potentially serious bug in the inventory
code, which still needs to be investigated and fixed.
2011-05-13 11:47:10 +02:00
Max Horn 0af2f71c71 SCUMM: Clean up ResourceManager initialization 2011-05-13 11:47:10 +02:00
Max Horn 26efa39d2c SCUMM: Document and cleanup resource type mode 2011-05-13 11:47:09 +02:00
Max Horn 45e65d7ea0 SCUMM: Refactor how resource (types) are srepresented
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-13 11:47:08 +02:00
Max Horn b37463fe59 SCUMM: Move class ResourceManager to its own header 2011-05-13 11:47:08 +02:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn 218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Torbjörn Andersson a1a16d1579 Use consistent naming for the preprocessor constants used to guarantee that
header files are only included once. Many of them didn't have a SCUMM prefix
which could have lead to clashes with common header files.

svn-id: r25727
2007-02-19 17:48:19 +00:00
Max Horn 26ee630756 Moved engines to the new engines/ directory
svn-id: r20582
2006-02-11 22:45:04 +00:00