scummvm/sword2
Torbjörn Andersson fe3e01a110 Now there are two file handles for the music: one for each CD. This is not
the same thing as one for each music stream. If both music streams are
playing music from the same CD, they will both take turns at using the same
file handle.

The only case where both file handles are used is when music from one CD is
fading in while music from the other CD is fading out. Which of course can
only happen if you play the game from hard disk. If the game has to ask for
the other CD, it kills the music immediately.

The reason for doing this is that there was some concern about whether
having two file handles open to the same file was portable or not. I don't
think that question was ever fully answered, so I avoid the situation.

svn-id: r16753
2005-02-08 08:32:50 +00:00
..
driver Now there are two file handles for the music: one for each CD. This is not 2005-02-08 08:32:50 +00:00
.cvsignore
anims.cpp Began what I hope is the final major restructuring of the BS2 engine. 2005-01-28 16:33:14 +00:00
build_display.cpp Began what I hope is the final major restructuring of the BS2 engine. 2005-01-28 16:33:14 +00:00
build_display.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
console.cpp Began what I hope is the final major restructuring of the BS2 engine. 2005-01-28 16:33:14 +00:00
console.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
controls.cpp Now there are two file handles for the music: one for each CD. This is not 2005-02-08 08:32:50 +00:00
controls.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
debug.cpp Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
debug.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
defs.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
events.cpp Began what I hope is the final major restructuring of the BS2 engine. 2005-01-28 16:33:14 +00:00
function.cpp Now there are two file handles for the music: one for each CD. This is not 2005-02-08 08:32:50 +00:00
header.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
icons.cpp Began what I hope is the final major restructuring of the BS2 engine. 2005-01-28 16:33:14 +00:00
icons.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
interpreter.cpp Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
interpreter.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
layers.cpp Began what I hope is the final major restructuring of the BS2 engine. 2005-01-28 16:33:14 +00:00
layers.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
logic.cpp Began what I hope is the final major restructuring of the BS2 engine. 2005-01-28 16:33:14 +00:00
logic.h Began what I hope is the final major restructuring of the BS2 engine. 2005-01-28 16:33:14 +00:00
maketext.cpp Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
maketext.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
memory.cpp Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
memory.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
module.mk Removed the buffering of mouse and keyboard events. I don't think any of 2004-05-09 13:32:04 +00:00
mouse.cpp Began what I hope is the final major restructuring of the BS2 engine. 2005-01-28 16:33:14 +00:00
mouse.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
object.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
protocol.cpp Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
resman.cpp Now there are two file handles for the music: one for each CD. This is not 2005-02-08 08:32:50 +00:00
resman.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
router.cpp Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
router.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
save_rest.cpp Began what I hope is the final major restructuring of the BS2 engine. 2005-01-28 16:33:14 +00:00
save_rest.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
scroll.cpp Began what I hope is the final major restructuring of the BS2 engine. 2005-01-28 16:33:14 +00:00
sound.cpp Now there are two file handles for the music: one for each CD. This is not 2005-02-08 08:32:50 +00:00
sound.h Now there are two file handles for the music: one for each CD. This is not 2005-02-08 08:32:50 +00:00
speech.cpp Began what I hope is the final major restructuring of the BS2 engine. 2005-01-28 16:33:14 +00:00
speech.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
startup.cpp Began what I hope is the final major restructuring of the BS2 engine. 2005-01-28 16:33:14 +00:00
sword2.cpp Began what I hope is the final major restructuring of the BS2 engine. 2005-01-28 16:33:14 +00:00
sword2.h Began what I hope is the final major restructuring of the BS2 engine. 2005-01-28 16:33:14 +00:00
sync.cpp Began what I hope is the final major restructuring of the BS2 engine. 2005-01-28 16:33:14 +00:00
walker.cpp Began what I hope is the final major restructuring of the BS2 engine. 2005-01-28 16:33:14 +00:00