Commit Graph
133 Commits
Author SHA1 Message Date
Max Horn 49b9a8fc9d follow our coding conventions
svn-id: r8377
2003-06-07 00:49:36 +00:00
Max Horn 86df3537b9 replaced GF_AFTER with _version
svn-id: r8372
2003-06-07 00:13:26 +00:00
Travis Howell 97aaab9410 Don't attempt to play music/sfx on v1 games
svn-id: r8292
2003-06-04 13:33:50 +00:00
Max Horn f8ab6ad8da wtf is this doing here?!
svn-id: r8269
2003-06-02 10:17:46 +00:00
Max Horn 8b39e81afe cleanup
svn-id: r8236
2003-06-01 13:11:30 +00:00
Jonathan Gray a871dfafaf don't attempt to play sound on amiga versions of zak/maniac
svn-id: r8029
2003-05-26 23:23:44 +00:00
Jamieson Christian dbad55e532 Added Hoenicke's PC-speaker waveform generator
and script interpreter for GF_OLD_BUNDLE music resources.

We'll try to get the waveform generator into a
MidiDriver wrapper for use with the 'SPK' resources
of later games, but this is usable for now.

Great work, Hoenicke!

svn-id: r8023
2003-05-26 22:03:04 +00:00
Max Horn 54835862fb cleanup
svn-id: r7920
2003-05-25 00:30:48 +00:00
Max Horn 95b7e01548 cleanup
svn-id: r7919
2003-05-25 00:04:16 +00:00
Max Horn cb76f85ca6 correction for zak256 SFX
svn-id: r7918
2003-05-24 23:51:57 +00:00
Max Horn 4cda099c57 don't use _gameDataPath directly; minor cleanup
svn-id: r7907
2003-05-24 22:13:01 +00:00
Jamieson Christian eb09051517 Added XMIDI support to IMuse. IMuse now plays music from Humongous games.
Added some IMuse property options to support some assumptions that seem to be made by Humongous games.

This is still preliminary. It will play music, and it will switch between songs. But I don't know if it's switching to the right song at the right time.

svn-id: r7869
2003-05-23 18:35:53 +00:00
Max Horn c333b6d6ec replaced many unsafe uses of derefActorSafe by derefActor; replaced derefActorSafe/assert pairs by derefActor (gives better error message); replaced various derefActorSafe/if(a!=0) pairs by derefActor (in cases where the deref should never fail, ever, except due to a bug in ScummVM)
svn-id: r7859
2003-05-23 13:24:41 +00:00
Max Horn c78664cbc9 renamed talkFrame1/talkFrame2 to talkStartFrame/talkStopFrame
svn-id: r7819
2003-05-22 09:58:33 +00:00
Max Horn 86d57f3c7a many pedantic warning fixes (and some actual potential buglets fixed, too)
svn-id: r7795
2003-05-21 18:09:49 +00:00
Max Horn 8d1110bfee init all Bundle members properly; make _voiceFile/_musicFile protected
svn-id: r7718
2003-05-20 11:56:36 +00:00
Jamieson Christian ad39f15e05 Auto loop for non-puttdemo games
svn-id: r7693
2003-05-19 18:49:16 +00:00
Jonathan Gray 6cb61537f4 enable midi for non puttdemo humongous games. need to properly return the result of whether music is running though...
svn-id: r7673
2003-05-19 08:04:47 +00:00
Jamieson Christian e088227e3b Removed annoying debug output
svn-id: r7671
2003-05-19 05:14:18 +00:00
Jamieson Christian 417dc08484 Proof of concept for XMIDI parser in Humongous games.
You must still uncomment the VAR_SOUNDPARAM setting for this to work...?

svn-id: r7670
2003-05-19 05:04:38 +00:00
Max Horn b43ea06a80 fixed illegal var access in V7/V8 games
svn-id: r7475
2003-05-12 19:53:18 +00:00
Max Horn 98881c3a6a init all VAR_* variables to 0xFF; replaced access to _vars in the form _vars[VAR_*] by VARS(VAR_*) which performs a validity checK; renamed _vars to _scummVars to make sure I updated all places; fixed two places where V6 and newer games would access V5 vars (but there are still some left, it seems); checked VAR access for now only generates a warning
svn-id: r7393
2003-05-08 15:48:50 +00:00
Max Horn b3eb397ad2 reordered iMuseDigital stuff to be next to each other
svn-id: r7289
2003-05-03 20:45:31 +00:00
Max Horn 00d796e451 slightly better hack because it will work with loaded games, too, and doesn't use any evil static vars
svn-id: r7282
2003-05-03 12:41:35 +00:00
Max Horn 24b3b32b16 fix for my hack :-)
svn-id: r7281
2003-05-03 12:28:37 +00:00
Max Horn 029b99691a hack that avoids buglet where music doesn't stop in MonkeyVGA/EGA
svn-id: r7280
2003-05-03 11:42:25 +00:00
Max Horn 48293bd132 various music related changes and cleanup; also modified MonkeyVGA music sync, at least the intro is much better synced now; not sure about other parts of it / other games
svn-id: r7237
2003-05-01 00:04:05 +00:00
Max Horn 2b74abd2c9 PalmOS changes
svn-id: r7224
2003-04-30 13:23:31 +00:00
Jonathan Gray d60bc44587 add preliminary bits for making xmi music in humongous games work, just need someone to do something with the pointer now :)
svn-id: r7072
2003-04-22 11:34:46 +00:00
Max Horn a33e4dddac ignore sound resource in OLD_BUNDLE games for now
svn-id: r6992
2003-04-12 19:42:12 +00:00
Jonathan Gray 9bfcce6e79 remove incorrect cast
svn-id: r6925
2003-04-06 23:22:54 +00:00
Nicolas Bacca fb20404df0 Watch this cast
svn-id: r6912
2003-04-05 11:24:58 +00:00
Nicolas Bacca 103937ea63 Add delay in ms for tremor vorbis implementation and possible autodetection
svn-id: r6911
2003-04-05 09:55:12 +00:00
Max Horn c409895483 make the volume controls in the global options dialog work
svn-id: r6863
2003-03-25 15:55:27 +00:00
Max Horn be47bc121e cleanup
svn-id: r6847
2003-03-23 13:14:54 +00:00
Max Horn 1baa7e30d0 cleanup
svn-id: r6836
2003-03-18 22:07:49 +00:00
Max Horn 0602882b18 cleanup
svn-id: r6832
2003-03-18 16:13:52 +00:00
Max Horn 8073abd096 clean up / some more sanity checks
svn-id: r6760
2003-03-08 00:05:27 +00:00
Max Horn 7ec34ab1a9 refactored some stuff (and made readMAXS virtual, with V2/V3 code having own implementations); cleaned up V6 array shuffle code; made more Scumm member vars/methods protected
svn-id: r6751
2003-03-07 21:38:46 +00:00
Paweł Kołodziejski 39510ce4cc changed voice buffer allocation to needed size
svn-id: r6737
2003-03-07 07:49:10 +00:00
Paweł Kołodziejski 26144eda33 decreased sound buffer for imuse digital, bundle music, and cmi smush audio
svn-id: r6735
2003-03-07 06:41:44 +00:00
Max Horn dd24a5d797 overlooked one
svn-id: r6730
2003-03-07 01:36:42 +00:00
Max Horn 7222d05d68 uhh - code did modify ptr, then free() it (even before my change, which exposed the problem by always freeing, not just upon errors
svn-id: r6729
2003-03-07 01:35:54 +00:00
Max Horn fd2e1c2413 fixed memory leak (1 MB each time a bundle sound was plyed... ouch)
svn-id: r6728
2003-03-07 01:21:55 +00:00
Paweł Kołodziejski aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski 093428ae9a and more cleanup
svn-id: r6718
2003-03-06 17:58:13 +00:00
Jonathan Gray 91786c253d add bundle file names for comi demo, and only add .IMX when playing the full version
svn-id: r6688
2003-03-04 06:10:07 +00:00
Jonathan Gray d31b7439e1 we were reading 8 bytes too much on DIGI sounds
svn-id: r6648
2003-03-01 13:32:45 +00:00
Jonathan Gray 88906b0360 hacky support for humongous talkie format
svn-id: r6646
2003-03-01 12:44:52 +00:00
Jonathan Gray 0e5a19e13e change rate for humongous DIGI sounds to 11025
svn-id: r6644
2003-02-28 11:32:43 +00:00