Commit Graph

145 Commits

Author SHA1 Message Date
Travis Howell
0ab3872653 Add missing case for pajama.
Fixes music in MusicRm.

svn-id: r17892
2005-05-02 02:12:00 +00:00
Travis Howell
343debba1e Use correct safety check.
svn-id: r17878
2005-05-01 01:30:19 +00:00
Travis Howell
2260447e8b Add missing safety checks.
svn-id: r17877
2005-05-01 01:02:34 +00:00
Travis Howell
211da446cc Reset additional fields
svn-id: r17871
2005-04-30 05:47:09 +00:00
Travis Howell
7118921a2a Add expanded _wizParams used by HE100 games.
Add u32 version variable.

svn-id: r17869
2005-04-30 05:25:06 +00:00
Travis Howell
c20ee1e634 Add missing case.
svn-id: r17867
2005-04-30 01:26:57 +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
Gregory Montoir
8d76879849 cleanup
svn-id: r17740
2005-04-21 19:27:17 +00:00
Travis Howell
9d2578eee9 Sync. HE100.
svn-id: r17738
2005-04-21 16:07:31 +00:00
Travis Howell
9cbc561eda Correct argument order.
Fixes glitches in freddi4/spyozon.

svn-id: r17728
2005-04-21 05:14:19 +00:00
Travis Howell
90509f6588 Rename wizImage process flag for HE games.
svn-id: r17707
2005-04-20 06:55:30 +00:00
Travis Howell
94e554a670 Rename sprite field for HE games.
svn-id: r17706
2005-04-20 05:24:02 +00:00
Travis Howell
214a5da948 Correct flag value.
svn-id: r17697
2005-04-20 00:46:37 +00:00
Gregory Montoir
7c110ef819 minor cleanup
svn-id: r17692
2005-04-19 17:55:09 +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
c673f5250e Fix buffer overflow regression.
Use same buffer sizes as original.

svn-id: r17654
2005-04-17 14:20:44 +00:00
Travis Howell
caae2f00de Add separate function for loading palette from choosen room.
Avoid pointer problems.

svn-id: r17653
2005-04-17 12:55:42 +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
Gregory Montoir
dbfd703d51 Updated comment
svn-id: r17590
2005-04-13 19:48:49 +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
973b4073c9 Sync.
svn-id: r17561
2005-04-12 02:35:59 +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
Travis Howell
0c5253c1eb Add a few extra sprite correction and functions, based off HE100.
svn-id: r17536
2005-04-11 07:40:14 +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
5b802a03e5 Enable object lock/unlock in HE 100 too.
Add comments

svn-id: r17503
2005-04-10 06:17:49 +00:00
Travis Howell
73d1d63f15 Add opcode for chase, playable now.
svn-id: r17469
2005-04-09 06:39:20 +00:00
Travis Howell
2d40caf7ad Add opcode stub for chase
svn-id: r17468
2005-04-09 06:26:12 +00:00
Travis Howell
f623a5595c Correct arguments order, works now.
svn-id: r17467
2005-04-09 05:15:51 +00:00
Travis Howell
2a5aaf9fc2 Add HE70+ version of seekFilePos opcode.
svn-id: r17450
2005-04-08 11:10:01 +00:00
Travis Howell
682df447a3 The reverse actor layering only applies to pajama3
svn-id: r17432
2005-04-07 10:54:36 +00:00
Travis Howell
19ff0b0085 Add hePalette function.
svn-id: r17424
2005-04-06 23:56:50 +00:00
Travis Howell
f230fe65e8 Add 8 sound channel support for HE games
-Allows sound looping to work

Added support for WAVE format musuc used in later HE100 games.

svn-id: r17372
2005-04-04 11:43:25 +00:00
Travis Howell
f63b35381b Enable copyArray in HE100 too.
svn-id: r17345
2005-04-03 13:50:12 +00:00
Travis Howell
27cba7619e More sprite renames
svn-id: r17342
2005-04-03 02:24:28 +00:00
Travis Howell
2eab3e51eb Add bits and pieces
More renames

svn-id: r17325
2005-04-01 12:43:13 +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
204809625f Rename paletteNum field for sprite in wizImages.
svn-id: r17312
2005-03-31 22:51:54 +00:00
Max Horn
ac247c9b94 Started to move some resource related code into a new class ResourceManager (hypothetic goal for the future: use ResourceManager in ScummEx)
svn-id: r17311
2005-03-31 21:39:31 +00:00
Travis Howell
6bb533f936 Cleanup
svn-id: r17292
2005-03-30 11:49:53 +00:00
Travis Howell
ba98e11eb1 Rename sprite functions
svn-id: r17285
2005-03-29 14:11:08 +00:00
Travis Howell
22affb0382 Check class of object number, not loop.
Cleanup.

svn-id: r17272
2005-03-28 11:38:04 +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
2938c66276 Rename WizParameters field.
Correct start strip in drawBMAPBg()

svn-id: r17236
2005-03-26 06:00:58 +00:00
Travis Howell
0030fab85a cleanup
svn-id: r17215
2005-03-24 03:59:00 +00:00
Travis Howell
8e84ee694c Add HE90 version of kernelGet/Set opcode and move HE90 specific cases over.
svn-id: r17200
2005-03-23 00:16:51 +00:00
Travis Howell
0bd4c7b8bc Missed HE100
svn-id: r17176
2005-03-17 11:11:00 +00:00