Commit graph

106 commits

Author SHA1 Message Date
Travis Howell
b8aaa2ed04 Detect where wizImage type 1 should be flipped.
Show images without zoom or angle in ski ride of pajama3 for now.

svn-id: r19462
2005-11-05 13:05:52 +00:00
Travis Howell
eaf2f611f7 Correction for shapes drawing in fun shop titles.
svn-id: r19424
2005-11-04 10:21:16 +00:00
Travis Howell
58200eef8e Corrections to fillWizRect().
Fixes asserts in pearl locations of spyozon.

svn-id: r19422
2005-11-04 04:53:48 +00:00
Travis Howell
25336c3606 Values should only be set in HE99+.
Remove fixme, that difference in normal for ScummVM.

svn-id: r19421
2005-11-04 01:12:20 +00:00
Travis Howell
b7d57c9284 Add floodFill support for wizImages.
svn-id: r19379
2005-11-01 00:52:25 +00:00
Travis Howell
3374e399b5 Load/Save palette correctly in HE99 games.
Save actor shadows in HE games.

svn-id: r19231
2005-10-22 04:08:48 +00:00
Max Horn
8cc72cc03b Disambiguate code semantics (fixing a compiler warning)
svn-id: r19211
2005-10-21 10:28:59 +00:00
Travis Howell
79f5ecb1bb Add XMAP support for wizImages.
svn-id: r19201
2005-10-21 01:34:41 +00:00
Gregory Montoir
e7c8dc025a Fixed wiz TRLE encoding
svn-id: r19157
2005-10-18 19:16:17 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Travis Howell
8dd91d9b16 Add missing function for getWizData.
svn-id: r19106
2005-10-16 09:50:27 +00:00
Travis Howell
379fef7077 Remove dummy cases for additional codecs in moonbase.
If added, they should be placed in LogicHE.

svn-id: r18869
2005-09-24 00:44:01 +00:00
Gregory Montoir
e710a5e6b3 add fillWizPixel()
svn-id: r18726
2005-08-31 20:39:52 +00:00
Travis Howell
a820400f8c Replace warnings with debug, errors or printfs:
-To catch any missing cases/functions used.
-To prevent users reporting warnings as bugs

svn-id: r18681
2005-08-14 01:41:52 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Travis Howell
c14e60cb61 Rename function
Add comments for missing cases.

svn-id: r18538
2005-07-13 12:22:08 +00:00
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Travis Howell
fc7d6c4e26 -Add more Backyard sports titles
-Add additional HE100 opcodes changes for basketball
-Fix baseball asserts in VAR_WIZ_TCOLOR

svn-id: r18385
2005-06-14 03:06:56 +00:00
Travis Howell
fe07c5a99f Remove duplicate field.
svn-id: r18350
2005-06-05 08:15:30 +00:00
Travis Howell
b452ee87e7 Rename sprite functions, based on map.
svn-id: r18349
2005-06-05 08:02:50 +00:00
Travis Howell
dbba8d7318 Set zorder to zero by default.
svn-id: r18290
2005-05-29 12:14:31 +00:00
Travis Howell
f03b73a6a9 Set zorder to zero by default.
svn-id: r18289
2005-05-29 12:00:00 +00:00
Travis Howell
0951b90f7b Lock altered or file loaded wizImages, to make sure they aren't expired while in use.
Fixes glitches in mustard.

svn-id: r18227
2005-05-23 03:41:27 +00:00
Travis Howell
a103d1f2ec Move wizImage functions to Wiz class.
svn-id: r18226
2005-05-23 03:33:08 +00:00
Eugene Sandulenko
b9e8e40805 Turn Wiz struct into class as requested.
svn-id: r18224
2005-05-23 02:00:49 +00:00
Travis Howell
d6a20a231b Avoid HE regressions.
svn-id: r18068
2005-05-12 09:12:30 +00:00
Max Horn
b75c969e66 Moved class File and the MD5 stuff to namespace Common
svn-id: r18037
2005-05-10 22:56:25 +00:00
Travis Howell
1f8e813d84 One last case for funshop titles.
svn-id: r17955
2005-05-08 10:59:32 +00:00
Travis Howell
79514d4747 Range checks off by 1.
svn-id: r17954
2005-05-08 10:26:11 +00:00
Travis Howell
fb41dd8284 Add case stub for funshop titles
Add comment

svn-id: r17953
2005-05-08 10:16:41 +00:00
Travis Howell
c4d2ac0eb7 Additions for funshop titles.
svn-id: r17942
2005-05-07 11:07:45 +00:00
Travis Howell
8de4c596a0 Add missing opcode details
Fix regression (Fields not initied)

svn-id: r17938
2005-05-07 07:57:59 +00:00
Travis Howell
c16cceafad Get XMAP from correct resource.
Avoid regression.

svn-id: r17922
2005-05-05 15:19:30 +00:00
Eugene Sandulenko
6101cfd71b Skip wiz compression type 2 used by baseball2003
svn-id: r17902
2005-05-03 20:34:48 +00:00
Travis Howell
c090cc5a5f Add temporary hack for wizImages using compression type 2 for now.
svn-id: r17896
2005-05-02 07:36:23 +00:00
Travis Howell
4e1cb79473 Add feature flag for HE games with 16bit color.
svn-id: r17886
2005-05-01 14:22:00 +00:00
Travis Howell
cb6c2b9da5 Add extra cases for readdemo.
svn-id: r17879
2005-05-01 03:17:45 +00:00
Eugene Sandulenko
280abe9e91 Convert windows path separators before opening wiz files.
svn-id: r17874
2005-04-30 20:48:59 +00:00
Travis Howell
7118921a2a Add expanded _wizParams used by HE100 games.
Add u32 version variable.

svn-id: r17869
2005-04-30 05:25:06 +00:00
Travis Howell
a08f1b8c69 Add a few case stubs for moondemo.
svn-id: r17868
2005-04-30 04:05:02 +00:00
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