5703 Commits

Author SHA1 Message Date
Travis Howell
d4ba67a497 Use correct music offsets for HE games, only a few demos use wrong tunes now.
Get all music details for HE games from one function only.

svn-id: r17662
2005-04-18 07:18:33 +00:00
Max Horn
58966d6b90 Move stuff around
svn-id: r17661
2005-04-17 23:24:31 +00:00
Max Horn
96e40213ef New virtual method getObjectIdFromOBIM
svn-id: r17660
2005-04-17 23:19:16 +00:00
Max Horn
c4e7f403f8 Split out some index reading code into a new method readIndexBlock()
svn-id: r17659
2005-04-17 22:59:43 +00:00
Max Horn
adc21c1ac3 Move _numActors to a more sensible place, and make it protected; fix confirmFOODialog() method names to comply with our guidelines
svn-id: r17658
2005-04-17 22:40:45 +00:00
Max Horn
fe93d2d7cf cleanup
svn-id: r17657
2005-04-17 22:37:16 +00:00
Travis Howell
e53cefd4b9 Doesn't exist in HE72
svn-id: r17656
2005-04-17 14:33:21 +00:00
Travis Howell
7d7e2a11a2 Debug no longer needed.
svn-id: r17655
2005-04-17 14:27:17 +00:00
Travis Howell
c673f5250e Fix buffer overflow regression.
Use same buffer sizes as original.

svn-id: r17654
2005-04-17 14:20:44 +00:00
Travis Howell
caae2f00de Add separate function for loading palette from choosen room.
Avoid pointer problems.

svn-id: r17653
2005-04-17 12:55:42 +00:00
Max Horn
e0adf9db17 oops, again
svn-id: r17648
2005-04-17 11:24:42 +00:00
Max Horn
a19ab36dff oops
svn-id: r17647
2005-04-17 11:23:55 +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
95c23c4cc8 Missing brackets.
svn-id: r17643
2005-04-17 03:09:03 +00:00
Travis Howell
036a985f94 Ooops
svn-id: r17633
2005-04-16 15:26:19 +00:00
Travis Howell
1507203d93 VAR78 needs to be set in HE80+ games
Active sound channels VAR exists in HE80 too.

svn-id: r17632
2005-04-16 15:21:19 +00:00
Travis Howell
ee62127ace Add mouse state VAR for HE 72+ games.
svn-id: r17631
2005-04-16 14:59:15 +00:00
Travis Howell
471a58680d Filter out extra path setting and useless setting when writing INIs details in HE games.
svn-id: r17629
2005-04-16 14:45:21 +00:00
Gregory Montoir
ca5bb36c11 'unstubbed' o90_getLinesIntersectionPoint
svn-id: r17626
2005-04-16 14:22:14 +00:00
Travis Howell
f958556ba6 Small correction.
svn-id: r17625
2005-04-16 14:07:43 +00:00
Max Horn
a804152443 cleanup
svn-id: r17623
2005-04-16 12:42:09 +00:00
Max Horn
90217a59af Improved auto-detection if MD5 is not known / MD5 support is disabled
svn-id: r17622
2005-04-16 12:41:56 +00:00
Travis Howell
e9be61a465 Disable again, some sounds loop forever.
svn-id: r17619
2005-04-16 11:31:00 +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
6e903f684a Cleanup
svn-id: r17616
2005-04-16 10:42:19 +00:00
Travis Howell
43aab9eabb Cleanup
svn-id: r17615
2005-04-16 10:26:49 +00:00
Travis Howell
57711d54fe puttmoon GID no longer used.
svn-id: r17614
2005-04-16 10:16: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
a9ff09b066 Adjust for footdemo, which triggers assert.
svn-id: r17612
2005-04-16 05:36:01 +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
97652af225 MIN/MAX were in reverse.
svn-id: r17607
2005-04-15 15:19:41 +00:00
Gregory Montoir
7c2e66df0e Got rid of scaleX and scaleY, previous code was relying on overflow and to get it right, we would have to introduce floating point numbers. Easier, yet less efficient, is just to get rid of those 2 temporary variables and do the multiplications and divisions when needed.
svn-id: r17605
2005-04-15 08:34:18 +00:00
Travis Howell
4cd1104317 Checks actor costume frame.
svn-id: r17604
2005-04-15 01:02:22 +00:00
Max Horn
4b18be1cf7 Removing this casting operator. I changed the only place it was used to an 'error' a long time ago, and so far nobody reported anything about it.
svn-id: r17601
2005-04-14 19:23:21 +00:00
Travis Howell
1b76f9d058 Set remap flag
svn-id: r17600
2005-04-14 12:18:42 +00:00
Travis Howell
7a30956dcd Add missing safety check, needed when called directly.
Fixes assert in eggs away of farm.

svn-id: r17599
2005-04-14 11:33:12 +00:00
Travis Howell
5ddb09fecb Add missing safety check, should only clip if rect is valid.
Fixes Eggs Away in farm

svn-id: r17598
2005-04-14 11:23:18 +00:00
Travis Howell
a3882f3af7 Add HE7.2 difference in o_getResourceSize().
Add support for checking size of music resource.

svn-id: r17595
2005-04-14 06:06:59 +00:00
Travis Howell
50bf840b9f Set result back to 1 for now, otherwise chase locks up.
svn-id: r17594
2005-04-14 03:26:23 +00:00
Gregory Montoir
dbfd703d51 Updated comment
svn-id: r17590
2005-04-13 19:48:49 +00:00
Eugene Sandulenko
4532652b39 Fix bug #1182206 "Maniac Mansion (NES) doesn't run anymore after Apr 10 commit"
svn-id: r17585
2005-04-13 13:32:58 +00:00
Travis Howell
d8467268c4 Off by one.
svn-id: r17583
2005-04-13 11:03:23 +00:00
Travis Howell
4b7999b6fa Ooops, was not used.
svn-id: r17582
2005-04-13 10:40:06 +00:00
Travis Howell
d3ea799f23 _stringBuffer can have mutple strings, ie in pajama2 startup.
Add safety check for buffer size.

svn-id: r17581
2005-04-13 10:34:47 +00:00
Travis Howell
b8d3bec568 Read/write INI entries from config file in HE games.
svn-id: r17580
2005-04-13 06:53:38 +00:00
Torbjörn Andersson
75f6aa850b Fixed Indy 3 fighting in the "Passport to Adventure" demo. Apparently it
expects the same keyboard mapping as FOA does.

svn-id: r17578
2005-04-13 06:30:41 +00:00
Torbjörn Andersson
c9388604a3 Increased buffer size to avoid overflow when looking at the Loom help in
the "Passport to Adventure" demo.

svn-id: r17577
2005-04-13 06:30:02 +00:00
Eugene Sandulenko
bdbd56406c Patches #1164217 "Updated GS Support + Percussion Remapping Patch" and
#1181750 "Updated Native MIDI documentation". Thanks _tom a lot.

svn-id: r17571
2005-04-13 00:11:49 +00:00