Max Horn
07e8084eee
replaced all use of scale items with scale slots. This allowed me to get rid of two big FIXME's, and might fix other scaling bugs in FT/DIG
...
svn-id: r10140
2003-09-09 17:29:22 +00:00
Max Horn
ce60ec3145
added some comments to a FIXME
...
svn-id: r10132
2003-09-09 13:29:18 +00:00
Max Horn
31db86cdb1
fixed yet another bug in redraw logic (which was hidden so far and revealed by my previous fix)
...
svn-id: r10112
2003-09-08 21:04:17 +00:00
Max Horn
738470b02e
moving stuff around
...
svn-id: r10111
2003-09-08 21:03:31 +00:00
Max Horn
72b24e8b47
actually USAGE_BIT_RESTORED must be cleared, too
...
svn-id: r10110
2003-09-08 20:50:35 +00:00
Max Horn
26a1040886
turns out that in the GFX usage bit conversion process, we accidentally left out this code. This should fix bug #744794 and potentially others
...
svn-id: r10109
2003-09-08 20:46:25 +00:00
Torbjörn Andersson
94df02c799
Implement the ACTOR_PAN opcode. The only place I know of where it's used is
...
between between ship-to-ship combats, so I didn't bother yet to store it in
savegames.
svn-id: r9988
2003-09-03 17:00:33 +00:00
Jamieson Christian
5507d75228
Replaced VER_V* notation for savegames with
...
a simple number. So that it's still obvious
that the number refers to version, a VER()
macro does nothing to the number but makes
it obvious what the number is for. This
has the exact same effect as the enum that
was going to get more and more lengthy
as the savegame version evolved.
svn-id: r9901
2003-08-29 04:05:23 +00:00
Max Horn
52534e2cc3
fix actor position in V1 games (by eyeballing the original in dosbox); still seems to be off 1 pixel vertically (?), and actors still leave dirt
...
svn-id: r9864
2003-08-25 20:57:36 +00:00
Max Horn
f91c575338
fixing off-by-one buglet (harmless in 99% of cases since the 'invalid' _imgBufOffs entries always contain the value of the last valid one)
...
svn-id: r9862
2003-08-25 20:05:02 +00:00
Travis Howell
285570f0d3
This fix should be v2 only
...
Update comment
svn-id: r9858
2003-08-25 14:17:34 +00:00
Travis Howell
6cc598250d
Add comment
...
svn-id: r9830
2003-08-23 15:16:07 +00:00
Travis Howell
327d37ae78
v1 zak costume colors should be perfect now
...
svn-id: r9796
2003-08-20 12:04:25 +00:00
Travis Howell
f25b54159c
Remove fixme
...
svn-id: r9777
2003-08-19 04:36:46 +00:00
Travis Howell
5a963767bf
Fix subtitles colors in V1 maniac
...
svn-id: r9713
2003-08-16 05:45:19 +00:00
Torbjörn Andersson
5052770213
Allowed derefActor() and derefActorSafe() to treat actor 0 as a valid actor
...
since the original interpreters appear to have allowed it. This fixes bug
#786380 ("FOA - FISTS, script crash in Crete").
I do not know what the purpose of actor 0 was in the original. Either it's
a no-op, or it's used to store actor default values.
Note that in the FOA case the room-33-200 script will loop - at least with
the provided savegame - until you leave the room. However, this is quite
harmless.
svn-id: r9650
2003-08-12 16:43:43 +00:00
Jonathan Gray
f1a3253fa2
remove GF_LOOM
...
svn-id: r9603
2003-08-08 11:32:40 +00:00
Travis Howell
5dd4d3e8e4
Add GF_LOOM feature flag for loom games to reduce checks.
...
Will make it easier to add loom fm towns target in future.
svn-id: r9547
2003-08-06 09:30:48 +00:00
Max Horn
ff988094be
init walkdata (fix for bug #770306 ); move Actor::Actor constructor from header to source file
...
svn-id: r9205
2003-07-27 23:45:43 +00:00
Max Horn
77c8eec439
oops this was never meant to be removed
...
svn-id: r9203
2003-07-27 23:30:28 +00:00
Max Horn
ce29c4c295
fixed setActorCostume for COMI; fixees bug #754421 and hopefully also the issue described in patch #696033
...
svn-id: r9191
2003-07-25 18:07:42 +00:00
Max Horn
b15277e5ed
oops, wanted to move talkFrequency initialisation, but only re-moved it, and didn't add it in its new place. bad me!
...
svn-id: r9182
2003-07-24 23:33:43 +00:00
Max Horn
becd70d243
cleanup: encapsulate some more members of class Actor, and rename newDirection -> targetFacing (since it corresponds to the future value of 'facing'; the distinction between 'facing' and 'direction' is extremly fuzzy)
...
svn-id: r9175
2003-07-24 17:44:00 +00:00
Torbjörn Andersson
3b033956aa
Changed "SCALLING" to "SCALING".
...
svn-id: r9134
2003-07-22 20:53:01 +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
253e50b3e1
Workaround for bug #770724
...
svn-id: r9042
2003-07-15 19:09:11 +00:00
Max Horn
963ecad362
debug/warning/error all automatically output a newline
...
svn-id: r8991
2003-07-13 16:22:17 +00:00
Max Horn
66000eccbf
fix for bug #770308
...
svn-id: r8958
2003-07-12 22:41:58 +00:00
Max Horn
fd82895ff5
adjusted V2 actor position to match original (MM) interpreter; tweaked adjustXYToBeInBox mod for V2 (so it's clear why it is needed)
...
svn-id: r8952
2003-07-12 17:53:22 +00:00
Max Horn
74554d6e91
fix for bug #766532 : MI2: look at coffin to Mojo
...
svn-id: r8846
2003-07-07 22:11:03 +00:00
Max Horn
f27b711e79
fix for bug #753840 (actor placement in V2 games)
...
svn-id: r8714
2003-07-02 14:23:45 +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
4a3da1a2b7
cleaned up the actor ordering code a bit - it should be now somewhat clearer what it does exactly
...
svn-id: r8709
2003-07-02 11:32:32 +00:00
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