Commit Graph

66 Commits

Author SHA1 Message Date
Travis Howell
9380304832 Read index of music file in HE games at startup.
Only reliable way to always get correct music tracks.

svn-id: r17798
2005-04-25 05:44:12 +00:00
Travis Howell
637e86e5b4 Remove out dated comment.
svn-id: r17784
2005-04-24 04:51:36 +00:00
Travis Howell
45bc8afad0 Fix header check when using external wizImage files.
svn-id: r17745
2005-04-22 03:30:58 +00:00
Gregory Montoir
7127485ebc some cleanup and added some error() calls when handling wiz images type different from 0 and 1
svn-id: r17741
2005-04-21 19:39:15 +00:00
Travis Howell
dace543c07 Fix source clipping of rawWizImages in HE games.
Can get further in spyozon now.

svn-id: r17734
2005-04-21 12:25:53 +00:00
Gregory Montoir
7c110ef819 minor cleanup
svn-id: r17692
2005-04-19 17:55:09 +00:00
Travis Howell
9daddf5955 wizImage compression type 2 uses different decode method, so disable for now.
svn-id: r17645
2005-04-17 09:45:38 +00:00
Travis Howell
6feb1a75f6 Revert + 1 to width/height, caused invalid write.
svn-id: r17644
2005-04-17 07:40:40 +00:00
Travis Howell
58298999f3 Error on all unknown compression types.
Remove some unused cases.

svn-id: r17617
2005-04-16 11:01:31 +00:00
Travis Howell
537b8ae7e8 Add missing check for palette remap in drawWizImage.
Can get further in freddi4.

svn-id: r17613
2005-04-16 06:16:22 +00:00
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