161 Commits

Author SHA1 Message Date
Travis Howell
3addf48534 Fix detection of rotated sprite.
svn-id: r20322
2006-01-31 01:06:04 +00:00
Travis Howell
e079fa1382 Cleanup
svn-id: r20321
2006-01-31 00:46:20 +00:00
Travis Howell
548961ecc3 A
Fix memory leaks in HE games on exit.

svn-id: r20208
2006-01-27 06:05:03 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Travis Howell
631797d7e0 Match sizes of original versions, to avoid possible overflows.
svn-id: r20052
2006-01-16 09:20:27 +00:00
Travis Howell
0c4c4ffecd Revert +1 change, causes more glitches in lost.
svn-id: r19483
2005-11-06 11:29:08 +00:00
Max Horn
3f20bdb34a No need to pass savegameVersion to saveOrLoad, the serializer already knows it
svn-id: r19244
2005-10-22 22:54:59 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Travis Howell
6e446ad46f Use delay, not value in setSpriteGeneralProperty.
svn-id: r19096
2005-10-15 10:31:18 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Gregory Montoir
1a5c8cd3da In lost/smaller, spriteGroups bounds set by Sprite::setGroupBounds() aren't always valid rects, add a check for this.
svn-id: r18578
2005-07-23 16:11:20 +00:00
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Travis Howell
322cce8d34 Ooops, mixed up one function name.
svn-id: r18351
2005-06-05 08:22:09 +00:00
Travis Howell
fe07c5a99f Remove duplicate field.
svn-id: r18350
2005-06-05 08:15:30 +00:00
Travis Howell
b452ee87e7 Rename sprite functions, based on map.
svn-id: r18349
2005-06-05 08:02:50 +00:00
Travis Howell
d4456afa44 Correct off by one, fixes minor glitches in lost/smaller.
svn-id: r18292
2005-05-29 14:55:12 +00:00
Travis Howell
dbba8d7318 Set zorder to zero by default.
svn-id: r18290
2005-05-29 12:14:31 +00:00
Travis Howell
84b9f4b2e0 Rename sprite functions.
svn-id: r18231
2005-05-23 11:50:36 +00:00
Travis Howell
28e156df83 Add Sprite class and move over related functions.
svn-id: r18230
2005-05-23 09:30:43 +00:00
Travis Howell
a103d1f2ec Move wizImage functions to Wiz class.
svn-id: r18226
2005-05-23 03:33:08 +00:00
Eugene Sandulenko
b9e8e40805 Turn Wiz struct into class as requested.
svn-id: r18224
2005-05-23 02:00:49 +00:00
Travis Howell
c3d3915823 Minor correction.
svn-id: r18219
2005-05-22 12:45:06 +00:00
Gregory Montoir
1c6788797e sprite_he.cpp
svn-id: r18010
2005-05-09 18:47:39 +00:00
Gregory Montoir
302fdd3eee oops
svn-id: r18009
2005-05-09 18:34:55 +00:00
Gregory Montoir
c0ec310a43 fixed spritesMarkDirty
svn-id: r18008
2005-05-09 18:26:36 +00:00
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