Commit Graph
86814 Commits
Author SHA1 Message Date
Max Horn 7fbb3e0559 Cleaned up SoundMixer::newStream() a bit (I plan to replace all usages of this by playInputStream(), this cleanup eases this a bit)
svn-id: r11803
2003-12-21 01:17:03 +00:00
Max Horn 2bbaff0890 changed wording in NEWS a bit
svn-id: r11802
2003-12-21 00:52:11 +00:00
Max Horn ec0ebf5380 o Make use of the new LinearMemoryStream feature which allows auto-disposing the sound data
o This allows us to get rid of the ChannelRaw class
o Removed the sound index return value from several methods
o Removed all methods dealing with sound indices (i.e. stopChannel and pauseChannel)

svn-id: r11801
2003-12-21 00:44:31 +00:00
Max Horn 676bf4d683 incorrect use of pauseChannel (replaced by correct pauseID)
svn-id: r11800
2003-12-21 00:41:59 +00:00
Max Horn fbcca63058 Incorrect use of stopChannel (must be stopHandle); replaced single remaining use of stopChannel by a hack (note: the code in question is a hack in itself already)
svn-id: r11799
2003-12-21 00:40:42 +00:00
Max Horn c55652d4a6 Rewrote make*Stream factory functions to work around bug in MSVC6 (see bug report #860067); added some comments; LinearMemoryStream now can auto-dispose the data passed to it
svn-id: r11798
2003-12-21 00:26:36 +00:00
Max Horn 815b12fe79 automatically update the date in the README (not pretty, but works)
svn-id: r11797
2003-12-21 00:20:36 +00:00
Travis Howell f8de1021eb Typo
svn-id: r11796
2003-12-21 00:10:04 +00:00
Max Horn 9a994bf2f2 cleanup
svn-id: r11795
2003-12-21 00:07:16 +00:00
Max Horn dafca64f36 don't use sound/mixer index, rather use the sound handle!
svn-id: r11794
2003-12-21 00:05:00 +00:00
Travis Howell fb61c84042 Enable more debugging output
svn-id: r11793
2003-12-21 00:03:15 +00:00
Max Horn d0b74e81a6 cleanup
svn-id: r11792
2003-12-21 00:00:19 +00:00
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