Commit Graph

25 Commits

Author SHA1 Message Date
Alyssa Milburn
d68c8547c5 MOHAWK: Don't use a fixed-size array for cue lists.
svn-id: r55335
2011-01-19 22:41:12 +00:00
Matthew Hoops
918a21cd7b MOHAWK: Use a separate SndHandle for Myst's background sound
svn-id: r55330
2011-01-19 16:52:47 +00:00
Alyssa Milburn
017ab4c503 MOHAWK: Add some supporting code for cue lists.
svn-id: r55328
2011-01-19 16:36:34 +00:00
Matthew Hoops
2aca6d3838 MOHAWK: Rename some Myst-specific sound functions; cleanup
svn-id: r55314
2011-01-18 21:10:58 +00:00
Matthew Hoops
72b3d1f546 MOHAWK: Cleanup Mohawk wave parsing
svn-id: r55212
2011-01-11 21:48:49 +00:00
Alyssa Milburn
e59eb31ba9 MOHAWK: Add stopMidi() function.
svn-id: r55113
2011-01-03 22:53:34 +00:00
Alyssa Milburn
940e4f936e MOHAWK: Don't leak the MIDI data.
svn-id: r55094
2011-01-02 14:57:20 +00:00
Bastien Bouclet
938b633238 MOHAWK: Fix playing sound from aliases in Myst ME.
svn-id: r55031
2010-12-24 11:04:25 +00:00
Bastien Bouclet
c870bf22d1 MOHAWK: Separate background sound handling from other sounds for Myst. Allow the scripts to change the background sound volume.
svn-id: r54953
2010-12-18 13:12:56 +00:00
Bastien Bouclet
68e32de097 MOHAWK: Implement Myst opcodes 146, 149, 150, 150 : Minimal boiler
svn-id: r54934
2010-12-16 16:13:50 +00:00
Matthew Hoops
d3c78b8a3d MOHAWK: Don't store the sound name in SndHandle
svn-id: r54647
2010-11-29 21:18:20 +00:00
Johannes Schickel
0b028de573 MOHAWK: Remove superfluous junk (no not Mohawk itself).
svn-id: r54646
2010-11-29 21:14:20 +00:00
Bastien Bouclet
00e13f4c25 MOHAWK : Implemented selenitic sound lock slider opcodes and adjusted sliders behaviour.
svn-id: r54610
2010-11-29 20:53:56 +00:00
Bastien Bouclet
6a4ff1a9b5 MOHAWK : Finished implementing Selenitic sound receiver
svn-id: r54593
2010-11-29 20:49:42 +00:00
Matthew Hoops
3d4ca8e405 MOHAWK: Add an isPlaying() and stopSound(id) function to Sound (for LB and others)
svn-id: r54514
2010-11-27 21:36:04 +00:00
Matthew Hoops
0cba4f0306 MOHAWK: Implement blocking sound in Riven
Sounds that set the third argument of the playSound opcode to 1 (wherever they may be) will now block. The volume parameter of playSound is also now honored. Merge the Myst sound blocking code with this too.

svn-id: r52643
2010-09-08 20:50:56 +00:00
Matthew Hoops
58139baf37 MOHAWK: Sound cleanup
Merge the Riven sound file code with the main Riven resource code and remove the mainSoundFile parameter from Sound::playSound(). Reasoning: The sound id's do not collide with the sound id's in the main data files. The sound archives only exist because the original CD version had the ability to choose between low and high quality audio.

svn-id: r52631
2010-09-07 20:18:30 +00:00
Matthew Hoops
08d3c24c12 Cleanup the sound code a bit.
svn-id: r48133
2010-02-26 08:11:45 +00:00
Max Horn
1565f14bc1 Moved audio stream implementations (for MP3, FLAC, etc.) to new dir sound/decoders/
svn-id: r47579
2010-01-26 22:48:45 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Matthew Hoops
5903acf66c Fill in the unknown values of the ADPC chunk in Mohawk sounds and update comments.
svn-id: r47528
2010-01-24 23:39:27 +00:00
Matthew Hoops
0388e359e0 Always loop sounds declared in the VIEW resources of Myst. While Myst specifies in the metadata of its sound resources, Myst ME does not have that feature so we have to specify the looping. Looping now works in Myst ME.
svn-id: r47431
2010-01-22 04:24:04 +00:00
Matthew Hoops
c04f8d00b1 Rename MohawkFile to MohawkArchive and OldMohawkFile to LivingBooksArchive_v1 (the latter originally having an ambiguous meaning) and move them to resource.* Also, renaming the Living Books game types to remove the ambiguous old/new.
svn-id: r47429
2010-01-22 03:43:57 +00:00
Torbjörn Andersson
69c71c7628 Removed some unnecessary whitespace. Changed some spaces to tabs.
svn-id: r46735
2009-12-30 07:30:04 +00:00
Eugene Sandulenko
0ea022d076 Add Mohawk engine code. Part 1/3: main code.
svn-id: r46727
2009-12-29 23:18:24 +00:00