Commit Graph

54 Commits

Author SHA1 Message Date
Travis Howell
e4e9538038 Add GF_INDY3 feature flag for indy3 games to reduce checks
Remove GF_ADLIB_DEFAULT since it is no longer used

svn-id: r9546
2003-08-06 09:10:19 +00:00
Torbjörn Andersson
3b033956aa Changed "SCALLING" to "SCALING".
svn-id: r9134
2003-07-22 20:53:01 +00:00
Max Horn
dce17ed7ac fix for bug #775420; also properly implemented the 'box matrix truncated' workaround
svn-id: r9129
2003-07-22 19:01:38 +00:00
Max Horn
9b02cb4cce fixing bug #774783 for the VGA version, too - and I bet the FmTowns version will need this fix, too
svn-id: r9112
2003-07-21 22:11:33 +00:00
Max Horn
743ad2aaa6 really fix #774783 in IndyEGA (while the value '1' is not strictly correct, and in IndyVGA it is 0, and 0 is the logical value - this *has* to be 1 (and 1 is what the original returns, too, due to a bug)
svn-id: r9111
2003-07-21 22:08:39 +00:00
Max Horn
0a334bf269 Fix for bug #770690 and bug #774783
svn-id: r9110
2003-07-21 21:59:07 +00:00
Max Horn
2fbf782c05 moved some functions out of scummvm.cpp into more appropriate files; rearranged stuff inside scummvm.cpp to be grouped a bit more logical
svn-id: r9083
2003-07-19 18:18:01 +00:00
Max Horn
f60e8ff53e fix for bug #771803
svn-id: r9043
2003-07-15 19:20:40 +00:00
Max Horn
a52a80d4f5 workaround for bug #770351
svn-id: r8993
2003-07-13 19:50:35 +00:00
Max Horn
bc5dbf8e66 undoing my last box change - with the last change in actor.cpp, this should make MM boxes work properly and fix one or multiple of the open MM bugs
svn-id: r8953
2003-07-12 18:46:33 +00:00
Max Horn
b2f737888d fix box coordinates for v1/v2 games (boxes are now contiguous)
svn-id: r8943
2003-07-12 12:40:20 +00:00
Max Horn
92fd56f9f0 removed #include "boxes.h" from scumm.h; cleaned up AdjustBoxResult 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-07-02 13:47:03 +00:00
Max Horn
a610e14a11 this FIXME is obsoleted by my recent fix for getMaskFromBox
svn-id: r8678
2003-06-30 22:22:04 +00:00
Max Horn
36899b8200 fix for #740244 and #755863. This appears to have been a long standing bug in the original engine?
svn-id: r8676
2003-06-30 20:12:34 +00:00
Torbjörn Andersson
a8b61e464f The compressed box matrix would sometimes refer to the box after the last
one. This was probably harmless, but the fix seems to be trivial. I hope.

svn-id: r8441
2003-06-12 06:53:05 +00:00
Max Horn
17a5a69c04 fixed createBoxMatrix for small header games (bug #752844)
svn-id: r8438
2003-06-11 21:34:34 +00:00
Max Horn
f034b339cd reimplemented createBoxMatrix; this is much cleaner and easier to understand 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-08 17:59:09 +00:00
Max Horn
f8ec8a9903 cleanup
svn-id: r8399
2003-06-08 12:49:34 +00:00
Max Horn
86df3537b9 replaced GF_AFTER with _version
svn-id: r8372
2003-06-07 00:13:26 +00:00
Max Horn
83e1815a72 some box debugging code
svn-id: r8182
2003-05-31 16:20:20 +00:00
Max Horn
2f9ff35bad moved Actor SaveLoadEntry definition to actor.cpp; made findPathTowards/findPathTowardsOld members of Actor; cleanup
svn-id: r7988
2003-05-26 02:26:13 +00:00
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