Commit Graph

104 Commits

Author SHA1 Message Date
Max Horn
86d57f3c7a many pedantic warning fixes (and some actual potential buglets fixed, too)
svn-id: r7795
2003-05-21 18:09:49 +00:00
Max Horn
34eee8b33b cleanup
svn-id: r7756
2003-05-20 23:05:34 +00:00
Max Horn
49e7f7564a renamed various things for clarity
svn-id: r7754
2003-05-20 20:58:26 +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
ffadd452a9 got rid of the evil locked-box hack in adjustXYToBeInBox; instead check for locked boxes in walkActorOld, which seems to work just as well (and hopefully better)
svn-id: r7750
2003-05-20 19:35:40 +00:00
Max Horn
1f859e592f this is 100% equivalent to the old walkActorOld() code - I just made an equivalence transformation (anybody who doesn't believe that, I can show you step by step how to transform the code :-)
svn-id: r7749
2003-05-20 17:50:43 +00:00
Max Horn
684cd9c431 fixed warning output
svn-id: r7735
2003-05-20 15:13:18 +00:00
Max Horn
46abb7998f merged common code
svn-id: r7720
2003-05-20 12:25:47 +00:00
Max Horn
1f8d481acb fix for various regressions (not quite sure if the check for V2/v3 is right, but seems to work so far)
svn-id: r7648
2003-05-18 23:14:21 +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
Max Horn
33abb1f04a V2 actor heads fixed (to their shoulders, ha-ha... errm ... I thought it was funny when I wrote it 8-)
svn-id: r7611
2003-05-17 18:07:07 +00:00
Max Horn
58ab6d5039 proper walk animation in Zak (at the expense of Zak's head, for now ;-)
svn-id: r7589
2003-05-17 00:33:29 +00:00
Max Horn
30d31f6d03 print some useful info, too
svn-id: r7569
2003-05-16 10:00:03 +00:00
Travis Howell
61fdee0b42 Typo
svn-id: r7568
2003-05-16 09:51:59 +00:00
Travis Howell
f69df41c71 Add comment to fixme
svn-id: r7567
2003-05-16 09:47:52 +00:00
Max Horn
8b419944ee ScummPoint -> ScummVM::Point
svn-id: r7543
2003-05-15 21:57:38 +00:00
Max Horn
bc99915aa5 V2 text drawing
svn-id: r7502
2003-05-14 13:30:52 +00:00
Max Horn
afe038d6dd Patch #737497 / Bug #737387
svn-id: r7495
2003-05-14 09:49:44 +00:00
Max Horn
08f7ec192e NUM_ACTORS -> _numActors (for consistency)
svn-id: r7489
2003-05-13 23:42:41 +00:00
Max Horn
796fa74806 cleanup
svn-id: r7487
2003-05-13 23:03:18 +00:00
Max Horn
f4be51cd68 modified akos / 'old' costume (charset) masking code to a) match each other; also, the costume.cpp code looks again checks _zbuf != 0 even for non-SMALL_HEADER games, as it used to 1 year ago ;-) (note: this change is kinda experimental; might fix some bugs, might introduce some regressions)
svn-id: r7473
2003-05-12 17:50:09 +00:00
Max Horn
98881c3a6a init all VAR_* variables to 0xFF; replaced access to _vars in the form _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-08 15:48:50 +00:00
Max Horn
86e28c807e oops that was an accidental change
svn-id: r7390
2003-05-08 10:48:29 +00:00
Jonathan Gray
1ba420a9e2 remove uneeded fixme
svn-id: r7362
2003-05-06 01:03:33 +00:00
Max Horn
15ba8da46b renamed XYFactor/YXFactor to XYFactor, YXFactor/deltaYFactor (they denote how much to move each step in the x/y direction); added several FIXME comments (after 0.4.0 we really shold revise this code)
svn-id: r7344
2003-05-05 12:09:22 +00:00
Max Horn
9466a5dcef Patch #730800: EGA LOOM: Hack to fix palette problem (also helps MonkeyEGA)
svn-id: r7290
2003-05-03 20:49:53 +00:00
Max Horn
fb4a6095a6 Patch #731760: LOOM: "Bobbin walks backwards" hack
svn-id: r7285
2003-05-03 16:20:18 +00:00
Max Horn
0b7c86ff13 cleanup; small fix for GF_OLD256 games; also the head hack for indy3 is not needed anymore
svn-id: r7075
2003-04-22 18:57:10 +00:00
James Brown
fe0fc72e57 Pedantic stats-boosting typo fix :)
svn-id: r7039
2003-04-20 17:11:13 +00:00
Paweł Kołodziejski
dc64134a74 fixed actor palette for nonblocked games
svn-id: r7014
2003-04-16 07:11:04 +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
Max Horn
af2e2fff7a cleanup
svn-id: r6877
2003-03-28 23:08:36 +00:00
Max Horn
c98130a0a6 cleanup
svn-id: r6855
2003-03-24 21:56:29 +00:00
Max Horn
d24df8ff7a fix actor gliding caused by my walk_script hack
svn-id: r6773
2003-03-08 14:12:58 +00:00
Max Horn
38371389ea enabled walk scripts
svn-id: r6772
2003-03-08 13:29:41 +00:00
Max Horn
e4a8edfc67 cleanup (should cause no behavior change)
svn-id: r6766
2003-03-08 04:11:02 +00:00
Max Horn
5944944f78 properly init Actor objects instead of one big evil hackish memset...
svn-id: r6733
2003-03-07 02:43:21 +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
Max Horn
f6bac973f8 patch #696030: CMI: More actor direction fixes
svn-id: r6662
2003-03-02 15:51:56 +00:00
Jonathan Gray
af19cac738 patch #689164 comi verb coin hack by erik, fixes the verb coin drawing behind the inventory
svn-id: r6642
2003-02-27 10:17:29 +00:00
Jonathan Gray
516f970e64 not sure if all of these AFTER_V7 for NEW_COSTUMES changes are needed but it won't hurt in any event
svn-id: r6617
2003-02-17 21:40:13 +00:00
James Brown
8d9b84b98e Patch 671701: SO_TALK_FREQUENCY
svn-id: r6547
2003-01-26 10:54:34 +00:00
Max Horn
2eff7e2242 fix off by one bug in gfxUsageBits code; fixed small glitch the actor iteration cleanup
svn-id: r6485
2003-01-16 18:07:52 +00:00
James Brown
4e07c1bb91 Patch 668634: Actor iteration fix
svn-id: r6484
2003-01-16 17:37:34 +00:00
James Brown
5bf741f960 Patch 667613: Extend gfxUsageBits[]
svn-id: r6453
2003-01-14 10:06:56 +00:00
Max Horn
020a1c3e2d fixed COMI actor scaling, again
svn-id: r6443
2003-01-13 14:04:41 +00:00
Max Horn
eb9726c497 added V8 scaling code
svn-id: r6440
2003-01-13 01:29:45 +00:00
Max Horn
2d97c1f40c fixed regression caused by changes to akos code
svn-id: r6353
2003-01-07 20:21:39 +00:00
Max Horn
eaf2e1a313 more akos/costume merging
svn-id: r6352
2003-01-07 17:35:20 +00:00