106 Commits

Author SHA1 Message Date
Travis Howell
8de4c596a0 Add missing opcode details
Fix regression (Fields not initied)

svn-id: r17938
2005-05-07 07:57:59 +00:00
Travis Howell
343debba1e Use correct safety check.
svn-id: r17878
2005-05-01 01:30:19 +00:00
Travis Howell
7c3cfae122 Minor cleanup.
svn-id: r17840
2005-04-27 14:47:10 +00:00
Travis Howell
f5189c323b Minor clean up, HE games should always copy strings directly.
svn-id: r17838
2005-04-27 14:26:52 +00:00
Travis Howell
2a14ff0a1a Use new ConfigFile class for read/writeConfigFile in HE games.
svn-id: r17782
2005-04-24 03:52:56 +00:00
Max Horn
ef760277e6 This code should be revised...
svn-id: r17778
2005-04-23 17:02:38 +00:00
Travis Howell
24f2ca3d34 Adjust for last cvs change.
svn-id: r17762
2005-04-23 01:57:46 +00:00
Travis Howell
e6bd008e30 Add support for reading/writing to external config file in HE games.
svn-id: r17746
2005-04-22 07:12:29 +00:00
Travis Howell
d391c2f837 Adjust again, for sound header differences.
svn-id: r17668
2005-04-18 11:44:01 +00:00
Travis Howell
8d01148b79 Sound size should only include sound data.
svn-id: r17667
2005-04-18 11:19:54 +00:00
Travis Howell
d4ba67a497 Use correct music offsets for HE games, only a few demos use wrong tunes now.
Get all music details for HE games from one function only.

svn-id: r17662
2005-04-18 07:18:33 +00:00
Travis Howell
58298999f3 Error on all unknown compression types.
Remove some unused cases.

svn-id: r17617
2005-04-16 11:01:31 +00:00
Travis Howell
a9ff09b066 Adjust for footdemo, which triggers assert.
svn-id: r17612
2005-04-16 05:36:01 +00:00
Travis Howell
a3882f3af7 Add HE7.2 difference in o_getResourceSize().
Add support for checking size of music resource.

svn-id: r17595
2005-04-14 06:06:59 +00:00
Travis Howell
d3ea799f23 _stringBuffer can have mutple strings, ie in pajama2 startup.
Add safety check for buffer size.

svn-id: r17581
2005-04-13 10:34:47 +00:00
Travis Howell
eed70f3dba Cleanup
svn-id: r17564
2005-04-12 07:52:15 +00:00
Travis Howell
dea27e2c63 Work in progress on opcodeE0 for HE games.
Cleanup.

svn-id: r17560
2005-04-12 02:29:50 +00:00
Max Horn
871e278f8b Reduce dependencies on scumm/util.h; modified ScummNESFile a bit so that it complies a bit better with our code formatting rules
svn-id: r17508
2005-04-10 12:59:17 +00:00
Travis Howell
02a724a619 Add extra case, used by freddicove
svn-id: r17502
2005-04-10 05:39:46 +00:00
Travis Howell
2a5aaf9fc2 Add HE70+ version of seekFilePos opcode.
svn-id: r17450
2005-04-08 11:10:01 +00:00
Travis Howell
aeec229615 getScriptSlot() must start from slot 1, required for nukeArrays() in HE games.
svn-id: r17383
2005-04-05 11:06:03 +00:00
Travis Howell
74c124628a Muddled ifs
svn-id: r17373
2005-04-04 11:47:38 +00:00
Travis Howell
d80f9ccd40 Add support for clipping of wizImages.
Add support for altering wizImages.
Various renames.

svn-id: r17322
2005-04-01 08:51:13 +00:00
Travis Howell
cdd21c361b Remove resource type argument in wizImage functions, it is always rtImage.
Rename sprite flags/functions
Remove unused sprite flags
Switch sprite flags back to hex. for easier comparison

svn-id: r17319
2005-04-01 06:30:46 +00:00
Travis Howell
6bb533f936 Cleanup
svn-id: r17292
2005-03-30 11:49:53 +00:00
Travis Howell
11e1e246cc findObject in HE72+ only checks object bounds
findObject in He70/71 only needs additional polygon check

svn-id: r17270
2005-03-28 10:02:22 +00:00
Travis Howell
f50af11b5d Add HE72 version of file rename opcode
svn-id: r17175
2005-03-17 11:06:43 +00:00
Travis Howell
4361ef655e HE72+ games use slightly different code for subtitle color.
svn-id: r17174
2005-03-17 10:53:29 +00:00
Travis Howell
8b484a2acf Missing pop
svn-id: r17086
2005-03-12 04:05:26 +00:00
Eugene Sandulenko
154c4af8dc Mass-renamed all variables of Actor object according to our current code
formatting standards. Earlier we had half of vars named with leading
underscore and half without it.

Now code in actor.cpp is considerably more readable.

svn-id: r17068
2005-03-11 01:10:06 +00:00
Gregory Montoir
cc5e406cb5 defined some flags for HE wiz ; it should make the code more readable
svn-id: r16901
2005-02-24 20:20:35 +00:00
Travis Howell
99f54b437d Minor cleanup
svn-id: r16860
2005-02-22 13:54:38 +00:00
Travis Howell
23d02ee03f Add opcode
svn-id: r16786
2005-02-14 07:21:17 +00:00
Travis Howell
cc708339ea Merge two opcode, move two opcodes back to HE70.
svn-id: r16731
2005-02-02 12:05:00 +00:00
Travis Howell
bebad400d6 Check sound queue for music in HE games.
Avoid extra sound channel.

svn-id: r16706
2005-01-30 11:03:49 +00:00
Travis Howell
414e2c0a3f HE100 difference
svn-id: r16701
2005-01-30 05:00:20 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Travis Howell
ad0b8f1de5 Unused includes
svn-id: r16236
2004-12-21 06:09:40 +00:00
Travis Howell
739828391e Correct range
svn-id: r16129
2004-12-19 11:02:14 +00:00
Gregory Montoir
5e351b0c31 moved all the HE wiz stuff to a separate module, with minor cleanups and simplifications
svn-id: r15921
2004-11-27 17:50:23 +00:00
Travis Howell
6cd046a906 Revert opcode EF merge, HE72 uses different array structure.
svn-id: r15905
2004-11-27 02:47:46 +00:00
Gregory Montoir
0d27b23efd renamed some HE opcodes and got rid of o72_unknownEF as it seems it was a duplicate of o70_unknownEF
svn-id: r15896
2004-11-26 20:17:02 +00:00
Gregory Montoir
37e900a2a3 renamed some HE opcodes
svn-id: r15869
2004-11-23 19:47:54 +00:00
Chris Apers
1ac29aae1e Help PalmOS (and more ?) to save memory
svn-id: r15611
2004-10-19 12:30:42 +00:00
Travis Howell
4aa211a8e0 Polygons used by HE71 too.
svn-id: r15585
2004-10-17 11:47:12 +00:00
Travis Howell
cb12a2a0a1 Rename opcode
svn-id: r15581
2004-10-17 06:32:58 +00:00
Paweł Kołodziejski
c9a552bebc fixed warnings
svn-id: r15574
2004-10-16 20:38:37 +00:00
Travis Howell
086724d774 Remove more duplicates.
svn-id: r15544
2004-10-13 10:55:50 +00:00
Travis Howell
f78ded554c Rename opcode
svn-id: r15543
2004-10-13 09:39:59 +00:00
Travis Howell
687a5db4a8 Rename vars
Add some missng code for HE games.

svn-id: r15528
2004-10-12 14:12:20 +00:00