Commit Graph

25 Commits

Author SHA1 Message Date
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