Eugene Sandulenko
45e9fb575d
Added last chunk of code. Now here are just the bugs to kill.
...
svn-id: r11791
2003-12-20 22:03:07 +00:00
Max Horn
ff83b4cb24
fix warning
...
svn-id: r11790
2003-12-20 21:56:48 +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
1007e8256f
fix memory leak
...
svn-id: r11788
2003-12-20 19:19:42 +00:00
Robert Göffringmann
be120d1289
fix recently introduced mouse bugs.
...
svn-id: r11787
2003-12-20 17:55:09 +00:00
Gregory Montoir
33ca6ecfa5
some code to play the 'room background sfx' (equivalent to sfxplay(NULLstr))
...
svn-id: r11786
2003-12-20 16:54:46 +00:00
Robert Göffringmann
2c19e18fc8
I hope this fixes the control panel for other BS1 versions.
...
svn-id: r11785
2003-12-20 16:30:58 +00:00
Robert Göffringmann
f533de72e4
sprites should now be rendered correctly.
...
svn-id: r11784
2003-12-20 15:26:44 +00:00
Travis Howell
c2b9debd31
Add mouse capture key
...
svn-id: r11783
2003-12-20 13:58:08 +00:00
Travis Howell
c2128b55fd
Ooops
...
svn-id: r11782
2003-12-20 13:54:34 +00:00
Torbjörn Andersson
8789ca10e3
Modified the calculation of where to draw parallaxes to be more like the
...
one in Broken Sword II. At least the first room appears to behave like the
original now. (Except for a masking bug, which is almost certainly
unrelated to parallaxes.)
svn-id: r11781
2003-12-20 13:43:40 +00:00
Torbjörn Andersson
456f01b8fd
A comment in decompressRLE0() said that the images are vertically flipped,
...
but I'm not so sure. I've changed the code to assume that they're not, and
this fixes both the drawing of the worker in the background of the first
room, and of the fan at the police station.
svn-id: r11780
2003-12-20 13:35:00 +00:00
Travis Howell
4374894733
Correction
...
svn-id: r11779
2003-12-20 10:21:32 +00:00
Travis Howell
fe324f1cdf
Ipdate
...
svn-id: r11778
2003-12-20 09:44:35 +00:00
Travis Howell
030236fe62
Add new object
...
svn-id: r11777
2003-12-20 09:20:14 +00:00
Robert Göffringmann
da3eed35b5
forgot these. :)
...
svn-id: r11776
2003-12-20 09:18:43 +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
Travis Howell
aceafcbb48
Add correction solution for missing song in dwarf mines of Simon1.
...
svn-id: r11774
2003-12-20 09:05:25 +00:00
Travis Howell
50c2dc9b25
Correction
...
svn-id: r11773
2003-12-20 08:23:31 +00:00
Travis Howell
ff55c1ae4b
Correction
...
svn-id: r11772
2003-12-20 07:59:42 +00:00
Travis Howell
6effdfac9f
Enable vgascript dump option.
...
svn-id: r11771
2003-12-20 06:39:24 +00:00
Travis Howell
fb89d1a32e
Revert bug work around, still can't detect conversation will enough yet.
...
svn-id: r11770
2003-12-20 06:00:55 +00:00
Travis Howell
19fe4c947a
Simpler check
...
svn-id: r11769
2003-12-20 04:34:24 +00:00
Travis Howell
20a6ad7572
*** empty log message ***
...
svn-id: r11768
2003-12-20 04:29:17 +00:00
Travis Howell
cc4716c831
Remove warning.
...
svn-id: r11767
2003-12-20 04:25:01 +00:00
Travis Howell
bcb5ea16b3
Update simon1 issues
...
svn-id: r11766
2003-12-20 04:23:44 +00:00
Travis Howell
158755382b
Fix iventory arrowsin some versions of Simon1.
...
svn-id: r11765
2003-12-20 04:20:22 +00:00
Nicolas Bacca
9e1dda1f68
Make VC6/EVC happier
...
svn-id: r11764
2003-12-20 01:17:02 +00:00
Torbjörn Andersson
c2c250edc1
Fixed bug with looping music. It must have been there all along, but maybe
...
the recent mixer changes made it more audible. Or maybe I just didn't
listen until now.
svn-id: r11763
2003-12-19 17:07:37 +00:00
Torbjörn Andersson
dc0c7bf845
Implemented scroll wheel handling for save/load dialogs. (This turned up a
...
few other hitherto harmless bugs, which I've hopefully managed to fix.)
svn-id: r11762
2003-12-19 16:50:03 +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
Gregory Montoir
b7a5d97207
put all 'bam' related stuff in a class and allow load/save during a 'bam' scene
...
svn-id: r11759
2003-12-19 09:22:20 +00:00
Gregory Montoir
dae474e86d
handle mouse wheel in Journal screen
...
svn-id: r11758
2003-12-19 09:21:02 +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
Max Horn
d8903123b0
distinguish between end of stream and end of data
...
svn-id: r11756
2003-12-19 01:30:19 +00:00
Max Horn
0cddca5f43
unregister the premix proc when you go away
...
svn-id: r11755
2003-12-19 01:08:30 +00:00
Max Horn
d21fc5845d
o Moved MP3 and Vorbis input streams to mp3.* resp. vorbis.*
...
o Added SoundMixer::playInputStream and made some of the other play* methods use it
o Added ProcInputStream stub (not working yet) which one day may allow us to replace the premix code, and allow other fancy stuff
o Remove AudioInputStream::readBuffer default implementation (subclasses should always provide it for max. performance)
o Some minor cleanup
svn-id: r11754
2003-12-19 00:32:47 +00:00
Max Horn
97ee61963c
I am going to remove the default implementation of readBuffer() (AudioInputStream subclasses really really should implement readBuffer() for good performance)
...
svn-id: r11753
2003-12-19 00:27:09 +00:00
Max Horn
32dd4cc006
fix for recent audio stream regression
...
svn-id: r11752
2003-12-19 00:09:34 +00:00
Eugene Sandulenko
e58514f87d
o Fix warnings
...
svn-id: r11751
2003-12-18 23:58:50 +00:00
Eugene Sandulenko
d93d450f7b
o Merged some variables into array, so simplifying the code
...
o Fix bugs
o Some mineroad support
svn-id: r11750
2003-12-18 23:00:10 +00:00
Max Horn
d8fb44ffc5
Patch #862283 (Help X11 backend to compile on FreeBSD)
...
svn-id: r11749
2003-12-18 20:20:01 +00:00
Robert Göffringmann
ee2c8b2ddb
fix mouse cursor animations
...
svn-id: r11748
2003-12-18 14:38:17 +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
a74f8eb717
endian conversion for music system
...
svn-id: r11746
2003-12-18 13:17:33 +00:00
Robert Göffringmann
461abf1b9e
another big endian
...
svn-id: r11745
2003-12-18 12:52:04 +00:00
Robert Göffringmann
65583e28da
SwordText big endian fixes
...
svn-id: r11744
2003-12-18 12:45:40 +00:00
Robert Göffringmann
312abd7486
endian fix for router.
...
svn-id: r11743
2003-12-18 12:15:59 +00:00
Chris Apers
3644176c43
PalmOS sound API cannot access globals data, StackLock constructor use g_system
...
svn-id: r11742
2003-12-18 11:51:58 +00:00