aboutsummaryrefslogtreecommitdiff
path: root/scumm/object.cpp
AgeCommit message (Collapse)Author
2005-04-20Moved v2 verb code into class ScummEngine_v2Max Horn
svn-id: r17725
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-18OoopsTravis Howell
svn-id: r17665
2005-04-18OoopsTravis Howell
svn-id: r17664
2005-04-18Add work around for inveotry background/items in putttime/puttzoo not always ↵Travis Howell
been drawn. svn-id: r17663
2005-04-17Move stuff aroundMax Horn
svn-id: r17661
2005-04-17New virtual method getObjectIdFromOBIMMax Horn
svn-id: r17660
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-10Init _numObjectsInRoom in another spotMax Horn
svn-id: r17499
2005-04-09Fix check of the return value of findLocalObjectSlot() in loadFlObject()Max Horn
svn-id: r17473
2005-04-08Patch from Quietust.Eugene Sandulenko
Do not let invenotry arrows in MM NES trigger inventory script svn-id: r17453
2005-04-08Change from Quietust:Travis Howell
-Fix inventory in NES version of maniac svn-id: r17447
2005-04-06Moved createResource, resourceStats, expireResources to ResourceManagerMax Horn
svn-id: r17420
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-04-03ScummEngine_v4 used to be a subclass of ScummEngine_v3, now it is the other ↵Max Horn
way around; added a new class ScummEngine_v3old, for GF_OLD_BUNDLE games; took advantage of the new inheritance structure and turned various methods into virtual methods which then are overriden in subclasses svn-id: r17346
2005-04-01Turned setupRoomObject into a virtual methodMax Horn
svn-id: r17326
2005-04-01A random object state is possible in scumm7 too.Travis Howell
svn-id: r17324
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-28Cleaned up the object mode code; removed the friend class ScummEngine from ↵Max Horn
class Gdi; moved dither code to ScummEngine svn-id: r17277
2005-03-28Fix for bug #1172037 (MANIAC v2: crash on mansion (regression))Max Horn
svn-id: r17275
2005-03-28findObject in HE72+ only checks object boundsTravis Howell
findObject in He70/71 only needs additional polygon check svn-id: r17270
2005-03-25Cleanup: collect the C64 specific render data into a struct inside class GdiMax Horn
svn-id: r17224
2005-03-16Patch from Quietust. Proper drawing of objects and fixes to inventory.Eugene Sandulenko
svn-id: r17162
2005-03-13A few extra bitsTravis Howell
svn-id: r17110
2005-03-12Add missing case for getObjectDataTravis Howell
svn-id: r17109
2005-03-11Mass-renamed all variables of Actor object according to our current codeEugene Sandulenko
formatting standards. Earlier we had half of vars named with leading underscore and half without it. Now code in actor.cpp is considerably more readable. svn-id: r17068
2005-02-15Fix crash in updated Russian freddi1.Eugene Sandulenko
svn-id: r16795
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-10-08Use image header to detect presence of the V8 flags field; rewrote that ↵Max Horn
flags field to load the ObjectData.flags field differently; added a comment in saveload.cpp since we are not yet saving ObjectData.flags svn-id: r15479
2004-10-08Restrict to full game, since it doesn't exist in demo.Travis Howell
svn-id: r15467
2004-10-07Use proper range for the (screen/local) strip valuesMax Horn
svn-id: r15453
2004-10-07Fix blast object drawing glitches introduced by the smooth scrolling changes ↵Max Horn
(were visible with the inventory in The Dig) svn-id: r15449
2004-10-07Simplify calling drawBomp a littlMax Horn
svn-id: r15448
2004-10-07I don't know if it matters, but I'll feel safer if we initialise maskPtr...Torbjörn Andersson
svn-id: r15446
2004-10-07Correct values.Travis Howell
svn-id: r15445
2004-09-27Revert, just made matters worse.Travis Howell
svn-id: r15306
2004-09-27tentacle (and maybe others) were reading too far.Travis Howell
Hopefully this way will work better. svn-id: r15305
2004-09-26Use enums instead of hard coding assumptions about their values (i.e. 1 in ↵Max Horn
this case) svn-id: r15294
2004-09-26Add HE object flag supportTravis Howell
svn-id: r15292
2004-09-26Correction.Travis Howell
svn-id: r15290
2004-09-26flag computation makes no sense; the whole thing looks quirky :-/Max Horn
svn-id: r15289
2004-09-26OoopsTravis Howell
svn-id: r15286
2004-09-26COMI reads object flag from headers, it doesn't use useOrDecompress at all.Travis Howell
svn-id: r15285
2004-09-24More V7_SMOOTH_SCROLLING_HACK related fixesMax Horn
svn-id: r15250
2004-09-21More cleanupMax Horn
svn-id: r15223
2004-09-19Removed some not necessary #defines which could (and did) lead to programEugene Sandulenko
logic misinterpretation. I assume these were added for readability, but (a) names suggestet that they're class variables but they didn't (b) their use wasn't consistent, i.e. there were places where variables were used directly, not by means of the macros (c) they didn't save that much space because they are used in few places. svn-id: r15179
2004-09-18Rename some member vars to avoid _ followed by an uppercase letter. More of ↵Max Horn
those are left in the code, though (and I am not really sure whether we want to change that, so far we had no problems caused by this) svn-id: r15175
2004-09-12Correct variable nameChris Apers
svn-id: r15025
2004-09-06fix compiler warnings, including a if (foo = bar) occuranceJonathan Gray
svn-id: r14927