#8266 closed patch
SWORD2: Initial work on StreamCompMusic()
Reported by: | eriktorbjorn | Owned by: | SF/khalek |
---|---|---|---|
Priority: | normal | Component: | Engine: Sword2 |
Version: | Keywords: | ||
Cc: | Game: | Broken Sword 2 |
Description
Since I don't have the Broken Sword 2 data files on this computer, I dare not apply this one myself.
The patch contains some initial work on the StreamCompMusic() function. For it to have any chance at all of working, I had to change the mixer initialization a bit.
Unfortunately it won't actually play something until we have support for playing ADPCM-compressed WAV-data. We may be able to borrow code for this from SDL.
Also, we need to implement FxServer() to get more than the first few seconds of music.
And there's no volume control or panning.
But it's a start. I'm hoping some of the missing functionality will eventually be added to the mixer so we won't have to tie it to the Broken Sword games, but that's open to discussion.
Ticket imported from: #781530. Ticket imported from: patches/371.
Attachments (1)
Change History (5)
by , 21 years ago
Attachment: | bs2_stream_comp_music.diff added |
---|
comment:1 by , 21 years ago
Owner: | set to |
---|
comment:2 by , 21 years ago
applied
the demo for bs2 can be found here: http://ftp.se.kde.org/pub/pc/games/pcgameworld/demos/bs2-demo.zip
and on fileplanet and a few other places...
comment:3 by , 21 years ago
Status: | new → closed |
---|
comment:4 by , 6 years ago
Component: | → Engine: Sword2 |
---|---|
Game: | → Broken Sword 2 |
Patch against a July 31 CVS snapshot