Commit graph

133 commits

Author SHA1 Message Date
Travis Howell
cca8d4733c *** empty log message ***
svn-id: r16994
2005-03-06 00:48:40 +00:00
Eugene Sandulenko
88498dc622 Fix spriteAddImageToList() according to disassembly. (sbb-related)
svn-id: r16992
2005-03-05 23:50:50 +00:00
Travis Howell
4fb6f0059e Remove invalid sprite check
svn-id: r16990
2005-03-05 00:34:02 +00:00
Travis Howell
14074de4b0 Correct classId value.
svn-id: r16985
2005-03-03 10:46:04 +00:00
Travis Howell
c840db8ab2 *** empty log message ***
svn-id: r16956
2005-02-28 04:35:26 +00:00
Travis Howell
d343ba9bb9 Cleanup
svn-id: r16955
2005-02-28 04:34:22 +00:00
Travis Howell
3b2fe18d2c Rename sprite functions
svn-id: r16954
2005-02-28 04:17:17 +00:00
Travis Howell
0d8a49de37 Revert the spriteGroupId checks.change.
svn-id: r16951
2005-02-27 06:07:09 +00:00
Travis Howell
991c1859b1 Correct spriteGroupId checks.
Remove duplicate/pointess code.

svn-id: r16950
2005-02-27 06:01:11 +00:00
Travis Howell
68d15ad91d Correction, only redraw if flags changed.
svn-id: r16949
2005-02-27 05:14:24 +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
Gregory Montoir
23c2b3fc96 typo
svn-id: r16934
2005-02-26 12:48:51 +00:00
Travis Howell
4a803b93c0 Correction to findSprite()
svn-id: r16932
2005-02-26 12:10:06 +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
46844bbb7d added a missing line to findSpriteWithClassOf and updated _varNumSpriteGroups computing
svn-id: r16927
2005-02-26 10:59:50 +00:00
Travis Howell
77b50fcce8 Typo
svn-id: r16926
2005-02-26 10:53:23 +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
1d23aada61 Catch all invalid image resource reads
svn-id: r16924
2005-02-26 04:53:43 +00:00
Travis Howell
6d7935cc6b Revert that last change, mixed functions.
svn-id: r16923
2005-02-26 04:20:47 +00:00
Travis Howell
2689832d75 Rename sprite function
Correct spritesResetSpriteGroup

svn-id: r16922
2005-02-26 03:57:11 +00:00
Travis Howell
4da8a6e1f0 Fix sprite states
svn-id: r16921
2005-02-26 01:39:52 +00:00
Travis Howell
574047157a Fix sprite hacks
svn-id: r16920
2005-02-26 00:35:23 +00:00
Travis Howell
1bcfa18667 More work on findSpriteWithClassOf()
svn-id: r16919
2005-02-25 23:37:25 +00:00
Paweł Kołodziejski
a73906443b fixed compilation for emsvc4
svn-id: r16917
2005-02-25 20:15:01 +00:00
Travis Howell
2e60c4fbd3 Add WIP findSpriteWithClassOf() function
svn-id: r16914
2005-02-25 15:19:03 +00:00
Travis Howell
475b1e1395 Update WizParameters struct, to match pajama3.
svn-id: r16912
2005-02-25 11:45:25 +00:00
Travis Howell
563b271224 Cleanup, reduce duplicate code.
svn-id: r16911
2005-02-25 11:23:27 +00:00
Travis Howell
a82cff4816 Correct check
svn-id: r16909
2005-02-25 02:07:22 +00:00
Travis Howell
1f56546052 *** empty log message ***
svn-id: r16907
2005-02-25 01:23:36 +00:00
Travis Howell
6ae017622a *** empty log message ***
svn-id: r16906
2005-02-25 01:20:46 +00:00
Travis Howell
cae8366844 Add missing parts of spritesProcessWiz()
svn-id: r16905
2005-02-25 01:15:16 +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
Travis Howell
976b988448 Ooops, should be _varNumSprites
svn-id: r16900
2005-02-24 12:22:14 +00:00
Travis Howell
b16dc17f63 Add missing sprite redraw
svn-id: r16898
2005-02-24 11:45:22 +00:00
Travis Howell
8a5918aa2e Correct sprite flags in resetSprite
svn-id: r16897
2005-02-24 11:22:05 +00:00
Travis Howell
40771358a6 Correct classId.
svn-id: r16896
2005-02-24 08:26:58 +00:00
Travis Howell
350ed76947 Update sprite calls in main loop
svn-id: r16894
2005-02-24 08:00:30 +00:00
Travis Howell
dcb22ee216 Correct SpriteInfo_setFlags*
Rename functions

svn-id: r16890
2005-02-24 06:47:12 +00:00
Eugene Sandulenko
e26480aaee This is a dirty hack which lets see HE sprites, so further debugging is
possible.

svn-id: r16889
2005-02-24 05:11:37 +00:00
Eugene Sandulenko
5787793e05 Fix bug in ScummEngine_v90he::spritesSortActiveSprites()
svn-id: r16888
2005-02-24 04:28:44 +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
4bc6cfd469 Fix regression, seems like bug in pajama3 disasm.
svn-id: r16886
2005-02-24 00:48:24 +00:00
Eugene Sandulenko
e936c234af implementation of spritesSortActiveSprites()
svn-id: r16885
2005-02-23 23:28:53 +00:00
Eugene Sandulenko
5ae4dde2fb Fix spriteInfoGet_classFlags*.
svn-id: r16882
2005-02-23 12:26:17 +00:00
Travis Howell
1b7e174f88 Add sprite function
svn-id: r16881
2005-02-23 12:04:42 +00:00
Travis Howell
f215c1ceae Update HE100
svn-id: r16880
2005-02-23 11:15:41 +00:00