56 Commits

Author SHA1 Message Date
Travis Howell
2b6bdb6119 DstResNum state is always zero.
svn-id: r17611
2005-04-16 05:18:59 +00:00
Travis Howell
c810139b72 use dstResNum for destination, if set.
svn-id: r17610
2005-04-16 04:56:06 +00:00
Travis Howell
1b76f9d058 Set remap flag
svn-id: r17600
2005-04-14 12:18:42 +00:00
Travis Howell
003b3a3f48 Add missing segment
svn-id: r17568
2005-04-12 13:44:06 +00:00
Travis Howell
4efa8da52a Not all polygons should be cleared in startScene().
A few minor corrections.

svn-id: r17567
2005-04-12 13:18:40 +00:00
Travis Howell
03f07f7f8a Add angle change.
svn-id: r17563
2005-04-12 06:06:56 +00:00
Travis Howell
fefd65c33c Use paletteNum.
svn-id: r17562
2005-04-12 05:26:48 +00:00
Gregory Montoir
d602e19991 minor change, to be consistent with rest of Wiz code
svn-id: r17546
2005-04-11 18:09:27 +00:00
Gregory Montoir
863007c5fb added processWizImage mode 10
svn-id: r17545
2005-04-11 17:59:55 +00:00
Travis Howell
ae69af7ecf Pointer off by 8
svn-id: r17501
2005-04-10 03:50:17 +00:00
Travis Howell
b40fa83d41 Add initial rmap support for wizImages.
svn-id: r17497
2005-04-10 01:25:33 +00:00
Travis Howell
240a6f7406 Switch back to warning, since it is used in maze
svn-id: r17481
2005-04-09 15:12:26 +00:00
Paweł Kołodziejski
877d3fdad1 fixed warning
svn-id: r17456
2005-04-08 22:02:12 +00:00
Travis Howell
bac8f7a90c Ooops
svn-id: r17442
2005-04-07 15:01:31 +00:00
Travis Howell
9ac823cf81 Correct palPtr
svn-id: r17439
2005-04-07 12:23:44 +00:00
Travis Howell
6ced0d698a Add WIP on hePalette.
svn-id: r17431
2005-04-07 10:43:51 +00:00
Max Horn
3d5b5f2ad8 Moved createResource, resourceStats, expireResources to ResourceManager
svn-id: r17420
2005-04-06 17:31:35 +00:00
Travis Howell
90b475f53f Use correct buffer when capturing wizImage.
Puzzle in 1grademo and jokes/photo booth in pajama work now.

svn-id: r17389
2005-04-05 15:21:18 +00:00
Travis Howell
eeb70bdfd2 Writing into wizImage no longer crashes.
svn-id: r17386
2005-04-05 14:42:36 +00:00
Travis Howell
f230fe65e8 Add 8 sound channel support for HE games
-Allows sound looping to work

Added support for WAVE format musuc used in later HE100 games.

svn-id: r17372
2005-04-04 11:43:25 +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
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