Commit Graph

240 Commits

Author SHA1 Message Date
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
e61728168d Always skip smacker files in HE games.
svn-id: r17807
2005-04-26 07:44:14 +00:00
Travis Howell
2df1161e0c Add stubs for the two smacker related opcodes in HE games.
Makes it easier to test new titles.

svn-id: r17806
2005-04-26 06:47:42 +00:00
Gregory Montoir
8d76879849 cleanup
svn-id: r17740
2005-04-21 19:27:17 +00:00
Travis Howell
d7f263ff1a Add palette function for HE99+ games.
svn-id: r17737
2005-04-21 16:02:37 +00:00
Travis Howell
098e0cce58 Add palette function foe He99+ games.
svn-id: r17736
2005-04-21 15:40:40 +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
Gregory Montoir
ca5bb36c11 'unstubbed' o90_getLinesIntersectionPoint
svn-id: r17626
2005-04-16 14:22:14 +00:00
Travis Howell
4cd1104317 Checks actor costume frame.
svn-id: r17604
2005-04-15 01:02:22 +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
50bf840b9f Set result back to 1 for now, otherwise chase locks up.
svn-id: r17594
2005-04-14 03:26:23 +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
f195d26b25 Update debug message.
svn-id: r17541
2005-04-11 14:49:42 +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
Gregory Montoir
16061e0f42 minor corrections and cleanup
svn-id: r17471
2005-04-09 08:55:26 +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
2a5aaf9fc2 Add HE70+ version of seekFilePos opcode.
svn-id: r17450
2005-04-08 11:10:01 +00:00
Travis Howell
c2aff3bf46 A few off by 1's.
svn-id: r17448
2005-04-08 07:49:06 +00:00
Travis Howell
6a743ff741 Move palette functions
svn-id: r17440
2005-04-07 12:33:20 +00:00
Travis Howell
6ced0d698a Add WIP on hePalette.
svn-id: r17431
2005-04-07 10:43:51 +00:00
Travis Howell
19ff0b0085 Add hePalette function.
svn-id: r17424
2005-04-06 23:56:50 +00:00
Travis Howell
e46a677c0e Nevermind, only o_getObjectImageX/Y needed adjustment.
svn-id: r17376
2005-04-04 14:57:28 +00:00
Travis Howell
f077f357d0 Object width/height should be divded by 8 too.
svn-id: r17375
2005-04-04 14:51:42 +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
27cba7619e More sprite renames
svn-id: r17342
2005-04-03 02:24:28 +00:00
Gregory Montoir
c5a4854945 forgot casts
svn-id: r17339
2005-04-02 17:29:53 +00:00
Gregory Montoir
7b88503437 initial implementation of o72_arrayOps_127 and o90_sortArray
svn-id: r17337
2005-04-02 17:19:44 +00:00
Travis Howell
b5f281e9d8 Cleanup
svn-id: r17333
2005-04-02 14:24:43 +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
Travis Howell
fc59dcae3e Return correct object x/y position
svn-id: r17308
2005-03-31 12:58:11 +00:00
Travis Howell
a78e0d0b82 Add some missing code.
svn-id: r17307
2005-03-31 09:56:14 +00:00
Travis Howell
5a890eedd3 Add code for more o90_getPolygonOverlap() cases.
svn-id: r17304
2005-03-31 02:28:14 +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
b7f5e4cff6 Remove unused array.
svn-id: r17284
2005-03-29 13:49:17 +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
773ef15f4a Remove unused variable.
svn-id: r17203
2005-03-23 04:38:39 +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