159 Commits

Author SHA1 Message Date
Robert Göffringmann
bd5ec2612b added workaround for missing music file.
svn-id: r12072
2004-01-01 17:10:08 +00:00
Robert Göffringmann
cf12a5846f changed music fading duration and made music system fade down the tracks on startMusic(0)
svn-id: r12071
2004-01-01 16:56:00 +00:00
Torbjörn Andersson
18f8916c3a Rewrote the music code. It now follows the same basic idea as the one in
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
2004-01-01 15:22:15 +00:00
Jonathan Gray
9b4f73b8ef compilation fix
svn-id: r12066
2004-01-01 08:55:26 +00:00
Torbjörn Andersson
0aeae5a9b5 Use uint8 instead of char to avoid crashes with some accented characters.
svn-id: r12061
2003-12-31 17:38:27 +00:00
Robert Göffringmann
9a064972c2 fixed language strings
svn-id: r12060
2003-12-31 16:56:16 +00:00
Torbjörn Andersson
d176a6a6e1 Don't lose the luggage when entering the inventory menu.
svn-id: r12058
2003-12-31 15:52:48 +00:00
Torbjörn Andersson
15559f6646 Draw the luggage first, then the mouse pointer.
svn-id: r12057
2003-12-31 15:41:17 +00:00
Jonathan Gray
de014ec971 fix segfault
svn-id: r12049
2003-12-31 12:32:34 +00:00
Robert Göffringmann
e669103b5d removed old, useless stuff
svn-id: r12045
2003-12-30 23:08:51 +00:00
Robert Göffringmann
436834750d cd changing code and checking for savegames on startup
svn-id: r12043
2003-12-30 22:57:52 +00:00
Robert Göffringmann
985f24729a forgot these...
svn-id: r12040
2003-12-30 21:48:10 +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
0c7b09fc5e another reference fix for soldout version
svn-id: r12014
2003-12-29 16:08:05 +00:00
Robert Göffringmann
4e1e77b0a5 use correct sprite for text-on/off
svn-id: r12013
2003-12-29 16:01:47 +00:00
Robert Göffringmann
ba44d8e989 fix resource references for soldout version
svn-id: r12012
2003-12-29 15:54:06 +00:00
Robert Göffringmann
1c06aebe39 made control panel use the correct fonts
svn-id: r12010
2003-12-29 15:38:16 +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
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
Torbjörn Andersson
d8b0a38718 When showMenu() redraws the menu, redraw the empty slots as well. This
fixes the "ghost" items left behind when combining two inventory objects in
such a way that one of them is used up.

svn-id: r12001
2003-12-28 18:10:18 +00:00
Torbjörn Andersson
302c9f72fc I believe this is the evil bug that's been corrupting my SAVEGAME.INF. (I
can't reproduce the problem under Windows though.)

svn-id: r11996
2003-12-28 15:02:21 +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
859a9c0129 o Added SoundMixer::isReady()
o Removed SoundMixer::bindToSystem()
o In scumm, replaced _silentMixer, _silentDigitalImuse and _noDigitalSamples by SoundMixer::isReady()

svn-id: r11893
2003-12-24 17:42:22 +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
Robert Göffringmann
88d7cd586d fix control panel bug
svn-id: r11878
2003-12-23 17:34:23 +00:00
Robert Göffringmann
e35a7a2b90 control panel changes
svn-id: r11877
2003-12-23 16:58:06 +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
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
Torbjörn Andersson
1605103a06 Change to arrow cursor when displaying the inventory menu
svn-id: r11854
2003-12-22 17:38:49 +00:00
Robert Göffringmann
7fec7cc1ae another change to verticalMask(). this should fix the remaining sprite priority issues
svn-id: r11853
2003-12-22 11:51:27 +00:00
Robert Göffringmann
42cea0975a added fnSetPaletteToFade/fnSetPaletteToCut
svn-id: r11851
2003-12-22 11:23:40 +00:00
Robert Göffringmann
44f1ed75fd added code for non-looping music and implemented fading
svn-id: r11845
2003-12-22 02:47:43 +00:00
Robert Göffringmann
fd4417e6bb changed the way the control panel is started
svn-id: r11844
2003-12-22 01:20:47 +00:00
Robert Göffringmann
6b0fb6585c work around a GCC bug.
svn-id: r11843
2003-12-22 00:34:02 +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
e342d624d0 fix mouse bugs (fixes chess puzzle)
svn-id: r11834
2003-12-21 18:50:05 +00:00
Torbjörn Andersson
a5eca2df04 Highlight the correct (I hope!) menu icon during conversation, and do the
cheesy menu fade-in/fade-out.

svn-id: r11831
2003-12-21 17:55:40 +00:00
Robert Göffringmann
6df4db88cd fixed scrolling
svn-id: r11830
2003-12-21 17:45:15 +00:00
Robert Göffringmann
44887cc33d fixed parallax drawing for room 54
svn-id: r11828
2003-12-21 17:34:44 +00:00
Torbjörn Andersson
ed991734a3 warning fix
svn-id: r11827
2003-12-21 17:16:07 +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
71057255ea changed speech code, should now play all waves correctly
svn-id: r11815
2003-12-21 15:55:55 +00:00
Marcus Comstedt
e7cf0557f8 stdafx.h first, please.
svn-id: r11814
2003-12-21 15:54:26 +00:00
Max Horn
f19f73eb50 Make it possible for game detection functions to detect language/platform (not yet done by any detector, but will come with the MD5 detection code)
svn-id: r11811
2003-12-21 15:29:52 +00:00