Commit Graph

5699 Commits

Author SHA1 Message Date
Jonathan Gray
c1cbd4605e fix some VC7 warnings
svn-id: r9240
2003-07-28 11:21:25 +00:00
Max Horn
9e051fa507 instead of 'int channels', use 'bool stereo' (less extensible, but then I don't think we'll ever support 5.1 sound :-)); fixed a bug in st_rate_flow where it sometimes would overflow the output buffer; made CopyRateConverter a template, too, increasing efficency
svn-id: r9239
2003-07-28 11:13:01 +00:00
Jonathan Gray
2b0c2a20b2 match prototype
svn-id: r9238
2003-07-28 10:28:29 +00:00
Jonathan Gray
f22cca2be2 rename _DEBUG define to _BS2_DEBUG to stop it conflicting with VC
svn-id: r9237
2003-07-28 09:49:46 +00:00
Jonathan Gray
84bccaa83b substitute long int for LARGE_INTEGER
svn-id: r9236
2003-07-28 08:08:42 +00:00
Jonathan Gray
98b1a0d7ff replace DWORD usage with uint32
svn-id: r9235
2003-07-28 08:04:03 +00:00
Jonathan Gray
5d309dd171 rename memory struct as well
svn-id: r9234
2003-07-28 07:52:01 +00:00
Jonathan Gray
d520390cc5 rename functions with windows specific names
svn-id: r9233
2003-07-28 07:47:21 +00:00
Jonathan Gray
71a9b1bc2d rename _mkdir
svn-id: r9232
2003-07-28 07:36:27 +00:00
Jonathan Gray
b17e45c9bc undefine these functions for now but in the long run we should probably rename them
svn-id: r9231
2003-07-28 07:31:14 +00:00
Jonathan Gray
a05c4bda0f -Werror cleanup
svn-id: r9230
2003-07-28 07:22:40 +00:00
Jonathan Gray
77cf6b7c3e add bs2demo target for broken sword 2 demo
svn-id: r9229
2003-07-28 07:00:15 +00:00
Paweł Kołodziejski
376f78f7f6 added vc7 files for bs2
svn-id: r9228
2003-07-28 06:53:55 +00:00
Jonathan Gray
ea5822ed23 it would be nice if people would update functions when adding qualifiers to prototypes
svn-id: r9227
2003-07-28 05:30:42 +00:00
Jonathan Gray
2fbcfb01a0 missed one
svn-id: r9226
2003-07-28 05:29:37 +00:00
Travis Howell
836f82fbbf Ooops
svn-id: r9225
2003-07-28 03:52:05 +00:00
Travis Howell
42ba111063 A few warnings
svn-id: r9224
2003-07-28 03:49:25 +00:00
Travis Howell
0dfde5caba Ooops
svn-id: r9223
2003-07-28 03:34:47 +00:00
Travis Howell
ccc40eecc9 Compiles on mingw now
svn-id: r9222
2003-07-28 03:12:49 +00:00
Max Horn
d4933386a9 big FIXME
svn-id: r9221
2003-07-28 02:39:40 +00:00
Max Horn
544168e96b fixed yet more warnings
svn-id: r9220
2003-07-28 02:37:47 +00:00
Max Horn
44048d2434 fixed more warnings
svn-id: r9219
2003-07-28 02:23:04 +00:00
Max Horn
55cbdd5c5f more warnings
svn-id: r9218
2003-07-28 02:14:28 +00:00
Jonathan Gray
78c39e150d update for bs2
svn-id: r9217
2003-07-28 02:12:59 +00:00
Max Horn
80bea5bc72 fixed some warnings
svn-id: r9216
2003-07-28 02:10:24 +00:00
Jonathan Gray
88b70db20f make people happy
svn-id: r9215
2003-07-28 02:06:49 +00:00
Max Horn
81baae7ddc added CopyRateConverter (used if inrate == outrate)
svn-id: r9214
2003-07-28 01:50:46 +00:00
Jonathan Gray
9865deb0bc bs2
svn-id: r9213
2003-07-28 01:50:45 +00:00
Jonathan Gray
dc6aa9912c bs2 driver
svn-id: r9212
2003-07-28 01:47:41 +00:00
Jonathan Gray
f020d28b5e bs2
svn-id: r9211
2003-07-28 01:44:38 +00:00
Max Horn
d592095fb9 Patch #715991: Quit Confirmation Dialog (feature request #642721) with some tweaks by me
svn-id: r9210
2003-07-28 01:36:16 +00:00
Max Horn
e87bc6d89e use a single converter for both channels (if input data is stereo), for improved efficency; renamed MemoryAudioInputStream -> LinearMemoryStream and use some template voodoo to make the baseclass of Input8bitSignedStream etc. variable; added (commented out) draf of WrappedMemoryStream
svn-id: r9209
2003-07-28 01:13:31 +00:00
Max Horn
12d872f754 more sanity checks
svn-id: r9208
2003-07-28 01:09:54 +00:00
Max Horn
64e0a16a6d adding an assert (better paranoid than letting a null pointer slip thru)
svn-id: r9207
2003-07-28 00:33:05 +00:00
Max Horn
0d209fecb6 fix return values in getObjectOrActorXY; turned unsafe derefActorSafe call into derefActor (return value of derefActorSafe was used w/o checking it for 0)
svn-id: r9206
2003-07-28 00:04:20 +00:00
Max Horn
ff988094be init walkdata (fix for bug #770306); move Actor::Actor constructor from header to source file
svn-id: r9205
2003-07-27 23:45:43 +00:00
Max Horn
77c8eec439 oops this was never meant to be removed
svn-id: r9203
2003-07-27 23:30:28 +00:00
Max Horn
7e54a2f569 fix inventory scrolling V1/V2 games (there were problems with an odd inventory count)
svn-id: r9201
2003-07-27 17:33:28 +00:00
Paweł Kołodziejski
80cbf90a9d some cleanup
svn-id: r9198
2003-07-27 12:25:56 +00:00
Travis Howell
b8ce60ea18 Count amount of save files available so load/save dialog works correctly.
svn-id: r9196
2003-07-27 12:05:08 +00:00
Jamieson Christian
f6984add8f Fixed unit'd var in Adlib driver
svn-id: r9195
2003-07-26 19:52:34 +00:00
Jamieson Christian
be898b414f For for Bug [775654] DOTT: Hanging notes
Corrected active notes tracking when switching
between Type 2 SMF tracks. Although Note Off
events from the previous track are properly
simulated, those sustaining notes are cleared
from the active notes list so that jumps
within the new track will not attempt to
sustain them again.

svn-id: r9194
2003-07-26 19:37:54 +00:00
Jamieson Christian
8b358b1208 Added gui/about.*
svn-id: r9193
2003-07-26 19:10:51 +00:00
Max Horn
226ee61f71 oops accidentally broke the 'old' 8bit resampling code :-(
svn-id: r9192
2003-07-26 01:44:37 +00:00
Max Horn
ce29c4c295 fixed setActorCostume for COMI; fixees bug #754421 and hopefully also the issue described in patch #696033
svn-id: r9191
2003-07-25 18:07:42 +00:00
Max Horn
c520d2d423 move AudioInputStream implementations & makeInputStream into separate .cpp file
svn-id: r9190
2003-07-25 13:42:05 +00:00
Max Horn
2ae3e45aea reduced source code duplication
svn-id: r9189
2003-07-25 13:34:25 +00:00
Travis Howell
9937e18ba5 Surprised this has not caused major problems
svn-id: r9188
2003-07-25 08:49:54 +00:00
Travis Howell
9bb773c67d Use correct frame rate value from disasm, fixes minor timing issue in simon 2 in
troduction.
Correct default _lock_counter value

svn-id: r9186
2003-07-25 06:55:05 +00:00
Max Horn
791efd853a lots of mixer changes: replaced _volumeTable by _globalVolume (applying volume after resampling is more accurate); made more member vars of SoundMixer protected (and thus added some new getter methods); added (untested) support for a second (stereo) channel when playing MP3
svn-id: r9184
2003-07-25 01:19:14 +00:00