2890 Commits

Author SHA1 Message Date
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
Paweł Kołodziejski
2122f11793 added HE game
svn-id: r10405
2003-09-25 06:12:04 +00:00
Jamieson Christian
cbcf5d5f7d Can't delete a const pointer, duh
svn-id: r10400
2003-09-25 00:02:56 +00:00
Oliver Kiehl
c96c900546 fix gcc compile
svn-id: r10399
2003-09-24 12:57:37 +00:00
Chris Apers
c8fbafda9a Disable Palyer_V2A on PalmOS, since the source doesn't compile with it
svn-id: r10397
2003-09-24 08:32:19 +00:00
Travis Howell
d60237eab9 Revert change that caused more problems
svn-id: r10395
2003-09-24 07:40:19 +00:00
Travis Howell
e9dd4dc167 Revert change that caused more problems
svn-id: r10394
2003-09-24 07:38:59 +00:00
Travis Howell
4a62eb3e3b More Amiga V2/V3 sound updates from _Q_:
1. A Player_MOD class, basically acts as a simplified mixer that mixes at 60Hz intervals (or whatever interval you specify), this gives smooth music playback in player_v3a
2. Some changes to player_v3a as a result of #1, including reduced music volume
3. player_v2a, and the necessary additions to scummvm.cpp/scumm.h

svn-id: r10392
2003-09-24 06:56:30 +00:00
Torbjörn Andersson
570e60a487 Whitespace changes
svn-id: r10390
2003-09-24 06:33:59 +00:00
Paweł Kołodziejski
908eb0823f added HE game putt race
svn-id: r10388
2003-09-24 05:59:32 +00:00
Paweł Kołodziejski
6a2fff0b5b added two HE games
svn-id: r10387
2003-09-23 20:29:50 +00:00
Jonathan Gray
8ccd2934a5 correct description, are these demos in the correct section of version ordering by the way? run strings or similiar over the .w32 files and play match the strings
svn-id: r10372
2003-09-23 09:34:07 +00:00
Paweł Kołodziejski
23e6bc5777 added two different versions of HE demos
svn-id: r10371
2003-09-23 09:01:51 +00:00
Paweł Kołodziejski
698e40ff1b fixed conversion warning under vc7
svn-id: r10370
2003-09-23 08:56:12 +00:00
Max Horn
392651dc1b removed unused macro
svn-id: r10357
2003-09-21 18:15:28 +00:00
Travis Howell
14af07351f Fix #807291
svn-id: r10344
2003-09-21 04:54:34 +00:00
Max Horn
21ce55bc9f make console height/width based on a float percentage of the overlay size -> the overlay isn't so tiny anymore in COMI
svn-id: r10329
2003-09-20 01:08:48 +00:00
Max Horn
d9b0a79390 fixed some pointer cast warnings on systems with 64 bit pointers (like AMD64)
svn-id: r10315
2003-09-19 19:11:33 +00:00
Max Horn
0c8df28387 cleanup; some more fixed need afnow that the premix proc is expected to generate stereo data; (we probably should add a common base class for Player_V1/V2 instead of deriving V1 from V2)
svn-id: r10312
2003-09-19 14:43:57 +00:00
Max Horn
abdc8f1247 cleanup
svn-id: r10311
2003-09-19 14:13:24 +00:00
Torbjörn Andersson
dd261199d0 This change was made to player_v2.cpp recently, and seems to fix bug
#809036 ("MANIAC64: Sound echoes").

I don't understand the exact implications of it, but I assume it has to do
with the premix function having to generate stereo samples now.

svn-id: r10309
2003-09-19 09:02:03 +00:00
Max Horn
1a6d75ef39 changed scumm/object.cpp for V1/V2 once again - this time it really should match the original behaviour
svn-id: r10306
2003-09-19 01:12:05 +00:00
Max Horn
f7d50f7c68 unify legal headers a bit here
svn-id: r10305
2003-09-18 19:56:38 +00:00
Max Horn
6a4663824e added initial support for building our 4 adventure engines as loadable modules; right now only work on OS X; once we add more build rules, other systems with dlopen() should work, too (e.g. Linux); Windows support may come later. This is still very much WIP
svn-id: r10304
2003-09-18 18:23:53 +00:00
Max Horn
292cdb02ed just generate the data as stereo, instead of munging the buffer at the end
svn-id: r10298
2003-09-18 16:15:38 +00:00
Max Horn
9470c9f661 changed & documented the premixer semantics
svn-id: r10294
2003-09-18 16:01:33 +00:00
Max Horn
a15fdcea21 plugin work: right now, only with build rules for OS X. Once I can get it to work here, I'll add more build rules. Work in progress, a lot ain't work, but the plugin stuff is disabled by default, so no harm should arise
svn-id: r10292
2003-09-18 13:03:56 +00:00
Max Horn
be9d4066e1 moved engine.* to base; this fixes some linking issues when building a barebone ScummVM (or maybe I just want to increase our CVS stats? <g>)
svn-id: r10287
2003-09-18 02:07:18 +00:00
Max Horn
c1a678afeb new module 'base'; moved gameDetector.*, main.cpp and base/plugins.* there (this removes the need for an ugly hack in the build system, and is also conceptionally cleaner)
svn-id: r10282
2003-09-17 22:41:01 +00:00
Max Horn
231cb16b5b some tweaks to the build system (work toward plugin support)
svn-id: r10279
2003-09-17 21:53:13 +00:00
Jamieson Christian
dffa1cbc2f Removed redundant presets storage.
svn-id: r10266
2003-09-16 21:28:46 +00:00
Jamieson Christian
091b41a278 Partial fix for Bug [636985] ZAK256: No kazoo tune
Implemented a parser for Euphony music. No
FM instrument support yet, as the FM chip used
by FM Towns is not being emulated yet. In the
meantime, a stock FM-emulated GM instrument is
being used instead.

This at least makes the Zak Towns kazoo tune
and the Loom Towns distaff audible. Emulation
of the FM Towns synth chip, or suitable
emulation using the OPL2 synth, is still
under investigation.

svn-id: r10265
2003-09-16 11:44:48 +00:00
Jamieson Christian
e0129c34e7 Feature Request [806641] Increase MIDI
performance by omitting redundancies

Removed the use of the _bank member for iMuse Parts.
The member is still being saved/loaded, and a
warning will display if a non-zero _bank value is
set. If it turns out some musical passage is actually
using the _bank, we'll need to reinstate it.
Otherwise, after sufficient testing we can obsolete
it in the savegames.

svn-id: r10261
2003-09-15 21:35:30 +00:00