Commit Graph
39 Commits
Author SHA1 Message Date
Max Horn 10dd548b85 Changed parameter order of SoundMixer::playInputStream to match that of playRaw
svn-id: r15950
2004-11-28 23:02:28 +00:00
Max Horn ba74a8e7f6 Added some more mixer doxygen docs; cleaned up Mixer API a bit, removing some very specialised methods
svn-id: r15914
2004-11-27 15:58:18 +00:00
Robert Göffringmann 6b68feb360 nothing...
svn-id: r15820
2004-11-15 08:26:32 +00:00
Robert Göffringmann 17f23ad3d5 BS1 demo is basically fully supported now.
only some SFX are flipped.

svn-id: r15819
2004-11-15 08:23:09 +00:00
Robert Göffringmann 183a11153e BS1 demo's speech and logic work now.
But there's something wrong with the SFX, which can lead to crashes.

svn-id: r15813
2004-11-15 02:48:30 +00:00
Robert Göffringmann 021f2cbcce free memory on quit.
Still leaks some, though

svn-id: r15735
2004-11-09 04:06:10 +00:00
Torbjörn Andersson 94d74a04e9 Brute-force workaround for speech decoder crashes in the BS1 demo. It still
doesn't work very well, though...

svn-id: r15697
2004-10-30 10:35:39 +00:00
Chris Apers 25b70535be Make PalmOS happy
svn-id: r15632
2004-10-21 12:43:49 +00:00
Robert Göffringmann 522da1ddbc forgot to remove these debug messages
svn-id: r15549
2004-10-14 09:18:20 +00:00
Robert Göffringmann e2917b1664 I hope this fixes speech in demo
svn-id: r15534
2004-10-13 00:59:27 +00:00
Robert Göffringmann f5403e079f added mp3 and ogg vorbis playback for music and speech.
compression tool will follow soon.

svn-id: r15531
2004-10-12 15:50:00 +00:00
Travis Howell 870eac39a2 Add eriktorbjorn's patch for separate target for Broken Sword 1 demo. Avoids sound regressions in full game.
svn-id: r14846
2004-08-31 07:52:47 +00:00
Travis Howell f734014fd2 Add support for speech in demo.
svn-id: r14350
2004-07-27 03:47:56 +00:00
Nicolas Bacca 21eff1eef2 And again ... guess who fails compiling this ?
svn-id: r12453
2004-01-17 11:16:38 +00:00
Torbjörn Andersson cf0a73f913 Introduced new namespace, Sword1, removing the "Sword" and "Bs" prefixes in
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-11 15:47:41 +00:00
Robert Göffringmann 8030f1b148 implemented volume control panel
svn-id: r12220
2004-01-07 17:47:46 +00:00
Max Horn 033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Jonathan Gray 2be1b4d68a start work on czech subtitle support, not finished
svn-id: r12175
2004-01-06 12:28:24 +00:00
Robert Göffringmann e34d7b6c41 get volume from gamedetector
svn-id: r12169
2004-01-06 11:48:30 +00:00
Torbjörn Andersson e559a32323 Changed spaces to tabs
svn-id: r12008
2003-12-29 14:04:57 +00:00
Robert Göffringmann e9766658b6 this fixes the remaining glitches
svn-id: r12004
2003-12-28 23:24:03 +00:00
Torbjörn Andersson db5a2ba1c8 Not all sound effects are mono, so we need to check.
svn-id: r11995
2003-12-28 15:01:44 +00:00
Travis Howell 8640153331 Search additional folder for BS1
svn-id: r11956
2003-12-27 05:43:03 +00:00
Jonathan Gray a3b09e7313 look for data/speech1/2.clu and data/speech/speech.clu, instead of data/speech1/2.clu and data/speech/speech1/2.clu fixes running from cd or using the same layout as the cd
svn-id: r11934
2003-12-26 03:07:01 +00:00
Max Horn e9269257f3 turned PlayingSoundHandle into an 'opaque' (well not really :-) data type, mainly because people kept (accidentally and sometimes on purpose :-) misusing them
svn-id: r11881
2003-12-24 00:25:18 +00:00
Nicolas Bacca a1831ee4fb Microsoft Compilers : Which part of the standard do you want to break today ?
svn-id: r11866
2003-12-23 00:59:18 +00:00
Torbjörn Andersson ed991734a3 warning fix
svn-id: r11827
2003-12-21 17:16:07 +00:00
Robert Göffringmann 71057255ea changed speech code, should now play all waves correctly
svn-id: r11815
2003-12-21 15:55:55 +00:00
Robert Göffringmann 2554ced5e9 fixed crashes after restoring a savegame, added fnSetPaletteToFade and changed speech code to distinguish between CD1 and CD2. (now needs SPEECH1.CLU and SPEECH2.CLU)
svn-id: r11789
2003-12-20 20:20:53 +00:00
Robert Göffringmann 59654b1719 added SwordControl (the control panel). Not yet finished.
svn-id: r11775
2003-12-20 09:12:54 +00:00
Torbjörn Andersson b179e8f6ec Whitespace changes
svn-id: r11760
2003-12-19 14:07:12 +00:00
Torbjörn Andersson a3310a5de9 Make sure that playSample() gets a pointer to the original QueueElement
instead of a copy of it. Otherwise the sound engine will never notice when
a sample finishes playing since it's looking at the wrong sound handle.

For whatever reason, this also seems to fix the "game crashes occasionally
on startup with completely useless stack trace" bug for me. The crash was
easily repeatable in Valgrind for me, but the messages it produced were
just as unhelpful as the stack trace. These messages are also gone now.

svn-id: r11757
2003-12-19 06:51:32 +00:00
Robert Göffringmann 215c8e3fc6 big endian fix
svn-id: r11710
2003-12-17 11:39:19 +00:00
Robert Göffringmann 7f5df14e7d menu, sound and mouse fixes.
svn-id: r11701
2003-12-17 05:16:37 +00:00
Jonathan Gray 5937b16988 check speech subdirectory for speech.clu as well
svn-id: r11682
2003-12-16 10:30:41 +00:00
Jonathan Gray 83e9c59327 compilation fixes
svn-id: r11679
2003-12-16 09:43:08 +00:00
Robert Göffringmann e2843f3e07 revert one of kirben's changes
svn-id: r11669
2003-12-16 05:02:34 +00:00
Travis Howell 0b0f5d0b7a newlines
svn-id: r11668
2003-12-16 02:27:53 +00:00
Robert Göffringmann 189e08bc79 Broken Sword 1: initial import
svn-id: r11664
2003-12-16 02:10:15 +00:00