aboutsummaryrefslogtreecommitdiff
path: root/scumm/boxes.cpp
AgeCommit message (Collapse)Author
2003-07-12undoing my last box change - with the last change in actor.cpp, this should ↵Max Horn
make MM boxes work properly and fix one or multiple of the open MM bugs svn-id: r8953
2003-07-12fix box coordinates for v1/v2 games (boxes are now contiguous)Max Horn
svn-id: r8943
2003-07-02removed #include "boxes.h" from scumm.h; cleaned up AdjustBoxResult ↵Max Horn
definition & usage; properly deal with larger box distances, thus partially fixing Zak on the airport (but original seems to have used a very different algorithm, so this really is only a partial fix) svn-id: r8710
2003-06-30this FIXME is obsoleted by my recent fix for getMaskFromBoxMax Horn
svn-id: r8678
2003-06-30fix for #740244 and #755863. This appears to have been a long standing bug ↵Max Horn
in the original engine? svn-id: r8676
2003-06-12The compressed box matrix would sometimes refer to the box after the lastTorbjörn Andersson
one. This was probably harmless, but the fix seems to be trivial. I hope. svn-id: r8441
2003-06-11fixed createBoxMatrix for small header games (bug #752844)Max Horn
svn-id: r8438
2003-06-08reimplemented createBoxMatrix; this is much cleaner and easier to understand ↵Max Horn
than the original code (IMHO); in a few cases it gives slightly different results (because the old code didn't always find the shortest path), but that shouldn't cause any problems svn-id: r8403
2003-06-08cleanupMax Horn
svn-id: r8399
2003-06-07replaced GF_AFTER with _versionMax Horn
svn-id: r8372
2003-05-31some box debugging codeMax Horn
svn-id: r8182
2003-05-26moved Actor SaveLoadEntry definition to actor.cpp; made ↵Max Horn
findPathTowards/findPathTowardsOld members of Actor; cleanup svn-id: r7988
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-20proper fix for getPathToDestBoxMax Horn
svn-id: r7721
2003-05-19cleanupMax Horn
svn-id: r7701
2003-05-19fix assert for mi_demo2Max Horn
svn-id: r7698
2003-05-19enable box'ed walking in V2 gamesMax Horn
svn-id: r7660
2003-05-19V2 walkbox matrix fixesMax Horn
svn-id: r7657
2003-05-18implemented proper 'invalid walkbox' handling in older games (in newer ↵Max Horn
games, box 0 is used as invalid box, while in older games this is a legal box and box 255 is the 'invalid' box); removed lots of FIXME's which were needed to cope with ScummVM not implementing the invalid walkbox stuff properly in the past; removed other actor FIXMEs. svn-id: r7642
2003-05-17I thought it would be clear from the comments that this was needed for the ↵Jonathan Gray
atari st zak demo, which seems to still be the case svn-id: r7616
2003-05-17no no, bad hack be gone :-)Max Horn
svn-id: r7609
2003-05-16Fixed VC++ warningsJamieson Christian
svn-id: r7555
2003-05-15ScummPoint -> ScummVM::PointMax Horn
svn-id: r7543
2003-05-10walkbox & putActor coords in V2 are in 'character coordinates' - x has to ↵Max Horn
multiplied by 8 and y by 2 svn-id: r7426
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-09implemented v2 walkboxes (at least the debugger output looks right now, ↵Max Horn
though I might have overlooked something) svn-id: r7406
2003-05-09zakstdemo now finishes properly and loops etc, this check seems to be wrong ↵Jonathan Gray
for v2 games at least svn-id: r7402
2003-04-30use READ_LE_UINT16 instead of FROM_LE_16 to avoid unaligned memory access ↵Max Horn
problems on PalmOS svn-id: r7223
2003-04-27clarified hackMax Horn
svn-id: r7168
2003-04-11stop loom pass demo from erroring outJonathan Gray
svn-id: r6972
2003-04-08changed range from GF_OLD256 to GF_AFTER_V3Paweł Kołodziejski
svn-id: r6940
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06and more cleanupPaweł Kołodziejski
svn-id: r6718
2003-02-16Patch 684732: CMI Walkbox Fix - really, this does seem to be the only solutionJames Brown
svn-id: r6612
2003-01-13fixed COMI actor scaling, againMax Horn
svn-id: r6443
2003-01-13fix off by one errorMax Horn
svn-id: r6442
2003-01-13added V8 scaling codeMax Horn
svn-id: r6440
2002-12-30rename some vars to make gcc 2.95.2 happy with -WshadowMax Horn
svn-id: r6283
2002-12-30hopefully this fixes the box regressionMax Horn
svn-id: r6282
2002-12-30Fixed VC++ warnings.Jamieson Christian
svn-id: r6279
2002-12-30added two V8 opcodes; more meaningful error messageMax Horn
svn-id: r6269
2002-12-30fixed walkboxes for V8 gamesMax Horn
svn-id: r6266
2002-12-29cleanupMax Horn
svn-id: r6263
2002-09-08rewrote config class; cleanup; code restructuringMax Horn
svn-id: r4903
2002-08-21Initial revisionMax Horn
svn-id: r4785