354 Commits

Author SHA1 Message Date
Travis Howell
7e388f2237 Add support for mp3 or ogg musics tracks for Monkey Island 1 for Amiga.
svn-id: r12005
2003-12-29 08:19:57 +00:00
Max Horn
12aea7c0da fixed another potential crash-on-exit
svn-id: r11983
2003-12-27 21:33:34 +00:00
Paweł Kołodziejski
25a7b9ef33 fixed compilation
svn-id: r11976
2003-12-27 18:29:21 +00:00
Max Horn
17c189d1f9 get rid of _noSubtitles, use ConfigManager directly instead; clean up some IMuseDigital oddities
svn-id: r11966
2003-12-27 15:22:59 +00:00
Max Horn
0aa7993218 renamed VOC functions
svn-id: r11962
2003-12-27 14:10:45 +00:00
Max Horn
e3e6bb3191 got rid of those _maxFOO macros, replaced them by access to the equivalent _numFOO variables
svn-id: r11953
2003-12-26 23:11:35 +00:00
Max Horn
aa26fa0681 when introducing a constant used throughout multiple files, best assign a *name* to it, else you're digging your own grave on the long run :-)
svn-id: r11941
2003-12-26 13:13:56 +00:00
Paweł Kołodziejski
a45e92efed passthrought v7+ sound voices by imuse digital
svn-id: r11939
2003-12-26 12:15:23 +00:00
Travis Howell
908fbe2ac5 Set _sfxMode in HE games.
svn-id: r11938
2003-12-26 07:59:55 +00:00
Max Horn
509ce7c4db cleanup; fix File::open usage (do not hardocde constant values, rather use the symbolic namescvs diff | bbeditcvs diff | bbedit
svn-id: r11911
2003-12-25 15:09:23 +00:00
Paweł Kołodziejski
964b34e721 ops
svn-id: r11908
2003-12-25 14:01:38 +00:00
Paweł Kołodziejski
35cbe8d3a0 some changes to digital imuse
svn-id: r11907
2003-12-25 13:56:22 +00:00
Paweł Kołodziejski
1abfe5d63f start sound call directly digital imuse, only script part handled by mainloop of scumm script
svn-id: r11906
2003-12-25 11:14:05 +00:00
Max Horn
3fe9778b04 cleanup
svn-id: r11895
2003-12-24 17:47:51 +00:00
Max Horn
859a9c0129 o Added SoundMixer::isReady()
o Removed SoundMixer::bindToSystem()
o In scumm, replaced _silentMixer, _silentDigitalImuse and _noDigitalSamples by SoundMixer::isReady()

svn-id: r11893
2003-12-24 17:42:22 +00:00
Max Horn
e9269257f3 turned PlayingSoundHandle into an 'opaque' (well not really :-) data type, mainly because people kept (accidentally and sometimes on purpose :-) misusing them
svn-id: r11881
2003-12-24 00:25:18 +00:00
Max Horn
3f77642948 Replace the DOTT/SAM hack (which ensures that only one SFX is being played at a time for them) with proper code: instead of hacking the sound handle, we assign a fake sound ID to the SFX, thus ensuring only one is playing at a time
svn-id: r11880
2003-12-23 19:18:20 +00:00
Max Horn
4abee14310 cleanup
svn-id: r11865
2003-12-23 00:17:29 +00:00
Max Horn
cc241c52cc actually, converting a sound handle to a sound index is an evil hack, too... :-)
svn-id: r11859
2003-12-22 20:28:27 +00:00
Max Horn
1e5496b2c8 Moved bundle music code from class Sound to IMuseDigital (seems more natural; and allows for various cleanup)
svn-id: r11846
2003-12-22 08:22:04 +00:00
Max Horn
7757d7accf cleanup
svn-id: r11817
2003-12-21 16:01:38 +00:00
Max Horn
e439eb5129 added convenience SoundMixer::playVorbis variant which calls through to playSfxSound_Vorbis; made scumm/queen engines use it
svn-id: r11812
2003-12-21 15:47:52 +00:00
Max Horn
7fbb3e0559 Cleaned up SoundMixer::newStream() a bit (I plan to replace all usages of this by playInputStream(), this cleanup eases this a bit)
svn-id: r11803
2003-12-21 01:17:03 +00:00
Max Horn
fbcca63058 Incorrect use of stopChannel (must be stopHandle); replaced single remaining use of stopChannel by a hack (note: the code in question is a hack in itself already)
svn-id: r11799
2003-12-21 00:40:42 +00:00
Max Horn
a458da989b cleanup
svn-id: r11729
2003-12-18 01:22:28 +00:00
Max Horn
35c481fd61 * don't call a variable 'bit' which stores a byte'
* fix off-by-one loop length
* loopStart seems to be specified in samples, not bytes, fixing that (but I don't know of any place where I could test it...)
* Indy3Towns uses sound type 255, not 1, for Euphony music, it seems empirically
* print a warning if we encounter an unknown/unsupported sound sub-type

svn-id: r11618
2003-12-13 20:01:35 +00:00
Jamieson Christian
425126fa61 Removed #include "midiparser.h". It was only there for the early Humongeous XMIDI hacks.
svn-id: r11557
2003-12-10 23:44:25 +00:00
Max Horn
e68ac71155 added API to query CD playback status; renamed AudioCDManager methods
svn-id: r11422
2003-11-29 13:56:33 +00:00
Max Horn
f00cd05b33 moved Audio CD (emulation) code from scumm/sound.cpp to sound/, so that it may be reused by other engines in the future
svn-id: r11421
2003-11-29 12:11:01 +00:00
Travis Howell
c90d4c4e08 Alter old demo check
Stop crash on exit with comi demo

svn-id: r11341
2003-11-18 05:14:18 +00:00
Travis Howell
3ce3b33c62 COMI demos only have 3 fonts files.
Don't do CD checks for COMI demos

svn-id: r11336
2003-11-18 01:57:00 +00:00
Paweł Kołodziejski
3ec24507ca added voice support for mac dig demo
svn-id: r11330
2003-11-17 22:52:21 +00:00
Paweł Kołodziejski
5334ce49a8 added voice support in dig demo
svn-id: r11329
2003-11-17 22:21:59 +00:00
Travis Howell
313a912af2 *** empty log message ***
svn-id: r11281
2003-11-13 10:51:02 +00:00
Paweł Kołodziejski
97c78cc376 changed getting position of bundle song to ms
svn-id: r11265
2003-11-12 07:05:52 +00:00
Max Horn
0bcc7ce80e made Scumm::OptionsDialog subclass GUI::OptionsDialog (code reuse); replaced Sound::_sound_volume_master and friends by ConfMan.get() calls; some whitespace cleanup
svn-id: r11257
2003-11-11 00:40:35 +00:00
Paweł Kołodziejski
1f9e408e2f cleanup whitespaces
svn-id: r11217
2003-11-08 21:59:32 +00:00
Max Horn
ad2db08940 renamed some Timer methods
svn-id: r10868
2003-10-17 16:39:32 +00:00
Max Horn
96a8d0ec1c proper fix for COMI timer issue: don't let a Timer remove itself
svn-id: r10867
2003-10-17 16:30:24 +00:00
Max Horn
31ba12c800 some more target<->game cleanup
svn-id: r10769
2003-10-12 19:10:17 +00:00
Max Horn
d177364715 new config manager. not everything is completed, and some things will still be changed, but it seems to work well enough to put it into CVS
svn-id: r10687
2003-10-08 21:59:23 +00:00
Travis Howell
bafce8daf5 Remove comment, which is no longer needed too.
svn-id: r10655
2003-10-07 03:59:24 +00:00
Travis Howell
5c64695367 Ooops, used wrong one.
svn-id: r10653
2003-10-07 03:58:29 +00:00
Travis Howell
dacd8ce4d1 FM TOWNS sfx fix, correct sample rate.
svn-id: r10652
2003-10-07 03:54:49 +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
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
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
9d93e97ed4 Support for FMTowns versions of MI1/2,
submitted by Hibernatus.

svn-id: r10511
2003-09-30 17:53:42 +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
Max Horn
6f978e9e30 some minor cleanup
svn-id: r10437
2003-09-27 20:31:19 +00:00