aboutsummaryrefslogtreecommitdiff
path: root/scumm/object.cpp
AgeCommit message (Collapse)Author
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
2003-01-12fix banjo duel crashMax Horn
svn-id: r6427
2003-01-12dump flObject scripts, tooMax Horn
svn-id: r6424
2003-01-12Remove the second biggest hack I've ever seenJames Brown
svn-id: r6423
2003-01-12End of flObject rewrite. It works! It works! :PJames Brown
svn-id: r6421
2003-01-12Fhew. Fix crash.James Brown
svn-id: r6418
2003-01-12Small fix - _numLocalObjects is a 1-based array, so don't go reading bad ↵James Brown
memory :P svn-id: r6417
2003-01-12New method of local object management. Buggy, segfaults on the Part 1 screen ↵James Brown
and I don't know why yet.. svn-id: r6416
2003-01-11Better warn on the flObject 188/189 load hackJames Brown
svn-id: r6401
2003-01-11This is the second biggest hack I've ever seen! FlObject 188/189 hack.James Brown
svn-id: r6400
2003-01-01Clean up the code a little.James Brown
For some reason blast objects 188/189 are misbehaving, specifically you get a crash when talking to the voodoo lady. hit escape using this save: http://www.enderboi.com/misc/comi.s04 - I can't work out how the heck an association is created to begin with.. svn-id: r6311
2002-12-31added V8 support to drawVerbBitmap - not even sure if that is used in COMI, ↵Max Horn
though svn-id: r6286
2002-12-31implemented object drawing (still somewhat broken, we get a 'green screen' ↵Max Horn
effetc :-). Oh yes, this probably breaks save game compatibility for COMI. Oh yeah. As if I would care <g> svn-id: r6285
2002-12-31get rid of DUMP_SCRIPTS; in its place, added run time option '-u' to enabled ↵Max Horn
script dumping svn-id: r6284