Commit Graph

136 Commits

Author SHA1 Message Date
Max Horn
cca744f69a Comply to our coding conventions
svn-id: r17975
2005-05-08 21:49:52 +00:00
Travis Howell
abef7907df Set sprite id & group number for wizImages.
svn-id: r17870
2005-04-30 05:34:31 +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
bb2c4e6a9e Update debug message.
svn-id: r17712
2005-04-20 10:38:13 +00:00
Travis Howell
51af9cf4aa Add some additional details for sprite fields.
Remove the unused sprite/spriteGroup fields.
Break old He90+ saves but they aren't stable anyway.

svn-id: r17711
2005-04-20 10:33:20 +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
Gregory Montoir
7c110ef819 minor cleanup
svn-id: r17692
2005-04-19 17:55:09 +00:00
Travis Howell
97652af225 MIN/MAX were in reverse.
svn-id: r17607
2005-04-15 15:19:41 +00:00
Gregory Montoir
7c2e66df0e Got rid of scaleX and scaleY, previous code was relying on overflow and to get it right, we would have to introduce floating point numbers. Easier, yet less efficient, is just to get rid of those 2 temporary variables and do the multiplications and divisions when needed.
svn-id: r17605
2005-04-15 08:34:18 +00:00
Marcus Comstedt
b9da94d8f1 MIN() on two different datatypes not allowed...
svn-id: r17551
2005-04-11 20:34:21 +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
dbc4d13b3d load/save sprite data in HE90+ games.
svn-id: r17459
2005-04-08 23:27:36 +00:00
Travis Howell
3efdccee37 Ooops
svn-id: r17451
2005-04-08 12:05:15 +00:00
Travis Howell
c2aff3bf46 A few off by 1's.
svn-id: r17448
2005-04-08 07:49:06 +00:00
Travis Howell
0c49146b41 Cleanup
svn-id: r17385
2005-04-05 12:52:43 +00:00
Travis Howell
27cba7619e More sprite renames
svn-id: r17342
2005-04-03 02:24:28 +00:00
Travis Howell
2e1ce57b5f Add additional case.
svn-id: r17341
2005-04-03 01:42:06 +00:00
Travis Howell
1f719929e9 Fix sprite redraws
svn-id: r17336
2005-04-02 15:59:02 +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
5a890eedd3 Add code for more o90_getPolygonOverlap() cases.
svn-id: r17304
2005-03-31 02:28:14 +00:00
Travis Howell
ba98e11eb1 Rename sprite functions
svn-id: r17285
2005-03-29 14:11:08 +00:00
Travis Howell
3e2be22926 Add temp. hack for sprite redraws
svn-id: r17283
2005-03-29 09:32:43 +00:00
Travis Howell
7c4b5b2a58 Should continue the main loop, not inner loop.
Fixes using sprites in circdemo

svn-id: r17282
2005-03-29 09:24:41 +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
2b45b04e1a Rename sprite flags, as suggested by cyx.
svn-id: r17214
2005-03-24 03:47:54 +00:00
Gregory Montoir
b0a1228c43 some wiz flags renaming
svn-id: r17210
2005-03-23 21:55:11 +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
06a8268792 Check for negative value
svn-id: r17070
2005-03-11 03:21:43 +00:00
Travis Howell
42e6a731cb Missing zero.
svn-id: r17063
2005-03-10 11:34:41 +00:00
Travis Howell
b26dfb63b4 *** empty log message ***
svn-id: r17046
2005-03-09 06:29:31 +00:00
Travis Howell
185ed9d2bc A few more safety checks
svn-id: r17045
2005-03-09 06:28:46 +00:00
Travis Howell
69a39e3c54 Correct position
svn-id: r17043
2005-03-09 01:05:08 +00:00
Travis Howell
436d2181e1 Remove unused sprite code, unused by original games.
svn-id: r17038
2005-03-08 12:36:32 +00:00
Travis Howell
5379f74ab3 Should be reverse order, sprite input works now.
svn-id: r17030
2005-03-07 21:58:47 +00:00
Travis Howell
82d347a99a Don't change mouse pos. values.
svn-id: r17029
2005-03-07 14:08:08 +00:00
Travis Howell
17562c097a FindSprite should report the spriteId.
svn-id: r17027
2005-03-07 11:34:23 +00:00
Travis Howell
f202b4d06d Use sprite groups number, not sprite id.
svn-id: r17000
2005-03-06 04:49:58 +00:00
Travis Howell
0d33190008 Rename sprite fields
svn-id: r16999
2005-03-06 04:31:02 +00:00
Travis Howell
524d3310c4 Ooops, reversed that.
svn-id: r16998
2005-03-06 04:26:24 +00:00