36 Commits

Author SHA1 Message Date
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
Max Horn
ac247c9b94 Started to move some resource related code into a new class ResourceManager (hypothetic goal for the future: use ResourceManager in ScummEx)
svn-id: r17311
2005-03-31 21:39:31 +00:00
Travis Howell
b5eb59dff1 Ooops
svn-id: r17296
2005-03-30 14:54:23 +00:00
Travis Howell
644bced723 *** empty log message ***
svn-id: r17295
2005-03-30 14:32:01 +00:00
Travis Howell
b93b50809a Correct return values were lost in last commit.
Also revert cleanup from scumm/akos.cpp revision 1.185.
Clipping isn't compatible, due to possible negative values.

svn-id: r17294
2005-03-30 14:12:57 +00:00
Travis Howell
41f910b5ad Revert cleanup from scumm/gfx.cpp revision 2.348.
Clipping isn't compatible, due to negative values.

Fixes many sprite glitches, since code is used to calculating offsets for images.

svn-id: r17293
2005-03-30 13:34:24 +00:00
Travis Howell
6bb533f936 Cleanup
svn-id: r17292
2005-03-30 11:49:53 +00:00
Travis Howell
1b940f9811 Update HE issues
svn-id: r17273
2005-03-28 13:17:46 +00:00
Travis Howell
2938c66276 Rename WizParameters field.
Correct start strip in drawBMAPBg()

svn-id: r17236
2005-03-26 06:00:58 +00:00
Travis Howell
50759016b0 Change processWizImage() to error on unknown case, to see where additional cases are required.
Update HE issues.

svn-id: r17216
2005-03-24 04:15:01 +00:00
Gregory Montoir
b0a1228c43 some wiz flags renaming
svn-id: r17210
2005-03-23 21:55:11 +00:00
Travis Howell
9928c9fdda Find where this flag is triggered too.
svn-id: r17064
2005-03-10 11:40:07 +00:00
Travis Howell
dea3893ebd Used in displayWizComplexImage() too.
svn-id: r17061
2005-03-10 11:24:26 +00:00
Travis Howell
a913095ee0 Add HE specific versions of findResource/findResourceData.
Required by WizImage functions, which sometimes alter data.

svn-id: r17060
2005-03-10 11:06:37 +00:00
Travis Howell
e21b1755b5 Add back some lost code from cyx, for future changes.
svn-id: r17059
2005-03-10 10:20:02 +00:00
Travis Howell
ebcf64df56 _imagesNum should be clear in startScene()
svn-id: r17044
2005-03-09 05:04:14 +00:00
Gregory Montoir
9cad557149 corrections
svn-id: r17041
2005-03-08 20:27:33 +00:00
Travis Howell
2e8dee216e Update comments
svn-id: r16991
2005-03-05 02:56:51 +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
Gregory Montoir
d5d3bc8e3b correction, WIZH tag is LE
svn-id: r16948
2005-02-27 04:14:54 +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
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
Travis Howell
1d23aada61 Catch all invalid image resource reads
svn-id: r16924
2005-02-26 04:53:43 +00:00
Travis Howell
574047157a Fix sprite hacks
svn-id: r16920
2005-02-26 00:35:23 +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
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
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Gregory Montoir
da874257a5 to please PalmOS, I moved the _wiz member to ScummEngine_v70he, where it actually belongs, I don't quite like the upcasts I introduced, but I don't know how to deal without them
svn-id: r16132
2004-12-19 12:30:40 +00:00
Gregory Montoir
5e351b0c31 moved all the HE wiz stuff to a separate module, with minor cleanups and simplifications
svn-id: r15921
2004-11-27 17:50:23 +00:00