33 Commits

Author SHA1 Message Date
Max Horn
1a394aa3c7 added enum's for the known actor/object claasses; extended putClass/getClass to translate the X/Y flip classes; made code use the new enum's; some other cleanup
svn-id: r7753
2003-05-20 20:42:28 +00:00
Max Horn
c8169afe2b proper fix for getPathToDestBox
svn-id: r7721
2003-05-20 12:54:04 +00:00
Max Horn
bc73fcf386 cleanup
svn-id: r7701
2003-05-19 20:36:39 +00:00
Max Horn
1e7f246755 fix assert for mi_demo2
svn-id: r7698
2003-05-19 19:52:08 +00:00
Max Horn
cf500b2450 enable box'ed walking in V2 games
svn-id: r7660
2003-05-19 00:25:26 +00:00
Max Horn
33d1f15f97 V2 walkbox matrix fixes
svn-id: r7657
2003-05-19 00:17:34 +00:00
Max Horn
8f7f22aeae implemented proper 'invalid walkbox' handling in older games (in newer 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-18 19:44:22 +00:00
Jonathan Gray
d85abe1737 I thought it would be clear from the comments that this was needed for the atari st zak demo, which seems to still be the case
svn-id: r7616
2003-05-17 19:11:59 +00:00
Max Horn
a6d1c3e151 no no, bad hack be gone :-)
svn-id: r7609
2003-05-17 15:51:11 +00:00
Jamieson Christian
9d7cd48dcc Fixed VC++ warnings
svn-id: r7555
2003-05-16 00:07:47 +00:00
Max Horn
8b419944ee ScummPoint -> ScummVM::Point
svn-id: r7543
2003-05-15 21:57:38 +00:00
Max Horn
bf270d9243 walkbox & putActor coords in V2 are in 'character coordinates' - x has to multiplied by 8 and y by 2
svn-id: r7426
2003-05-10 23:47:39 +00:00
Max Horn
acb35fc915 renamed _scrWidth/_scrHeight -> _roomWidht/_roomHeight, and _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-10 21:49:59 +00:00
Max Horn
3a9d8cd8f4 implemented v2 walkboxes (at least the debugger output looks right now, though I might have overlooked something)
svn-id: r7406
2003-05-09 21:46:34 +00:00
Jonathan Gray
8c8406cf50 zakstdemo now finishes properly and loops etc, this check seems to be wrong for v2 games at least
svn-id: r7402
2003-05-09 03:02:49 +00:00
Max Horn
30e3a81618 use READ_LE_UINT16 instead of FROM_LE_16 to avoid unaligned memory access problems on PalmOS
svn-id: r7223
2003-04-30 12:57:46 +00:00
Max Horn
03adc71665 clarified hack
svn-id: r7168
2003-04-27 22:21:22 +00:00
Jonathan Gray
91c6f38ed4 stop loom pass demo from erroring out
svn-id: r6972
2003-04-11 12:57:41 +00:00
Paweł Kołodziejski
7189347adb changed range from GF_OLD256 to GF_AFTER_V3
svn-id: r6940
2003-04-08 19:05:41 +00:00
Paweł Kołodziejski
aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
093428ae9a and more cleanup
svn-id: r6718
2003-03-06 17:58:13 +00:00
James Brown
6351fe7d05 Patch 684732: CMI Walkbox Fix - really, this does seem to be the only solution
svn-id: r6612
2003-02-16 16:54:17 +00:00
Max Horn
020a1c3e2d fixed COMI actor scaling, again
svn-id: r6443
2003-01-13 14:04:41 +00:00
Max Horn
e704837f5c fix off by one error
svn-id: r6442
2003-01-13 13:37:43 +00:00
Max Horn
eb9726c497 added V8 scaling code
svn-id: r6440
2003-01-13 01:29:45 +00:00
Max Horn
1ce31266a9 rename some vars to make gcc 2.95.2 happy with -Wshadow
svn-id: r6283
2002-12-30 21:56:56 +00:00
Max Horn
a54d2d4a9f hopefully this fixes the box regression
svn-id: r6282
2002-12-30 20:31:36 +00:00
Jamieson Christian
7db414b203 Fixed VC++ warnings.
svn-id: r6279
2002-12-30 14:22:23 +00:00
Max Horn
2a1e07f3e5 added two V8 opcodes; more meaningful error message
svn-id: r6269
2002-12-30 01:40:12 +00:00
Max Horn
126e793f6a fixed walkboxes for V8 games
svn-id: r6266
2002-12-30 01:17:41 +00:00
Max Horn
5f472bdcd0 cleanup
svn-id: r6263
2002-12-29 21:14:28 +00:00
Max Horn
523d8e64c0 rewrote config class; cleanup; code restructuring
svn-id: r4903
2002-09-08 01:08:12 +00:00
Max Horn
ce46866403 Initial revision
svn-id: r4785
2002-08-21 16:07:07 +00:00