Commit Graph

2404 Commits

Author SHA1 Message Date
Matthew Hoops
c109a60a92 SCUMM: Implement basic basketball court data parsing 2011-08-12 16:41:48 -04:00
Matthew Hoops
26befa4b40 SCUMM: Implement basketball u32 op 1012
The game no longer divides by zero when starting a match and the court is now visible.
2011-08-12 09:29:37 -04:00
Johannes Schickel
74560278b2 SCUMM: Change CMS sfx methods to use its own register set.
This is now like in the original and helps comparing register writes against
DOSBox's behavior.
2011-08-10 00:00:12 +02:00
Johannes Schickel
37a34e6da2 SCUMM: Do not pack structs in CMS code. 2011-08-10 00:00:06 +02:00
Travis Howell
05c0c8e98b SCUMM: Backyard Soccer 2004 uses a different INI setting to disable printing. 2011-08-09 11:46:50 +10:00
Matthew Hoops
dbceb0a77d SCUMM: Add some HE72 differences to mouse click handling
Backyard Soccer at least requires this to have input during gameplay.
2011-08-08 21:15:28 -04:00
Johannes Schickel
fdb2f735dc SCUMM: Remove unneeded check for CMS in readSoundResource.
CMS support is only available in games using readSoundResourceSmallHeader.
2011-08-08 20:15:24 +02:00
Travis Howell
99d5087918 SCUMM: Set default Benchmark speed in Moonbase Commander, based on the original Moonbase.ini. 2011-08-08 14:46:12 +10:00
Travis Howell
c87ff89b4a SCUMM: Update stub in arrayOps for Moonbase Commander. 2011-08-08 13:50:47 +10:00
Travis Howell
905e9bc3ed SCUMM: Add sprite code difference in Moonbase Commander. 2011-08-08 11:41:06 +10:00
Travis Howell
45dc303159 SCUMM: Fix endian issue in captureWizPolygon. 2011-08-08 09:48:31 +10:00
Johannes Schickel
acffd12d07 SCUMM: Further clean up of the CMS code. 2011-08-07 16:49:25 +02:00
Johannes Schickel
26b6fd5930 SCUMM: Clean up CMS code some more. 2011-08-07 16:15:46 +02:00
Johannes Schickel
88354bed23 SCUMM: Mark some overwritten methods as virtual. 2011-08-07 15:58:27 +02:00
Johannes Schickel
6bd9cd33d9 SCUMM: Cleanup CMS code a bit. 2011-08-07 15:56:49 +02:00
Christoph Mallon
e35b4f20c1 GRAPHICS: Simplify the interface of Graphics::loadThumbnail().
Now it returns the Surface, so the caller does not need to create one and pass it.
2011-08-07 15:19:09 +02:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Eugene Sandulenko
192b245d51 SCUMM: Fix compilation 2011-08-06 11:39:37 +01:00
Eugene Sandulenko
0dafa7f80f ALL: Reduce audio/ header dependency 2011-08-06 11:30:42 +01:00
Eugene Sandulenko
78f1ea7690 OSYSTEM: extended installTimerProc() with timer ID parameter 2011-08-06 11:28:35 +01:00
Eugene Sandulenko
c451ae639f SCUMM: Proper fix of Russian subtitles
Initial fix in 11a17b3 (r51211) led to chopped inventory items.
No idea why it does not work with our code, as it seems to match
the disassembly. Thus implementing this hackish workaround.
2011-08-06 11:28:30 +01:00
Johannes Schickel
68b4873559 SCUMM: Properly reset midi channel voice mapping in CMS on new track.
This fixes an ugly dead lock in some cases.
2011-08-06 03:45:40 +02:00
Johannes Schickel
70a694ce43 SCUMM: Remove unneeded members in CMS class. 2011-08-06 03:28:42 +02:00
Johannes Schickel
018e304916 SCUMM: Slight cleanup in CMS code. 2011-08-06 03:28:42 +02:00
Johannes Schickel
5a0eb6ba60 SCUMM: Fix some valgrind warnings in CMS code. 2011-08-06 03:28:42 +02:00
Matthew Hoops
ed2563bf35 SCUMM: Mark pass as having CMS support 2011-08-05 18:03:42 -04:00
Matthew Hoops
836f3fa052 SCUMM: Mark monkey1 VGA floppy as having CMS support 2011-08-05 17:29:30 -04:00
Matthew Hoops
a63aaec46b SCUMM: Mark Indy3 VGA as having CMS support 2011-08-05 17:15:23 -04:00
Johannes Schickel
b86de198a0 SCUMM: Fix up CMS player implementation.
It's much better now and hopefully quite close to the original when it comes
to the music part. The intro music of Loom and Monkey Island 1 EGA sounds fine
to me now at least.
2011-08-05 22:58:50 +02:00
Matthew Hoops
c36642651e SCUMM: Remove BluesBirthday dependency on the binary
The game scripts detected Yellow or Red variants based on what binary was present. That could potentially cause problems with a Mac dump in case someone dumped into MacBinary format.
2011-08-03 00:15:27 -04:00
Johannes Schickel
4faa2d5b42 SCUMM: Typos... thx clone2727. 2011-08-03 05:15:29 +02:00
Johannes Schickel
e1d881a227 SCUMM: Added FIXME to our old AdLib resource conversion code.
We handle command 0x80 incorrectly, which results in sound effects never
looping. This is the cause for bug #2027877 for example. I add this FIXME
since it is (probably) non-trivial to fix and so it won't be forgotten.
2011-08-03 05:10:24 +02:00
clone2727
6370984b22 Merge pull request #50 from clone2727/bink
Add support for Bink video to SCUMM HE
2011-07-18 16:04:39 -07:00
Johannes Schickel
69adb13c2f SCUMM: Fix strange noise in Indy4 outro with AdLib/FM-Towns output.
Formerly we tried to play back a ROL resource on AdLib in this case, since the
game does not contain a ADL resource for the sound the game tries to play here.
The original does not exhibit this behavior, thus I changed it to behave the
same now.

Big thanks to eriktorbjorn for noticing and finding the cause of this problem.
Also thanks to Kirben for checking how the original behaved and _athrxx for
checking the FM-Towns version of Indy4.
2011-07-17 02:27:33 +02:00
Johannes Schickel
8800794f4d SCUMM: Clarify PC Speaker style sound resource handling with a comment. 2011-07-17 00:08:52 +02:00
Johannes Schickel
482fcea8f3 SCUMM: Add debug output in case the code tries to set up a non-existant iMuse instrument. 2011-07-14 01:09:47 +02:00
athrxx
ed3fe4372a SCUMM: fix regression caused by recent sjis code changes 2011-07-14 00:53:03 +02:00
Johannes Schickel
f814dc971c SCUMM: Handle default instrument set up in iMuse like the original. 2011-07-14 00:49:32 +02:00
Johannes Schickel
9565af1ae4 SCUMM: Implement iMuse alloc part command closer to the original. 2011-07-14 00:49:32 +02:00
Matthew Hoops
a50abde1b1 BUILD: Allow for disabling Bink support 2011-07-13 12:08:26 -04:00
Eugene Sandulenko
10536e285c SCUMM: Fix bug #3306145: INDY3: EGA version script bugs
Based on a patch presented in the bugreport. Fixes several bugs
connected with calcualting IQ points in Amiga versions of Indy3.
2011-07-13 12:33:51 +01:00
Johannes Schickel
25c0f0a772 SCUMM: Adapt iMuse code formatting to our standards. 2011-07-11 22:53:41 +02:00
Johannes Schickel
a8846d37d5 Merge pull request #54 "SCUMM v5 PC Speaker driver".
Discussion can be found here: https://github.com/scummvm/scummvm/pull/54
2011-07-11 21:51:40 +02:00
Johannes Schickel
4ee228bb16 SCUMM: Fix some envelope bugs in PC Speaker output. 2011-07-10 19:23:59 +02:00
Johannes Schickel
5f5daadedb SCUMM: Let PC Speaker output be controlable via music volume. 2011-07-10 18:14:42 +02:00
Johannes Schickel
adb2bbbb59 SCUMM: Properly implement volume controler for PC Speaker output. 2011-07-10 18:06:33 +02:00
Johannes Schickel
5edb6f9e4a SCUMM: Fix priority settings in iMuse allocate part sysEx command.
Formerly we ever only used the lower 4 bit of the priority setting for a new
part. The original used a full 8 bit setting though (based on the Indy4 PC
Speaker output driver). This fixes missing notes in the Indy4 intro with PC
Speaker output.

This might affect other outputs too! And could cause regressions in case other
outputs implemented priority settings differently.
2011-07-10 17:58:41 +02:00
Johannes Schickel
781b7215c4 SCUMM: Fix PC Speaker sound.
Now we only output a new frequency if a new channel was selected or a new
output frequency has to be send. This makes the sound much more like in
DOSBox. This is not present in the original, but since our timings are
different this should make up for that.
2011-07-10 17:42:02 +02:00
Johannes Schickel
dab9c05783 SCUMM: Do not allow multi midi mode for PC Speaker output.
Thanks to eriktorbjorn for catching this.
2011-07-10 16:21:30 +02:00
Johannes Schickel
fb4ed2224f SCUMM: Minor clean up in iMuse instrument handling code. 2011-07-10 05:28:20 +02:00