Commit Graph

1158 Commits

Author SHA1 Message Date
Max Horn
84e5398b1c store the disk sounds/music were actually *loaded* from, instead of the 'current' disk
svn-id: r30310
2008-01-06 16:02:38 +00:00
Max Horn
690d38cfc4 Unify mixer pan/vol setting code
svn-id: r30308
2008-01-06 14:59:46 +00:00
Max Horn
79ba9686eb Fix bug #1864932: COMI: Game crashes on difficulty selection screen
svn-id: r30298
2008-01-06 13:54:19 +00:00
Travis Howell
743858b097 Fix regression in Let's Explore the Farm with Buzzy demo.
svn-id: r30296
2008-01-06 13:27:42 +00:00
Travis Howell
f31b835fda Resort a few cases and opcodes in HE code.
svn-id: r30289
2008-01-06 06:21:04 +00:00
Filippos Karapetis
71980d0fbd Fixed compilation
svn-id: r30285
2008-01-06 00:28:36 +00:00
Max Horn
1194495ad3 cleanup
svn-id: r30284
2008-01-06 00:09:05 +00:00
Max Horn
e52591ac0e clarify comment
svn-id: r30283
2008-01-06 00:00:53 +00:00
Max Horn
d340e77f24 Made IMuseDigital::stopSound use flushTrack instead of setting track->toBeRemoved = true; cleanup in flushTrack()
svn-id: r30282
2008-01-05 23:58:27 +00:00
Torbjörn Andersson
273c5b5cf1 Removed unnecessary newline in debug message.
svn-id: r30279
2008-01-05 23:57:12 +00:00
Max Horn
1d34ce3baa Let the audio mixer take care of (i.e. dispose) the Track::stream object, too
svn-id: r30277
2008-01-05 23:53:28 +00:00
Max Horn
ef9dac103f stop low priority sounds which we want to override immediatly
svn-id: r30275
2008-01-05 23:44:05 +00:00
Max Horn
dce7a57cad VAR_TMR_4 has a special role from VAR_TMR_1 till 3 (in particular, it exists across far more SCUMM versions), so rename it to VAR_TIMER_TOTAL
svn-id: r30271
2008-01-05 23:05:16 +00:00
Max Horn
56ad5f493e Play SOU data instantly, not slightly delayed -> allows us to get rid of Track::streamSou & Track::mixerStreamRunning (have not yet removed the latter to avoid introducing a new savegame version)
svn-id: r30268
2008-01-05 22:57:36 +00:00
Max Horn
7ebdffb0cd Seems IMuseDigital::cloneToFadeOutTrack was using the wrong pan value all the time
svn-id: r30267
2008-01-05 22:45:35 +00:00
Max Horn
f68d84b54f Moved some code which was being duplicated to methods of class Track
svn-id: r30266
2008-01-05 22:44:39 +00:00
Max Horn
923ad313dc Let the audio mixer delete the streamSou object
svn-id: r30265
2008-01-05 22:35:30 +00:00
Max Horn
3f6b2c97b7 When loading and before starting an iMuse Digitial track, reset it completely to zero
svn-id: r30262
2008-01-05 20:59:33 +00:00
Max Horn
1f364f54e7 Clarified some iMuse Digital code as I understand it
svn-id: r30260
2008-01-05 20:52:42 +00:00
Max Horn
077026e088 As far as I can tell / understand, IMuseDigital::getSoundStatus can safely just use isSoundHandleActive for both stream and streamSou (warning: might cause regressions)
svn-id: r30258
2008-01-05 20:50:10 +00:00
Max Horn
8b12998c72 Use souStreamUsed to distinguish between 'stream' and 'streamSou' usage
svn-id: r30257
2008-01-05 20:49:18 +00:00
Max Horn
c9a8d02f6e Do not busy wait in IMuseDigital::allocSlot on *any* platform
svn-id: r30255
2008-01-05 20:43:07 +00:00
Torbjörn Andersson
aa38a8eb96 Fixed regression that would cause ScummEngine_v80he to leak polygon slots at an
alarming rate.

svn-id: r30249
2008-01-05 17:43:33 +00:00
Paul Gilbert
6eb64102a4 Fix to remove a tab character from the GPL header
svn-id: r30238
2008-01-05 12:45:14 +00:00
Torbjörn Andersson
11efbda297 Made the Loom Roland music fix a bit more specific. Only one song in EGA Loom
is affected and, according to Kirben, none in Monkey Island 1 VGA. I don't know
about Monkey Island 1 EGA, but I've assumed it uses the same music as the VGA
versions.

svn-id: r30202
2008-01-03 19:43:43 +00:00
Travis Howell
6c6a2a57b5 Fix endian issue in checkArrayLimits().
svn-id: r30178
2008-01-03 03:34:25 +00:00
Travis Howell
639929a09e Fix endian issue in redimArray.
svn-id: r30176
2008-01-03 03:20:32 +00:00
Eugene Sandulenko
0f6246bab8 Fix for bug #896489: "DIG: Missing subtitles when talking to Brink"
svn-id: r30167
2008-01-02 21:15:23 +00:00
Eugene Sandulenko
040a7b54fa Oops. Moved too much code in the last commit.
svn-id: r30162
2008-01-02 18:59:15 +00:00
Eugene Sandulenko
2d94049bea Workaround for bug #1804278: "MONKEY: Mouse is invisible after loading"
svn-id: r30160
2008-01-02 18:44:20 +00:00
Eugene Sandulenko
a4cbfa354b Fix bug #1846886: "PUTTZOO: Windows version cursor/pointer drawn wrong"
svn-id: r30154
2008-01-02 17:33:57 +00:00
Eugene Sandulenko
082bed8898 Narrow fix for bug #1206994 only to FOA.
svn-id: r30149
2008-01-02 13:11:26 +00:00
Eugene Sandulenko
312346bdb4 Fix for bug #1206994: "FOA AMIGA: Black cursor and text in Dig Site"
svn-id: r30147
2008-01-02 12:58:18 +00:00
Travis Howell
01c611385e Fix regression when skipping cutscenes in Maniac Mansion (C64).
svn-id: r30144
2008-01-02 11:25:17 +00:00
Travis Howell
273ce5d924 Correct verbs names in German version of Maniac Mansion (C64).
svn-id: r30141
2008-01-02 11:11:09 +00:00
Torbjörn Andersson
f72b094c69 When fixing the EGA Loom Roland music, I accidentally broke music looping.
Should be fixed again now.

svn-id: r30135
2008-01-02 00:08:27 +00:00
Torbjörn Andersson
46368eac5f Added what I hope is the proper fix for bug #1498785 ("LOOM: Unknown Roland
MIDI music events"). It would probably be safe to commit to the 0.11 branch,
but I don't know for sure which games would be affected other than EGA Loom.

svn-id: r30132
2008-01-01 23:30:29 +00:00
Max Horn
f4f963800d Fix a long standing bug in playComiMusic (no idea whether this caused any bugs, though)
svn-id: r30128
2008-01-01 18:08:12 +00:00
Eugene Sandulenko
308b02f4ca Fix for bug #1766072: MANIACNES: Music Doesn't Start On Load Game
svn-id: r30122
2008-01-01 16:26:04 +00:00
Eugene Sandulenko
e5e53a0017 Split out charset font data for easier maintenance
svn-id: r30121
2008-01-01 15:36:50 +00:00
Eugene Sandulenko
43a18a4cdd Fix bug #1811732: "MANIAC C64: German version not supported"
svn-id: r30119
2008-01-01 15:25:12 +00:00
Paweł Kołodziejski
604bf6fff3 experimental change to fade out to 120 ms instead from table for state music with opcode 3 when few songs have the same attribute value
svn-id: r30118
2008-01-01 15:08:20 +00:00
Paweł Kołodziejski
cd84daf7f8 experimental change to prevent play first region with fade out if jump opcode is attached
svn-id: r30117
2008-01-01 15:05:27 +00:00
Max Horn
0ad70c7d84 SCUMM: Moved tick duration into a constant
svn-id: r30112
2008-01-01 11:41:47 +00:00
Max Horn
305f60e0db Patch #1839861 (Possible workaround for bugs related to cloneToFadeOutTrack): Fixes bug #1848399 and apparently also #1527274 & #1763227
svn-id: r30111
2008-01-01 11:27:29 +00:00
Max Horn
be11104d70 Removed obsolete _insaneRunning flag
svn-id: r30107
2007-12-31 16:34:30 +00:00
Paweł Kołodziejski
08020444f6 verified differences in play music code of the dig and comi
svn-id: r30103
2007-12-31 13:26:29 +00:00
Max Horn
a826cd36dd cleanup
svn-id: r30102
2007-12-31 13:05:32 +00:00
Oystein Eftevaag
1c88ab2c47 Enabling the SMUSH/sound ARM optimizations for the iPhone. Converting any numerical expressions in the asm to absolute values (moving the expression to comments) since the iPhone assembler can't handle them, and prepending an underscore to the exported symbols (with some preprocessor magic similar to the hq3x asm for handle ports where it's not needed)
svn-id: r30093
2007-12-31 01:50:18 +00:00
Torbjörn Andersson
a38fa007bb I thought only Full Throttle used the VAR_BLAST_ABOVE_TEXT variable, but I see
now that it's defined for v8 games as well, so call processUpperActors() from
that case too, just to be safe.

svn-id: r30091
2007-12-31 01:20:24 +00:00