Commit Graph

2822 Commits

Author SHA1 Message Date
Max Horn
d4734bd4f2 use namespace Common a bit more; don't zero the RNG in scumm (else the seed gets reset); remove obsolete 256 color blending code
svn-id: r10592
2003-10-04 11:50:21 +00:00
Jonathan Gray
15a115c5ac fix target name
svn-id: r10585
2003-10-04 01:12:30 +00:00
Jonathan Gray
defa0e6ffc add indy4 towns target, untested but if the demo is any indication I don't see why it wouldn't work
svn-id: r10584
2003-10-04 01:09:55 +00:00
Jonathan Gray
68d923505e let adlib/native music for indydemo work
svn-id: r10580
2003-10-04 00:47:23 +00:00
Max Horn
ad293a5ab8 cleanup / doxygenification
svn-id: r10578
2003-10-03 23:34:06 +00:00
Jamieson Christian
5fa23e5fee Fix for Bug [817242] ALL: MT-32 to GM key velocity conversion
Implemented dynamic range matching for MT-32 tracks
routed to GM output devices.

svn-id: r10573
2003-10-03 19:32:18 +00:00
Max Horn
d7660a2662 introduced namespace Scumm; made #include statements use scumm/ prefix explicitly
svn-id: r10571
2003-10-03 18:33:57 +00:00
Max Horn
a6cb5aa76b fix another doxygen warning
svn-id: r10568
2003-10-03 13:49:06 +00:00
Max Horn
3ead57623e make doxygen happy
svn-id: r10567
2003-10-03 13:44:12 +00:00
Max Horn
d2e7146723 Potential fix for bug #816086
svn-id: r10566
2003-10-03 13:43:07 +00:00
Travis Howell
e6c626b756 Adjust timer for Amiga version of Monkey Island 1.
svn-id: r10559
2003-10-03 01:35:21 +00:00
Travis Howell
5b9aa79c41 This is used in Amiga version of Monkey Island 1.
svn-id: r10558
2003-10-03 01:31:39 +00:00
Max Horn
6c5b9fceee some doxygen
svn-id: r10557
2003-10-03 01:15:31 +00:00
Max Horn
e6819e42cf added getMusicTimer() to class MusicEngine; this allows some nice code cleanup; also added an error() invocation to find out if certain code is still needed
svn-id: r10556
2003-10-03 01:07:35 +00:00
Max Horn
2ed4677ede const as const can
svn-id: r10555
2003-10-03 00:59:27 +00:00
Max Horn
3f55f2669d renamed class Scumm to ScummEngine (consisten with other engine names; also makes room for a potential 'Scumm' namespace)
svn-id: r10549
2003-10-02 22:42:03 +00:00
Max Horn
0e645f88ae renamed namespace ScummVM to Common
svn-id: r10544
2003-10-02 17:43:02 +00:00
Jamieson Christian
db798a3e7d Fix for Bug [815851] DOTT: MT-32 MIDI priority
Favor 'ROL ' resources over 'GMD ' if
--native-mt32 is selected.

svn-id: r10537
2003-10-02 14:37:40 +00:00
Jamieson Christian
e78b1aeb44 A few FmTowns games don't fall under the GF_FMTOWNS flag.
Must not filter them out in stopSound().

svn-id: r10527
2003-10-01 18:27:31 +00:00
Jamieson Christian
b75a925640 Fix for Bug [812737] ALL: pitchbend range with MT32
Manual scaling of pitchbends to account for the fact that the
MT32 doesn't respond to RPN-based pitchbend range adjustments.
Also tweaked the MT32 partial reserve settings per Bug [812740].

svn-id: r10521
2003-10-01 15:19:12 +00:00
Max Horn
7c04dc7a86 patch #815478: fix object leak in V5 opcode
svn-id: r10513
2003-09-30 23:43:59 +00:00
Jamieson Christian
9d93e97ed4 Support for FMTowns versions of MI1/2,
submitted by Hibernatus.

svn-id: r10511
2003-09-30 17:53:42 +00:00
Jochen Hoenicke
748523dbe2 Generated signed sound samples (cf. feature request #812913).
svn-id: r10510
2003-09-30 17:10:03 +00:00
Torbjörn Andersson
967253c2f7 Fix GCC warning.
svn-id: r10509
2003-09-30 17:03:36 +00:00
Jamieson Christian
4ab0dff9eb This may be an issue in legit gameplay, but GF_FMTOWNS
games do use _musicEngine for the FM synth stuff, so
don't exclude it in stopSound(). (Is this assumption
made elsewhere also?)

svn-id: r10506
2003-09-30 16:45:50 +00:00
Jamieson Christian
43fb8e6c6f MDT_ADLIB for Indy3Towns (for YM2612 kludge)
svn-id: r10505
2003-09-30 16:36:00 +00:00
Jamieson Christian
c24b06abed More tweaks to the note durations
svn-id: r10504
2003-09-30 16:27:59 +00:00
Jamieson Christian
457f888ea7 Fixed MT-32 init not getting called
svn-id: r10501
2003-09-30 13:18:25 +00:00
Jamieson Christian
e70fcf1737 Fix for Bug [812740] ALL: MT32: some notes cut off early
logicdeluxe's patch to set MT-32 partial reserves
equally for all channels, to ensure that entire
notes don't get cut off. The patch as committed is
slightly modified to reorder the MT-32 initialization
sequence. The mods (1) ensure a brief delay between
SysEx transmissions to give the MT-32 time to process
each request, and (2) hopefully sequence the delays
such that the ScummVM welcome message is actually
readable and doesn't just flash for a split-second
(as was the reported behavior in the past).

svn-id: r10498
2003-09-30 08:25:57 +00:00
Jamieson Christian
c118d14098 Refined Euphony parser behavior, specifically,
added proper handling for F2 events, and
experimental handling for malformed 9x/00 events.

svn-id: r10497
2003-09-30 07:50:20 +00:00
Travis Howell
bca464fdf4 Add two more HE targets
svn-id: r10495
2003-09-30 06:11:55 +00:00
Jamieson Christian
70e8d2780d Cleanup, mostly related to matching up semantics
between Part and MidiChannel (which Part may
derive from eventually).

svn-id: r10480
2003-09-29 08:09:38 +00:00
Jamieson Christian
3f845084f1 Fixed iMuse termination sequence to avoid deadlock.
Fixes Bug [813920].

svn-id: r10477
2003-09-29 06:32:46 +00:00
Paweł Kołodziejski
6e13f4eb28 added two HE games
svn-id: r10466
2003-09-28 16:26:06 +00:00
Max Horn
4b74eec418 this was actually the fix for bug #809547
svn-id: r10465
2003-09-28 16:08:23 +00:00
Travis Howell
c7f6b92e74 Fix problem of verbs areas always been shown after reload in V1-V2 games.
Seems to fix problem of distaff highlights after reload in loom [ega].
Could cause regression in fm towns games.

svn-id: r10455
2003-09-28 03:19:26 +00:00
Jamieson Christian
044bcd5430 Added terminate() to the MusicEngine and publicized
the iMuse implementation. This allows the termination
sequence to be done BEFORE object destruction, so
that the destructor is not making calls that may not
be appropriate during object destruction. (Virtual
functions were the concern, although I'm not sure any
of that was happening anyway. Oh well, better to be
safe than sorry.)

I implemented an empty terminate() in the base class,
but the other MusicEngine derivatives may have stuff
in their destructors that should be moved to this
method. I didn't check.

svn-id: r10452
2003-09-28 00:03:24 +00:00
Max Horn
9b27f7307a cleanup
svn-id: r10447
2003-09-27 23:11:25 +00:00
Max Horn
80a8bca2c1 cleanup
svn-id: r10445
2003-09-27 22:53:09 +00:00
Max Horn
ca95c17e64 merged in some more changes/improvements by _Q; cleanup
svn-id: r10444
2003-09-27 22:27:12 +00:00
Max Horn
f9e025d13c fix for bug #813136
svn-id: r10443
2003-09-27 22:12:01 +00:00
Max Horn
6f978e9e30 some minor cleanup
svn-id: r10437
2003-09-27 20:31:19 +00:00
Max Horn
32d85b4ae0 some cleanup / removed some code duplication (more should be done, but I don't have the time right now). Since I lack data files to test this, I'd be grateful if somebody could check whether I broke something
svn-id: r10435
2003-09-27 19:43:06 +00:00
Max Horn
0b0bbed4e2 don't use delete to free memory allocated by malloc
svn-id: r10434
2003-09-27 18:18:05 +00:00
Jonathan Gray
5f2d799fd2 updates from _Q
svn-id: r10421
2003-09-27 06:33:22 +00:00
Paweł Kołodziejski
02efb31591 a little better
svn-id: r10419
2003-09-26 17:58:42 +00:00
Paweł Kołodziejski
3745b176b2 added v6 version of stamp object opcode
svn-id: r10418
2003-09-26 17:55:50 +00:00
Jonathan Gray
2ef1708333 stop gcc complaining
svn-id: r10417
2003-09-26 17:51:49 +00:00
Paweł Kołodziejski
a84f204b72 now more match dissassembly
svn-id: r10416
2003-09-26 17:33:58 +00:00
Jamieson Christian
a30eb131bb Fix for Bug [810564] ALL: missing instruments with native MT-32
As defined in Patch [811623] MT-32 patch for Bug 810564

Added a channel mask to MPU-401 devices so that --native-mt32
may force the device to use only the subset of MIDI channels
actually supported by the MT-32. Also added a best-guess
interpretation of iMuse Part priority in the SysEx 0x00 msg,
since part priorities become more of an issue when the
channel count is cramped.

svn-id: r10409
2003-09-25 22:32:05 +00:00