5281 Commits

Author SHA1 Message Date
Torbjörn Andersson
27bcd6e47a When restoring older savegames, fill the script slot 'cycle' fields with
what I hope is a sensible value. This fixes a regression with a MonkeyVGA
savegame I had where none of the scripts that should have been running
were since all 'cycle' fields were 0.

svn-id: r16969
2005-03-02 07:11:58 +00:00
Travis Howell
f097bcbf2b Fix string display in Buzzy games.
svn-id: r16968
2005-03-02 07:00:42 +00:00
Travis Howell
7dd05d6d10 Fix COMI part III regression, I lost a line.
svn-id: r16967
2005-03-02 05:01:52 +00:00
Torbjörn Andersson
91c1c67fc5 Fixed warning.
svn-id: r16966
2005-03-01 07:45:36 +00:00
Max Horn
a9e53c989c Perform some validation before using GFX strip offset (see also bug #795214)
svn-id: r16964
2005-02-28 20:20:57 +00:00
Gregory Montoir
15bfd975a0 preliminar work on processWizImage 9 and updated wiz flags
svn-id: r16963
2005-02-28 20:19:56 +00:00
Travis Howell
e50aca32a8 Missed a change.
svn-id: r16960
2005-02-28 13:34:52 +00:00
Travis Howell
36705d4344 Add support for script cycles used by HE90+ games.
svn-id: r16958
2005-02-28 13:23:10 +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
d5d3bc8e3b correction, WIZH tag is LE
svn-id: r16948
2005-02-27 04:14:54 +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
a0347d46de fixed footdemo startup wizimage
svn-id: r16946
2005-02-27 03:23:16 +00:00
Gregory Montoir
5eec97c24c added processWizImage mode 8 ; this breaks footdemo, feel free to disable
svn-id: r16945
2005-02-27 02:55:13 +00:00
Travis Howell
4cb4f662c8 Rename vars
svn-id: r16944
2005-02-27 02:29:54 +00:00
Travis Howell
8560e08940 Ooops
svn-id: r16943
2005-02-27 01:23:50 +00:00
Travis Howell
68581fe2e0 Add floodState struct and rename opcode.
svn-id: r16942
2005-02-27 01:20:44 +00:00
Travis Howell
52989edb1c Update debug msg.
svn-id: r16940
2005-02-27 00:49:09 +00:00
Travis Howell
cf0aac1506 Add more safety checks.
svn-id: r16939
2005-02-27 00:42:52 +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
Eugene Sandulenko
e106b0a853 Disable ditrherers for v1 games. Algorithm there is different and also
palette settings seem to be different too. So to not let people get confused
it is disabled until proper implementation.

svn-id: r16928
2005-02-26 11:02:27 +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
Max Horn
51391279cc cleanup
svn-id: r16910
2005-02-25 10:00:06 +00:00
Travis Howell
a82cff4816 Correct check
svn-id: r16909
2005-02-25 02:07:22 +00:00
Travis Howell
587d4da23a Init sprites
svn-id: r16908
2005-02-25 01:34:33 +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