aboutsummaryrefslogtreecommitdiff
path: root/scumm/object.cpp
AgeCommit message (Collapse)Author
2003-05-31some setObjectName changes. I'd really like to switch V2-V5 to use ↵Max Horn
rtObjectName resources, too svn-id: r8171
2003-05-31cleanupMax Horn
svn-id: r8169
2003-05-30some cheap doxygen docs; cleanupMax Horn
svn-id: r8154
2003-05-30moved bomp stuff into own files; removed some of our 6 (!) bomp decodersMax Horn
svn-id: r8151
2003-05-30cleanupMax Horn
svn-id: r8145
2003-05-30work around nexus crash (only in old savegames?)Max Horn
svn-id: r8123
2003-05-28const as const can!Max Horn
svn-id: r8058
2003-05-26cleanupMax Horn
svn-id: r8007
2003-05-24some more debug outputMax Horn
svn-id: r7888
2003-05-23replaced many unsafe uses of derefActorSafe by derefActor; replaced ↵Max Horn
derefActorSafe/assert pairs by derefActor (gives better error message); replaced various derefActorSafe/if(a!=0) pairs by derefActor (in cases where the deref should never fail, ever, except due to a bug in ScummVM) svn-id: r7859
2003-05-22not needed anymore since we read the preposition flag directly from the obcd ↵Max Horn
data again svn-id: r7830
2003-05-22restricted getObjectIndex to only search thru _objs, not _inventory(to avoid ↵Max Horn
future confusion), this might cause regressions, though; fixed o2_getObjPreposition; adapted some code to the changed getObjectIndex svn-id: r7829
2003-05-21many pedantic warning fixes (and some actual potential buglets fixed, too)Max Horn
svn-id: r7795
2003-05-20added enum's for the known actor/object claasses; extended putClass/getClass ↵Max Horn
to translate the X/Y flip classes; made code use the new enum's; some other cleanup svn-id: r7753
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