aboutsummaryrefslogtreecommitdiff
path: root/scumm/object.cpp
AgeCommit message (Collapse)Author
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
2004-09-06HE 72+ games use a remove object from queue function.Travis Howell
svn-id: r14916
2004-09-05Added BMAP support in objects.Eugene Sandulenko
Though I didn't test it as I don't know when it is used. Please, tell me when you'll see warning that it is called. Now we have BMAP for all cases in HE 70+ games. svn-id: r14911
2004-09-02HE games don't mask.Travis Howell
svn-id: r14863
2004-08-27Added support for ImageHeader version 800, used by the COMI demo (inspired ↵Max Horn
by cyx' work, see RFE #690559: support comi demo) svn-id: r14798
2004-08-23A few changes for freddemoTravis Howell
svn-id: r14693
2004-08-22Cursor code cleanupMax Horn
svn-id: r14690
2004-08-14Modified VirtScreen to inherit from Graphics::Surface, and added ↵Max Horn
getPixels()/getBackPixels() accessors (these changes make it a bit easier to implement smooth scrolling); also replaced some uses of rtBuffer by proper access through the corresponding VirtScreen svn-id: r14612
2004-06-24Fix mouse cursors hotspot in HE games.Travis Howell
HE games don't change cursor hotspot, when changing cursor image. svn-id: r14027
2004-06-21Leave as warning for nowTravis Howell
svn-id: r13992
2004-06-21Add some missing codeTravis Howell
svn-id: r13990
2004-06-13Applied my suggested fix for bug #960674, now that Fingolfin has had theTorbjörn Andersson
chance to look at it. svn-id: r13957
2004-03-17Fix for bug #893254 (MI1VGA: Changes in object names are not saved); this ↵Max Horn
may introduce regressions, please report them (overall, this is a neat patch, it removes so many ugly hacks :-) svn-id: r13325
2004-03-01Update comment on runInventoryScript() argument in setOwnerOf().Eugene Sandulenko
svn-id: r13125
2004-03-01Got rid of the Sam & Max inventory hack. This fixes at least one aspect ofTorbjörn Andersson
bug #907113. See also bug #493153 for the origins of the hack. It would be very nice if we could get this fix into 0.6.0 as well, because bug #907113 crashes ScummVM for reasons which escape me. But someone will have to verify that the fix is correct first. Pretty please...? svn-id: r13124
2004-02-18Change debugs back to warnings (As requested)Travis Howell
svn-id: r12931
2004-02-15Add back fix for bug #738352 and restrict to needed games only (Checked ↵Travis Howell
against disasm.) svn-id: r12905
2004-02-13Switch warnings to debugTravis Howell
svn-id: r12847
2004-01-19moved the sam&max inventory hack into o6_setOwnerMax Horn
svn-id: r12520
2004-01-16Revert Fix for bug #738352 (DIG: Cursor image appears in upper left corner) ↵James Brown
- Fingolfin's commit and revision 1.162. Causes regressions such as Sam and Max bug #877798 (Inventory display glitches). Max - Sam and Max has the most complex usage of flObjects of most games, so if you want to test for regressions with these kind of changes it's your best bet :) svn-id: r12425