Commit graph

58 commits

Author SHA1 Message Date
Chris Apers
f123080d63 Revert last change, doesn't seem to work either
svn-id: r19486
2005-11-06 12:58:19 +00:00
Chris Apers
c36eddd91a - Move opcode table to a method so that it is correctly initialized with PalmOS ARM
svn-id: r19477
2005-11-05 19:42:50 +00:00
Torbjörn Andersson
934fe91620 Clear the sound queue when starting a cutscene. They usually (always?)
herald a change of scene, so it should be ok. And it keeps the crackling
fire at the end from playing over the end credits and the End of Game
dialog afterwards.

(If we change the sound engine to do looping manually, instead of letting
the mixer handle it, the looping will not be seamless and we'll still get
the crackling fire over the dialog after the credits.)

This change is probably safe for 0.8.1, assuming we make one.

svn-id: r19387
2005-11-01 18:52:21 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Max Horn
1a615346ab Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' because we already have many classes with that name)
svn-id: r18039
2005-05-10 23:48:48 +00:00
Max Horn
cca744f69a Comply to our coding conventions
svn-id: r17975
2005-05-08 21:49:52 +00:00
Torbjörn Andersson
d5b2582aa5 Missed these.
svn-id: r17428
2005-04-07 08:50:48 +00:00
Torbjörn Andersson
4d33534938 Applied some ScummVM formatting conventions.
svn-id: r17427
2005-04-07 08:42:40 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Robert Göffringmann
5dc8b51b27 changed cd checking code, gives warnings about everything now.
svn-id: r16024
2004-12-10 17:55:03 +00:00
Max Horn
971719f098 Fix warning
svn-id: r16007
2004-12-10 00:25:29 +00:00
Robert Göffringmann
58bf9028b1 moved the bootparam code out of sword1.cpp
svn-id: r16001
2004-12-08 04:38:39 +00:00
Robert Göffringmann
5d32a2c034 added support for an international BS1 cutscene pack (which we didn't release yet)
svn-id: r15983
2004-12-05 02:55:06 +00:00
Robert Göffringmann
b142514151 fix for bug 928791: BS1: 'Freeze' at hospital
svn-id: r15878
2004-11-24 21:03:21 +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
Chris Apers
25b70535be Make PalmOS happy
svn-id: r15632
2004-10-21 12:43:49 +00:00
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