aboutsummaryrefslogtreecommitdiff
path: root/sword1/music.cpp
AgeCommit message (Collapse)Author
2004-06-28Added "MUSIC" / "music" to the list of default directories.Torbjörn Andersson
svn-id: r14100
2004-03-13When both music channels are used, and a third piece of music starts,Torbjörn Andersson
silence the channel that appears to be closest to silence already. This is the same method I used in BS2, and it might fix a glitch I heard at the Club Alamut. svn-id: r13234
2004-02-28renamed more OSystem methods to follow our naming scheme; renamed ↵Max Horn
NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend svn-id: r13087
2004-01-14I found and fixed a nasty fade-up bug in BS2. I don't know if the sameTorbjörn Andersson
situation could happen in BS1, but it's better to be safe than sorry, so here are the same changes, as applied to the BS1 music code. svn-id: r12393
2004-01-14Changed the music fading so that the volume is increased when ABS(_fading)Torbjörn Andersson
grows larger, both when fading up and down. This fixes the problem where the volume would "jump" when changing the fading "direction" of a stream. svn-id: r12373
2004-01-11cleanupTorbjörn Andersson
svn-id: r12322
2004-01-11Introduced new namespace, Sword1, removing the "Sword" and "Bs" prefixes inTorbjörn Andersson
the process, except for SwordEngine. Some minor cleanups along the wa, e.g. stdafx.h already includes <stdio.h>, <stdlib.h> and <math.h> so there shouldn't be any need to do it elsewhere. svn-id: r12320
2004-01-08Merged read() and readBuffer(), like in BS2.Torbjörn Andersson
svn-id: r12248
2004-01-07implemented volume control panelRobert Göffringmann
svn-id: r12220
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2004-01-06get volume from gamedetectorRobert Göffringmann
svn-id: r12169
2004-01-04Deal gracefully with missing music files.Torbjörn Andersson
svn-id: r12144
2004-01-03TODOMax Horn
svn-id: r12117
2004-01-03Delete the mutex when we're done with it.Torbjörn Andersson
svn-id: r12107
2004-01-01changed music fading duration and made music system fade down the tracks on ↵Robert Göffringmann
startMusic(0) svn-id: r12071
2004-01-01Rewrote the music code. It now follows the same basic idea as the one inTorbjörn Andersson
BS2, which has worked pretty well so far. I haven't implemented pausing and volume since the code I replaced didn't have it either, as far as I could tell. svn-id: r12070
2003-12-30cd changing code and checking for savegames on startupRobert Göffringmann
svn-id: r12043
2003-12-28this fixes the remaining glitchesRobert Göffringmann
svn-id: r12004
2003-12-22fixed screen and music fadingRobert Göffringmann
svn-id: r11861
2003-12-22added code for non-looping music and implemented fadingRobert Göffringmann
svn-id: r11845
2003-12-20added SwordControl (the control panel). Not yet finished.Robert Göffringmann
svn-id: r11775
2003-12-19unregister the premix proc when you go awayMax Horn
svn-id: r11755
2003-12-18endian conversion for music systemRobert Göffringmann
svn-id: r11746
2003-12-17enable musicOliver Kiehl
svn-id: r11706
2003-12-16Look in MUSIC folder, not MUSIC1, there should be no conflicting music files.Travis Howell
svn-id: r11683
2003-12-16Broken Sword 1: initial importRobert Göffringmann
svn-id: r11664