Commit Graph

225 Commits

Author SHA1 Message Date
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
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
31c89144dc Rename sprite functions
svn-id: r17172
2005-03-17 09:42:31 +00:00
Travis Howell
2c4b7dfd32 Another correction to sprite flags
svn-id: r17171
2005-03-17 09:28:36 +00:00
Travis Howell
8776504882 Rename sprite fields/functions
svn-id: r17136
2005-03-14 12:54:24 +00:00
Travis Howell
013f8b1803 Rename sprite flags/functions
svn-id: r17119
2005-03-13 13:25:28 +00:00
Travis Howell
4526328f7c Rename sprite flags/functions
svn-id: r17116
2005-03-13 13:10:39 +00:00
Travis Howell
4560295352 Correct sprite flags mistake.
svn-id: r17115
2005-03-13 12:59:25 +00:00
Travis Howell
44205266e8 Add missing case for getObjectData
svn-id: r17109
2005-03-12 23:59:14 +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
Travis Howell
a913095ee0 Add HE specific versions of findResource/findResourceData.
Required by WizImage functions, which sometimes alter data.

svn-id: r17060
2005-03-10 11:06:37 +00:00
Travis Howell
5759e1577c Add opcode for bb2demo
svn-id: r17035
2005-03-08 05:56:21 +00:00
Travis Howell
d2dab23510 Add HE100 difference in opcode.
svn-id: r17033
2005-03-08 03:52:02 +00:00
Travis Howell
214742783e Add opcode for Spy Fox 2 mini game.
svn-id: r17026
2005-03-07 10:21:23 +00:00
Travis Howell
26da9cc393 Fix dup_n, billboard in circdemo works now.
svn-id: r17024
2005-03-07 06:06:22 +00:00