Commit Graph

55 Commits

Author SHA1 Message Date
Max Horn
004ea9f8eb converted heaps of int16 to int for V8 compatibility; fixed defineArray for V8; added some work in o8_kludge2
svn-id: r6132
2002-12-25 14:46:39 +00:00
Jamieson Christian
50b69cb2db Fixed inappropriate expiration of sound resources,
which fixes concurrency issues esp. in PocketPC and MorphOS.
Stubbed SysEx command 2 (start of song) to get rid of annoying warning.
Changed MT-32 instrument warnings to fit on one (80-char) line.

svn-id: r5842
2002-12-05 21:45:55 +00:00
Max Horn
1a97719ae5 fix warning when compiling w/o vorbis/mp3 support
svn-id: r5603
2002-11-19 01:52:22 +00:00
Jamieson Christian
5da9c10dab Fixes to Master/SFX/Music volumes:
- All are in 0-255 range now. No 0-127 mismatches.
- Master volume now affects SFX and Music, consistent with LEC behavior.
- The [ and ] keys now affect Music volume, not Master. Consistent with LEC behavior.
Also changed [ and ] increment to 16, for 256/16 = 16 volume increments outside the GUI.

svn-id: r5592
2002-11-17 17:59:00 +00:00
Max Horn
775adc7a4f more initialisation fixes
svn-id: r5533
2002-11-13 15:08:22 +00:00
Max Horn
973032dd90 fixed warnings
svn-id: r5425
2002-11-05 21:29:44 +00:00
Max Horn
4bde7140a2 fix for bug #633082; added some asserts to catch similiar problems in the future
svn-id: r5417
2002-11-05 13:39:09 +00:00
Jonathan Gray
6614318d2f fix the fixme.. changing one of the pcm_seek calls back to time_seek was what I meant to do...
svn-id: r5356
2002-10-31 00:39:48 +00:00
Jonathan Gray
605b7f1d2a force non integer math to make loom work properly with vorbis again
svn-id: r5355
2002-10-31 00:32:54 +00:00
James Brown
63ee97b1ee Fix using MAD -without- Vorbis, and remove COMPRESSED_SOUND_FILE define.
Please keep in mind that if you put an 'else' statement in an if clause, keep in mind that if the code it's supposed to
'else' is in another define.... and that isn't set... the NEXT statement of code will be used as the 'if..else'
condition.

svn-id: r5344
2002-10-28 12:56:42 +00:00
Paweł Kołodziejski
bf3505da5c don't put samples into stream SoundMixer if sound card is disabled
svn-id: r5338
2002-10-27 19:32:36 +00:00
Travis Howell
a0734ef3f9 Add monster.sog support, patch #629362
Enable ogg support by default in mingw builds and link in ogg lib

svn-id: r5333
2002-10-27 11:41:08 +00:00
Jonathan Gray
d93e639086 patch #628997 support for ogg vorbis instead of cd tracks by Daniel Schepler. Uncomment the relevant lines in the makefile to use
svn-id: r5320
2002-10-27 01:12:10 +00:00
Max Horn
ab13e67b09 fix -Wshadow warnings
svn-id: r5270
2002-10-23 00:24:43 +00:00
Max Horn
5151e561d5 fixing various warnings that occur with -Wshadow;some other minor cleanup
svn-id: r5239
2002-10-22 11:48:24 +00:00
James Brown
34ec25201c Patch 622642
svn-id: r5218
2002-10-21 16:27:23 +00:00
Max Horn
8af300fec3 The terms Word and DWord are somewhat Windows centric; in fact there are systems on which word is 32bit, as opposed to our 16 bits. Hence, use the uin16/uint32 naming scheme, which is not ambigious
svn-id: r5216
2002-10-21 13:23:25 +00:00
Max Horn
31c773923e use File::size() method were it makes sense; one small change to simon.cpp based on comment on bug #595813
svn-id: r5210
2002-10-21 12:34:54 +00:00
James Brown
628eea3de4 Patch 625904: CD Looping
svn-id: r5199
2002-10-20 13:17:43 +00:00
James Brown
80ce915f3d Fix Wait:forActorDraw and the 'infinite mouth movement' problem in The Dig.
Code assumed that the actor always starts talking in the same room it finishes talking in - this doesn't apply for several cutscene
sequences in The Dig. Also added the usual talkChannel fallback code in for The Dig.

svn-id: r5186
2002-10-18 11:45:57 +00:00
James Brown
96c900f095 Make it possible to disable digitalimuse by just commenting out it's
creation in scummvm.cpp

svn-id: r5162
2002-10-16 09:11:08 +00:00
Paweł Kołodziejski
41b61adac0 fixes to imuse
svn-id: r5161
2002-10-16 07:59:11 +00:00
Paweł Kołodziejski
09225027f1 changes to imuse
svn-id: r5157
2002-10-15 21:55:04 +00:00
Paweł Kołodziejski
45b1a8ea45 cleanup sfx and music in imuse, changed talkdelay description(disable) in the dig
svn-id: r5148
2002-10-15 06:53:42 +00:00
Paweł Kołodziejski
63762d48de synced with local sources (imuse)
svn-id: r5110
2002-10-08 19:35:39 +00:00
Paweł Kołodziejski
f9b36a3404 applied patch: #619275
svn-id: r5099
2002-10-06 15:31:58 +00:00
Paweł Kołodziejski
60874d4200 hack: enabled exit from loop on bad opcode.
some FT samples (ex. 362) has bad length, 2 bytes

svn-id: r5098
2002-10-06 10:55:04 +00:00
Paweł Kołodziejski
01ccb6be9a added looping voc samples in imuse(not tested)
svn-id: r5087
2002-10-04 08:04:35 +00:00
Paweł Kołodziejski
aa2d21d68e FT also use Imuse
svn-id: r5086
2002-10-03 23:16:10 +00:00
Max Horn
a9d25bb24a patch #617417: Sound fix for Sam & Max demo
svn-id: r5085
2002-10-03 09:16:14 +00:00
Paweł Kołodziejski
518cfaafcc fixed compilation and indent
svn-id: r5077
2002-10-02 17:52:20 +00:00
Paweł Kołodziejski
98d90696ad added panning control in imuse and reverse stereo support
svn-id: r5076
2002-10-02 17:31:55 +00:00
Max Horn
f3281f93c5 patch #617419: SAM: sound fix
svn-id: r5075
2002-10-02 17:30:26 +00:00
James Brown
b7e83decd7 Fix 'isSoundRunning' for Creative samples (eg, Full Throttle)
svn-id: r5072
2002-10-02 10:12:19 +00:00
Paweł Kołodziejski
ce182dbaf3 changed from byte to int16 to handle sound number greater than 255
svn-id: r5056
2002-09-30 22:59:42 +00:00
Paweł Kołodziejski
5d6498faef changed the dig music into stream sound
svn-id: r5054
2002-09-30 19:31:41 +00:00
Paweł Kołodziejski
a9c1eb6075 synced with local sources (imuse)
svn-id: r5053
2002-09-30 19:10:35 +00:00
James Brown
4a64ba5024 Patch #616146: Hack to prevent multiple sounds on DOTT/SamNmax (not sure if it's the correct
behavior for Sam, seems right for DOTT tho)

svn-id: r5034
2002-09-29 15:12:18 +00:00
Paweł Kołodziejski
037b08130e framework of Imuse sound for The Dig
svn-id: r5031
2002-09-29 07:08:31 +00:00
Max Horn
09f56dc233 some fixes for the message dialog; added some comments
svn-id: r5021
2002-09-26 12:29:10 +00:00
James Brown
522ee88b62 Patch 614223: _sfxMode fix
svn-id: r5019
2002-09-26 09:59:47 +00:00
Max Horn
a681eb029e renamec string -> _string and sentence -> _sentence in class Scumm (I originally reworked StringTab, but then noticed the save game format depends on it <sigh>)
svn-id: r4995
2002-09-22 01:17:53 +00:00
Max Horn
e886ba64d2 yet more warning fixes
svn-id: r4992
2002-09-22 00:04:04 +00:00
Travis Howell
f1a273e092 Add the following patches:
[ 609649 ] Sound patch for GF_OLD256 games
[ 611997 ] RFC: Timer-based CD audio sync

svn-id: r4986
2002-09-21 13:48:03 +00:00
Paweł Kołodziejski
462d26937c Timer is handled in Engine now
svn-id: r4964
2002-09-18 10:22:36 +00:00
James Brown
74448d3f77 Fix some odd regression issue.
Somewhere, recently, current_cd_sound has stopped being set for various things.

svn-id: r4951
2002-09-16 12:10:19 +00:00
Paweł Kołodziejski
f7ff5c67fa improved open function in File class
svn-id: r4945
2002-09-15 19:28:34 +00:00
Paweł Kołodziejski
2f91c18b22 speed changes to play smush movies
svn-id: r4941
2002-09-15 05:38:04 +00:00
Max Horn
040b6c656a reducing some header dependencies
svn-id: r4928
2002-09-13 12:20:55 +00:00
Max Horn
ecdb98a0ee patch #608226 (Sam & Max sound fix)
svn-id: r4926
2002-09-13 11:59:43 +00:00