Commit Graph

37 Commits

Author SHA1 Message Date
Travis Howell
94e554a670 Rename sprite field for HE games.
svn-id: r17706
2005-04-20 05:24:02 +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
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
Travis Howell
43278f9523 Set size of sprite fields
svn-id: r17460
2005-04-08 23:32:30 +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
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
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
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
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
17562c097a FindSprite should report the spriteId.
svn-id: r17027
2005-03-07 11:34:23 +00:00
Travis Howell
0d33190008 Rename sprite fields
svn-id: r16999
2005-03-06 04:31:02 +00:00
Gregory Montoir
decda90ffd moved some variables to ScummEngine_v90he and renamed some SpriteInfo fields
svn-id: r16947
2005-02-27 03:36:33 +00:00
Eugene Sandulenko
3abfcbc579 Lots of other sprite-related renames as suggested by cyx.
svn-id: r16930
2005-02-26 11:22:00 +00:00
Eugene Sandulenko
885d584842 Rename HE sprite flag kSF31 -> kSFImageless and corresponding functions.
svn-id: r16929
2005-02-26 11:05:13 +00:00
Gregory Montoir
4f5589bb8b fix issue in spritesBlitToScreen and added some suggestions for fields/flags renaming
svn-id: r16925
2005-02-26 10:02:22 +00:00
Travis Howell
685b070107 Rename SpriteGroup fields
svn-id: r16904
2005-02-24 23:28:56 +00:00
Eugene Sandulenko
451527e2af Rename sprite flags as suggested:
kSF22 -> kSFYFlipped
kSF23 -> kSFXFlipped

svn-id: r16903
2005-02-24 23:11:50 +00:00
Eugene Sandulenko
84453d5725 o Fixed sprite flags everywhere. In many cases they were wrong as they were
checked in higher byte not whole word.
o Some flags/functions renames

svn-id: r16902
2005-02-24 21:05:29 +00:00
Gregory Montoir
cc5e406cb5 defined some flags for HE wiz ; it should make the code more readable
svn-id: r16901
2005-02-24 20:20:35 +00:00
Eugene Sandulenko
1ad372c589 Initial implementation of spritesProcessWiz. Also plugged it into main loop.
svn-id: r16887
2005-02-24 04:04:17 +00:00
Travis Howell
f215c1ceae Update HE100
svn-id: r16880
2005-02-23 11:15:41 +00:00
Travis Howell
861e418e70 freddicove adds extra SpriteInfo field.
Correction, only redraw sprite if value changed.

svn-id: r16876
2005-02-23 09:23:54 +00:00
Gregory Montoir
44c6bbe438 some WIP stuff for HE sprites
svn-id: r16865
2005-02-22 21:38:44 +00:00
Eugene Sandulenko
03804ce33f Rename script flags as suggested.
svn-id: r16853
2005-02-22 01:23:15 +00:00
Eugene Sandulenko
6dd4854ba4 cyx's WIP for sprites. Implemented spritesBlitToScreen
svn-id: r16852
2005-02-22 01:16:41 +00:00
Eugene Sandulenko
70982f556e o WIP for o90_spriteInfoSet.
o kSFx -> kSF0x
o kSGFx -> kSGF0x

svn-id: r16835
2005-02-21 00:02:44 +00:00
Gregory Montoir
f1f7e6ce7a some WIP HE sprites stuff
svn-id: r16832
2005-02-20 22:16:31 +00:00
Eugene Sandulenko
79a0434971 Sprite flags and one rename in SpriteInfo structure.
svn-id: r16825
2005-02-20 15:05:18 +00:00
Travis Howell
e4b51cbdf2 Add a few sprite functions.
svn-id: r16823
2005-02-20 13:07:57 +00:00
Travis Howell
04fdd5bc52 Add WIP sprite struct for HE games, ready for functions.
svn-id: r16821
2005-02-20 10:56:59 +00:00