Commit graph

94 commits

Author SHA1 Message Date
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
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