Max Horn
e1483a6eac
Fix for bug #763709 : DIG: Recent walk regression
...
svn-id: r8685
2003-07-01 12:08:22 +00:00
Max Horn
c7fb2c9bbf
fix for bug #743049 ; might cause regressions, but might also fix e.g. walk script issues
...
svn-id: r8673
2003-06-30 10:22:04 +00:00
Max Horn
870ce2879e
added some const qualifiers; moved _bundle & _current_cd_sound from class Scumm to class Sound; some other tweaks
...
svn-id: r8648
2003-06-25 23:25:52 +00:00
Torbjörn Andersson
445a805238
Fixed bug #758167 . Cleanup.
...
svn-id: r8577
2003-06-21 15:10:30 +00:00
Max Horn
4e57157cda
renamed _bcr -> _costumeRenderer
...
svn-id: r8473
2003-06-14 13:38:22 +00:00
Max Horn
49b9a8fc9d
follow our coding conventions
...
svn-id: r8377
2003-06-07 00:49:36 +00:00
Max Horn
86df3537b9
replaced GF_AFTER with _version
...
svn-id: r8372
2003-06-07 00:13:26 +00:00
Torbjörn Andersson
560c03f6ab
Hack to fix the placement of the green transparency on the tank in the Hall
...
of Oddities in Sam & Max. As far as I can tell, this was a bug in the
original game as well, so this is one of the rare cases where I think a
hack is ok even as a long-term solution.
svn-id: r8347
2003-06-06 10:01:26 +00:00
Max Horn
41c03fa082
clarified comment
...
svn-id: r8328
2003-06-05 15:31:34 +00:00
Max Horn
6c35550334
proper const cast
...
svn-id: r8319
2003-06-05 09:54:57 +00:00
Bertrand Augereau
0aff2d3461
did a bit of cleaning and added TODOs ;)
...
svn-id: r8310
2003-06-05 03:19:07 +00:00
Bertrand Augereau
cf8d8617c9
use the global BaseCostumeRenderer instead of reinstancing it every time
...
svn-id: r8309
2003-06-05 02:47:12 +00:00
Max Horn
3d77f7230e
Enabled walk sounds in Indy3EGA/ZakEGA; cleanup (bug #747068 )
...
svn-id: r8249
2003-06-01 18:20:38 +00:00
Max Horn
2fd98601f7
ah well. just get rid of this again. this fixes some actor freezes in The Dig statue room, and shouldn't be necessary anymore anyway
...
svn-id: r8181
2003-05-31 16:09:09 +00:00
Max Horn
f8e64d7134
renamed walk_script/talk_script -> walkScript/talkScript
...
svn-id: r8178
2003-05-31 14:27:47 +00:00
Max Horn
691e1f390a
rewrote Actor::needBgReset related code (this could cause regressions...)
...
svn-id: r8126
2003-05-30 00:55:21 +00:00
Max Horn
d8844871f5
cleanup
...
svn-id: r8109
2003-05-29 17:14:47 +00:00
Max Horn
59acd18cee
they are getting more and more similar :-)
...
svn-id: r8073
2003-05-29 02:14:31 +00:00
Max Horn
78ef0ea5b5
fix actor redraw problems in COMI (and possibly other AKOS games); might cause regressions, though. See also patch #699980
...
svn-id: r8064
2003-05-28 21:43:34 +00:00
Max Horn
1f70da0155
const as const can!
...
svn-id: r8058
2003-05-28 20:01:47 +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
4cda099c57
don't use _gameDataPath directly; minor cleanup
...
svn-id: r7907
2003-05-24 22:13:01 +00:00
Jamieson Christian
4c531d373b
Fixed VC++ warning
...
svn-id: r7861
2003-05-23 13:45:45 +00:00
Max Horn
28eade1da4
when iterating from 1 to _numActors over all actors, use _actors[] directly instead of derefActor() (unnecessary overhead); added range check to derefActor, and error out if invalid actor is accessed
...
svn-id: r7858
2003-05-23 12:48:50 +00:00
Max Horn
a5be83b352
fixed meteor animation in MM (and probably others in MM and Zak)
...
svn-id: r7822
2003-05-22 10:40:49 +00:00
Max Horn
c78664cbc9
renamed talkFrame1/talkFrame2 to talkStartFrame/talkStopFrame
...
svn-id: r7819
2003-05-22 09:58:33 +00:00
Max Horn
061228688e
fix V2 actor initial mouth's (they were missing)
...
svn-id: r7818
2003-05-22 09:52:21 +00:00
Max Horn
f43fb0dab8
freeze scripts & hide mouse during cutscenes; addde Actor::isPlayer method that should work in V2, too; fixed o2_walkActorToObject
...
svn-id: r7815
2003-05-22 00:51:42 +00:00
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