aboutsummaryrefslogtreecommitdiff
path: root/scumm/object.cpp
AgeCommit message (Collapse)Author
2003-05-20got rid of the evil locked-box hack in adjustXYToBeInBox; instead check for ↵Max Horn
locked boxes in walkActorOld, which seems to work just as well (and hopefully better) svn-id: r7750
2003-05-20renamed o2_matrixOps -> o2_setBoxFlags; V2 'objY' fixes; cleanupMax Horn
svn-id: r7739
2003-05-19don't touch untouchable objects in V2 gamesMax Horn
svn-id: r7664
2003-05-18cleanupMax Horn
svn-id: r7646
2003-05-17fixed object walk_x/walk_y for V2 gamesMax Horn
svn-id: r7591
2003-05-16added roomobj dumping for bundle games (was trivial it turns out :-)Max Horn
svn-id: r7581
2003-05-15fixed the evil, evil COMI crash on Mac OS X (and memory corrupter elsewhere, ↵Max Horn
maybe?). The last part of this change is the crucial one, computing the correct value for right_strip svn-id: r7527
2003-05-15bounds check; made data staticMax Horn
svn-id: r7519
2003-05-13NUM_ACTORS -> _numActors (for consistency)Max Horn
svn-id: r7489
2003-05-10fixed object drawing state handling for V2 games (this shouldn't cause any ↵Max Horn
regressions in newer games) svn-id: r7424
2003-05-10renamed _scrWidth/_scrHeight -> _roomWidht/_roomHeight, and ↵Max Horn
_realWidth/_realHeight -> _screenWidth/_screenHeight (inspired by MadMoose, but I'll take the blame - still this seems much more logical & intuitive) svn-id: r7423
2003-05-10fixed script dumping for flobject script in V6/V7 gamesMax Horn
svn-id: r7419
2003-05-10added a 'width' parameter to drawBitmap (contrary to 'numstrips', it ↵Max Horn
specifies the full width of the image passed in, not how much we shoul draw of it) - this will be used for the new V2 drawBitmap code; renamed drawBitmap parameter 'h' to 'height' svn-id: r7412
2003-05-08init all VAR_* variables to 0xFF; replaced access to _vars in the form ↵Max Horn
_vars[VAR_*] by VARS(VAR_*) which performs a validity checK; renamed _vars to _scummVars to make sure I updated all places; fixed two places where V6 and newer games would access V5 vars (but there are still some left, it seems); checked VAR access for now only generates a warning svn-id: r7393
2003-05-04fixed roomobj dumpingMax Horn
svn-id: r7316
2003-05-01fixed regression in MonkeyVGA <sigh>. Aquadran, is the 16 right even for ↵Max Horn
GF_OLD_BUNDLE ? Or should it just always be 1? svn-id: r7252
2003-04-28ooops, seems the 1 -> 16 changed caused a regression in Zak256 (and I bet in ↵Max Horn
Indy3VGA, too). Reverting this change partially. If anybody experiences problem selecting certain objects in other GF_SMALL_HEADER, tell me svn-id: r7186
2003-04-28fixed two offsets for V2 and two warningsPaweł Kołodziejski
svn-id: r7185
2003-04-28cleanup (yes, the parentstate was changed from 1 to 16 for V3/V4 games - ↵Max Horn
but that actually seems to be correct, according to older comments in this file, and the disassmbly) svn-id: r7175
2003-04-26fixed offsets for object names for scumm v2Paweł Kołodziejski
svn-id: r7142
2003-04-26fixed object names in Indy3EGA and LoomMax Horn
svn-id: r7139
2003-04-26update for scumm v2Paweł Kołodziejski
svn-id: r7137
2003-04-26renamed setCursorHotspot2 to setCursorHotspot; fixed (with a hack) cursor in ↵Max Horn
Loom svn-id: r7132
2003-04-21fixes for v3 broken by v2Paweł Kołodziejski
svn-id: r7057
2003-04-21changes for v2 resourcesPaweł Kołodziejski
svn-id: r7053
2003-04-13shouldn't be increased to next search object ?Paweł Kołodziejski
svn-id: r7009
2003-04-13handle old_bundle offsets getVerbEntrypoint(), o5_setObjectName(), ↵Paweł Kołodziejski
getObjOrActorName() funcs svn-id: r7003
2003-04-13handle old_bundle size at addObjectToInventory() funcPaweł Kołodziejski
svn-id: r7002
2003-04-12fixed OLD_BUNDLE object image offsetMax Horn
svn-id: r6991
2003-04-12added GF_OLD_BUNDLE to findObjectInRoomMax Horn
svn-id: r6986
2003-04-12lots of unblocked aka GF_OLD_BUNDLE support code (still no load, but gets ↵Max Horn
further :-) svn-id: r6977
2003-03-08added yet another sanity check (assert); fixed long standing evil bug in ↵Max Horn
getObjNewDir / getObjOldDir svn-id: r6763
2003-03-08some more dummy code for valgrind debuggingMax Horn
svn-id: r6762
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06and more cleanupPaweł Kołodziejski
svn-id: r6718
2003-03-05Patch #697848: Small removeObjectFromRoom() cleanupMax Horn
svn-id: r6689
2003-03-02patch #696030: CMI: More actor direction fixesMax Horn
svn-id: r6662
2003-03-02fixed warningsPaweł Kołodziejski
svn-id: r6659
2003-02-27patch #693475 attempt to address the actor facing problems in comi by erikJonathan Gray
svn-id: r6643
2003-01-26Patch 671031: Fix for MI1 intro crash + others (move new objectJames Brown
clearing code into a more generic function, and call it earlier) svn-id: r6548
2003-01-18fix compilation under VC6Paweł Kołodziejski
svn-id: r6495
2003-01-17Clip strip value when removing objectsJames Brown
svn-id: r6488
2003-01-16first blastText version. this is work in progress (note that e.g. text is ↵Max Horn
not clipped, and the extra information is not removed) svn-id: r6472
2003-01-14Patch 667613: Extend gfxUsageBits[]James Brown
svn-id: r6453
2003-01-13clear object table for small header games, tooMax Horn
svn-id: r6448
2003-01-13fixed checkRange output; added checkRange call to drawObject; cleanupMax Horn
svn-id: r6447
2003-01-13removed obsolete FIXMEMax Horn
svn-id: r6446
2003-01-13indention fixMax Horn
svn-id: r6445
2003-01-12don't lock/unlock if resource was already lockedMax Horn
svn-id: r6439
2003-01-12fix beach crash in COMIMax Horn
svn-id: r6438