Torbjörn Andersson
711f925f69
Always play the "current music" after restoring a savegame, even if it's 0.
...
If it is, all that happens is that it silences the music. Otherwise, the
current music that was playing before the game was restored will keep
playing afterwards.
(One example of this: I went into the Hotel Ubu and restored a savegame at
the hospital. The piano music kept playing in the background.)
svn-id: r13230
2004-03-12 08:21:01 +00:00
Robert Göffringmann
8b39133cab
changed workaround again, it's also needed when entering the room, not only when restoring a savegame.
...
svn-id: r13216
2004-03-07 19:24:41 +00:00
Robert Göffringmann
757bc4cec6
work around script bug #911508 BS1: Crash when loading certain savegames
...
svn-id: r13215
2004-03-07 19:14:32 +00:00
Torbjörn Andersson
de848a5d80
Removed obsolete warning message from fnPlaySequence().
...
svn-id: r13195
2004-03-05 07:39:28 +00:00
Max Horn
e67b734fd2
fixed warning
...
svn-id: r12494
2004-01-18 18:42:58 +00:00
James Brown
ad46828d1c
BS1 cutscene support. Also bugfixes (don't crash if cutscene ogg unavailable)
...
svn-id: r12465
2004-01-18 05:52:04 +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
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
a55c9976e2
whoops.
...
svn-id: r12073
2004-01-01 17:11:43 +00:00
Robert Göffringmann
bd5ec2612b
added workaround for missing music file.
...
svn-id: r12072
2004-01-01 17:10:08 +00:00
Robert Göffringmann
5e947dab38
implemented mouse luggage stuff
...
svn-id: r12039
2003-12-30 21:32:50 +00:00
Robert Göffringmann
1567e39469
fixed fnFace() and added workaround for missing animation on train roof
...
svn-id: r12032
2003-12-30 16:19:30 +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
85deabed70
Indentation fixes: changed spaces to tabs. (These tend to really stick out
...
in my editor, since it shows tabs as eight spaces, not four.)
svn-id: r12002
2003-12-28 19:03:35 +00:00
Max Horn
13d0571018
fix warnings
...
svn-id: r11863
2003-12-22 23:45:55 +00:00
Robert Göffringmann
e9ff3a1146
fixed some animation bugs
...
svn-id: r11862
2003-12-22 23:38:23 +00:00
Robert Göffringmann
2df01e0abb
fixed screen and music fading
...
svn-id: r11861
2003-12-22 23:21:28 +00:00
Robert Göffringmann
42cea0975a
added fnSetPaletteToFade/fnSetPaletteToCut
...
svn-id: r11851
2003-12-22 11:23:40 +00:00
Robert Göffringmann
7def9b7efb
added workaround for scriptbug (fixes ending sequence).
...
Sword1 is completable now with some graphical glitches left to fix.
svn-id: r11841
2003-12-21 21:58:36 +00:00
Robert Göffringmann
5d8516f2ec
now two inventory items can be combined
...
svn-id: r11823
2003-12-21 16:50:02 +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
34433d87bb
Changed abs() to ABS(), and changed a sorting function to use SWAP()
...
svn-id: r11761
2003-12-19 14:16:31 +00:00
Torbjörn Andersson
b179e8f6ec
Whitespace changes
...
svn-id: r11760
2003-12-19 14:07:12 +00:00
Robert Göffringmann
501b7d687a
fixed endian bug in animDriver()
...
svn-id: r11747
2003-12-18 14:16:08 +00:00
Robert Göffringmann
65583e28da
SwordText big endian fixes
...
svn-id: r11744
2003-12-18 12:45:40 +00:00
Robert Göffringmann
8b0ab95580
fixed stupid palette bugs
...
svn-id: r11724
2003-12-18 00:31:37 +00:00
Robert Göffringmann
b5dde7b3f9
changed fnEnterSection to fix crash at startup.
...
svn-id: r11722
2003-12-17 23:49:26 +00:00
Robert Göffringmann
eeb15c0433
big endian fix
...
svn-id: r11709
2003-12-17 11:23:12 +00:00
Robert Göffringmann
5fdff2824c
fixed text output and logic bug. changed scrolling code.
...
hey, sword is running really nice already. :)
svn-id: r11703
2003-12-17 07:33:00 +00:00
Robert Göffringmann
7f5df14e7d
menu, sound and mouse fixes.
...
svn-id: r11701
2003-12-17 05:16:37 +00:00
Robert Göffringmann
34d1751fe4
fixed resMan bug about closing of sections and started adding menu support
...
svn-id: r11695
2003-12-17 01:47:47 +00:00
Max Horn
d1c9caa127
fix various warnings; whatTarget()'s paramters shadowed member vars, but it can just b e turned into a pure function (sidenote: the chaotic mix of spaces and tabs in router.cpp doesn't help readability :-)
...
svn-id: r11693
2003-12-17 01:18:03 +00:00
Robert Göffringmann
166ba1b385
fix speech animations
...
svn-id: r11690
2003-12-16 19:55:59 +00:00
Robert Göffringmann
082120ef65
fix speech logic bug (policeman scene works now...)
...
svn-id: r11689
2003-12-16 19:50:18 +00:00
Jonathan Gray
83e9c59327
compilation fixes
...
svn-id: r11679
2003-12-16 09:43:08 +00:00
Robert Göffringmann
189e08bc79
Broken Sword 1: initial import
...
svn-id: r11664
2003-12-16 02:10:15 +00:00