Commit graph

309 commits

Author SHA1 Message Date
Eugene Sandulenko
a2ea28b56f Proper implementation of readFile, writeFile and redimArray.
HE specific fixes to defineArray.

Now many things started to work in HE games.

svn-id: r13003
2004-02-23 04:01:39 +00:00
Nicolas Bacca
b3f4ba3417 EVC ... no ... comments ... please :)
svn-id: r12945
2004-02-20 22:16:44 +00:00
Max Horn
3e58cb906a Add some safety checks
svn-id: r12928
2004-02-18 10:42:26 +00:00
Travis Howell
1f2ab0145b FT/DIG/COMI should always default to 100 for actor.forceclip.
svn-id: r12925
2004-02-18 04:21:19 +00:00
Eugene Sandulenko
f219935e83 Fix bug in ScummEngine_v6::o6_setBoxSet
svn-id: r12918
2004-02-17 00:13:25 +00:00
Travis Howell
9d3ed96738 Rename opcode
svn-id: r12914
2004-02-16 05:53:17 +00:00
Travis Howell
7cc3bc357f Rename opcode
svn-id: r12913
2004-02-16 05:15:31 +00:00
Travis Howell
42dd31d9f3 Add comment and case
svn-id: r12912
2004-02-16 03:53:03 +00:00
Travis Howell
af305a31c3 Update comment
Remove duplicate code

svn-id: r12911
2004-02-16 03:08:17 +00:00
Eugene Sandulenko
7b67425bc2 More fixes to ScummEngine_v6::o6_pickVarRandom
svn-id: r12899
2004-02-15 03:53:03 +00:00
Eugene Sandulenko
e4e4336c0d Fix crash at fbear end scene
svn-id: r12896
2004-02-15 02:47:00 +00:00
Paweł Kołodziejski
c1ee0aeb4f fixed warning
svn-id: r12891
2004-02-14 17:01:28 +00:00
Paweł Kołodziejski
8cd11f33f4 changed to debug
svn-id: r12890
2004-02-14 16:59:28 +00:00
Eugene Sandulenko
4e7850b0f1 Fix E4 opcode implemetnation. Now it works
svn-id: r12888
2004-02-14 16:09:07 +00:00
Eugene Sandulenko
0459089ca8 Some part of E4 opcode is FT/Dig only
svn-id: r12885
2004-02-14 15:01:27 +00:00
Eugene Sandulenko
d766470e34 Implementation of o6_unknownE4
svn-id: r12884
2004-02-14 14:48:14 +00:00
Eugene Sandulenko
acce2b3c00 oops. this clearly demonstrates what bug was here :)
svn-id: r12839
2004-02-13 01:06:31 +00:00
Eugene Sandulenko
7511f1e44e Fix potential bug, depended on compiler.
svn-id: r12838
2004-02-13 01:01:23 +00:00
Travis Howell
8de55dcbca Cleanup
svn-id: r12797
2004-02-09 15:22:31 +00:00
Travis Howell
ea3be081b7 Only used in HE games.
svn-id: r12755
2004-02-07 03:00:01 +00:00
Travis Howell
86394f4542 Clean up last commit.
svn-id: r12754
2004-02-07 02:52:27 +00:00
Eugene Sandulenko
8411a8ade1 o Now Long TRS messages get wrapped
o Approaching enemy animation fixed
o Renames some vars and struct members
o Fixed dosdemo. It didn't run
o Correct Mac demo INSANE skipping behaviour

svn-id: r12751
2004-02-06 21:05:58 +00:00
Travis Howell
7b26a609f7 Update comment
svn-id: r12750
2004-02-06 16:19:43 +00:00
Max Horn
9fe1aaa921 renamed _saveLoadCompatible to _saveTemporaryState; make use of requestLoad/requestSave
svn-id: r12691
2004-01-31 22:12:35 +00:00
Travis Howell
d9cb0b1e79 DOTT should save sound state if _saveLoadSlot is true when doing a temporary save. It doesn't set flag via get/setkernal like later games.
svn-id: r12674
2004-01-30 16:01:08 +00:00
Travis Howell
ed6aed43bf Not needed for puttdemo.
svn-id: r12573
2004-01-22 04:46:34 +00:00
Travis Howell
45739906a5 actor ignoreTurns is complete for scumm6
svn-id: r12571
2004-01-22 03:22:01 +00:00
Travis Howell
1f7a74099a Remove a few old warnings.
svn-id: r12570
2004-01-22 02:37:41 +00:00
Max Horn
2f7198a3ac cleanup
svn-id: r12528
2004-01-19 22:55:42 +00:00
Max Horn
923adce456 fix endian bug when dealing with ArrayHeader's; added a hack to permit save games broken due to this to still work; moved the whole 'Array' stuff into ScummEngine_v6
svn-id: r12521
2004-01-19 20:27:31 +00:00
Max Horn
8e89f7d060 moved the sam&max inventory hack into o6_setOwner
svn-id: r12520
2004-01-19 20:23:27 +00:00
Max Horn
e8164dfb70 moved some V6-only scumm vars to ScummEngine_v6
svn-id: r12517
2004-01-19 19:47:47 +00:00
Travis Howell
a95818d29a Avoid assert in PC version of FT demo.
svn-id: r12464
2004-01-18 03:24:52 +00:00
Paweł Kołodziejski
351502d37a disabled opcode warning
svn-id: r12451
2004-01-17 11:05:57 +00:00
Eugene Sandulenko
4b0ad9fe13 Moved FT INSANE to a separate directory and splitted it to multiple files.
svn-id: r12444
2004-01-16 22:18:54 +00:00
Travis Howell
1141176775 Revert last array change, until they can be verified.
svn-id: r12432
2004-01-16 13:01:33 +00:00
James Brown
ac5b7036c2 Fix for bug #862263 - Maniac actors never stop talking. I know this could probably be neater :)
svn-id: r12430
2004-01-16 10:45:56 +00:00
Travis Howell
2c7057fdf4 Checks were a bit too strict, makes fatty bear completable.
svn-id: r12421
2004-01-16 06:16:38 +00:00
Travis Howell
bafbdc57e6 Add some stubs for Fatty Bear.
svn-id: r12420
2004-01-16 04:55:49 +00:00
Travis Howell
555caf2251 Add correct actor palette color changing for HE games.
svn-id: r12419
2004-01-16 01:52:49 +00:00
Max Horn
c14e7a0259 pedantic change
svn-id: r12414
2004-01-15 20:37:26 +00:00
Max Horn
ac8243d229 use Rect in struct VerbSlot
svn-id: r12413
2004-01-15 19:25:17 +00:00
Travis Howell
9854ab9344 Add correct fix for puttputt
svn-id: r12401
2004-01-15 06:25:57 +00:00
Travis Howell
5a876510e7 *** empty log message ***
svn-id: r12400
2004-01-15 04:47:55 +00:00
Travis Howell
ea0b9e5434 Hack only needs to check for insane values now.
svn-id: r12399
2004-01-15 04:46:07 +00:00
Travis Howell
b99db76958 Need to know where this occurs
svn-id: r12396
2004-01-14 23:51:22 +00:00
Travis Howell
d66de098fc Add/update comments
svn-id: r12386
2004-01-14 14:36:19 +00:00
Travis Howell
9f8caa6889 These two case are the same, checked samnmax disasm.
svn-id: r12384
2004-01-14 13:44:31 +00:00
Travis Howell
1230c0b083 No code is missing in this case.
svn-id: r12383
2004-01-14 13:41:15 +00:00
Travis Howell
7bd3a50049 Add better method.
svn-id: r12376
2004-01-14 10:01:39 +00:00