aboutsummaryrefslogtreecommitdiff
path: root/scumm/object.cpp
AgeCommit message (Collapse)Author
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
2004-01-11stupid me shouldn't write fixes, then in the last minute decide to put them ↵Max Horn
into another place, then commit it before recompiling once more <sigh> svn-id: r12329
2004-01-11Fix for bug #738352 (DIG: Cursor image appears in upper left corner): don't ↵Max Horn
draw flObjects in drawRoomObject(); this may cause regressions (I think it would be helpful to compile a list of some/many/all flObjects in all games, that would really help with debugging them :-) svn-id: r12328
2004-01-11cleanupMax Horn
svn-id: r12327
2004-01-11changed the name of the former removeObjectFromRoom yet again, to ↵Max Horn
markObjectRectAsDirty - that describes its functionality more accurately, I hope :-) svn-id: r12326
2004-01-11renamed removeObjectFromRoom to forceObjectRedrawMax Horn
svn-id: r12325
2004-01-08more cleanupMax Horn
svn-id: r12234
2004-01-08cleanup (make some more use of class Common::Rect)Max Horn
svn-id: r12232
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2004-01-03renamed updateDirtyRect to markRectAsDirty (because that's what it really ↵Max Horn
does); used virtual screen id constants in more places svn-id: r12122
2003-12-26got rid of those _maxFOO macros, replaced them by access to the equivalent ↵Max Horn
_numFOO variables svn-id: r11953
2003-12-25_inventory was sometimes accessed one-based and sometimes zero-based -> ↵Max Horn
always use zero-base, for consistency svn-id: r11925
2003-12-21Fix for bug #847805 (FOA: Assertion failed crash at lava pit)Max Horn
svn-id: r11808
2003-12-11Add option to enable copy protection in SCUMM games, which ScummVM disable ↵Travis Howell
it by default. svn-id: r11571
2003-12-06regression fix (bug #855313)Max Horn
svn-id: r11524
2003-12-06Fix for bug #853874 (ZAK: Can't Give Club in 5.5 build); this may cause ↵Max Horn
regressions, and/or fix other bugs. However, I believe this is the right thing (TM) to do anyway :-) svn-id: r11523
2003-11-16changed some shift operators to *, /Paweł Kołodziejski
svn-id: r11315
2003-11-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11217
2003-10-29Revert since it still doesn't work right, last change stop messages about ↵Travis Howell
needing to go to Seattle. Need to good way to bypass zak copy protection, without issues. svn-id: r11005
2003-10-29Hopefully right this time, last change caused a cheat (Free air travel)Travis Howell
svn-id: r11003
2003-10-03introduced namespace Scumm; made #include statements use scumm/ prefix ↵Max Horn
explicitly svn-id: r10571
2003-10-02renamed class Scumm to ScummEngine (consisten with other engine names; also ↵Max Horn
makes room for a potential 'Scumm' namespace) svn-id: r10549
2003-09-24Whitespace changesTorbjörn Andersson
svn-id: r10390
2003-09-19changed scumm/object.cpp for V1/V2 once again - this time it really should ↵Max Horn
match the original behaviour svn-id: r10306
2003-09-14moved Actor x/y to _pos.x/_pos.y -> this makes it much easier to grep for ↵Max Horn
access of the actor position svn-id: r10253
2003-09-11let getObjActToObjActDist round up when dividing the distance by 8 for V1/V2 ↵Max Horn
games. This helps in fixing bug #774529, but might cause regressions... svn-id: r10184
2003-09-09cleanup; fix for bug #795942 (COMI: text display off screen) and #785760 ↵Max Horn
(COMI: Lockup/crash on Skull Island) svn-id: r10144
2003-07-28more sanity checksMax Horn
svn-id: r9208
2003-07-28adding an assert (better paranoid than letting a null pointer slip thru)Max Horn
svn-id: r9207
2003-07-28fix return values in getObjectOrActorXY; turned unsafe derefActorSafe call ↵Max Horn
into derefActor (return value of derefActorSafe was used w/o checking it for 0) svn-id: r9206
2003-07-24cleanup: encapsulate some more members of class Actor, and rename ↵Max Horn
newDirection -> targetFacing (since it corresponds to the future value of 'facing'; the distinction between 'facing' and 'direction' is extremly fuzzy) svn-id: r9175