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
Max Horn
95bb74e2b8
round to nearest
...
svn-id: r9183
2003-07-25 01:05:08 +00:00
Max Horn
b15277e5ed
oops, wanted to move talkFrequency initialisation, but only re-moved it, and didn't add it in its new place. bad me!
...
svn-id: r9182
2003-07-24 23:33:43 +00:00
Max Horn
f086ab5a05
whitespace
...
svn-id: r9181
2003-07-24 21:26:46 +00:00
Max Horn
09263a1feb
added volume support; some cleanup; provided exactly as many samples as were requested in the 'resample' algorithm (if possible)
...
svn-id: r9180
2003-07-24 21:26:00 +00:00
Max Horn
1622ac31da
added RateConverter classes as thin wrappers around st_* functions; renamed InputStream -> AudioInputStream and cleaned up the hierarchy of its subclasses; added makeInputStream() auxillary function
...
svn-id: r9179
2003-07-24 18:20:12 +00:00
Travis Howell
8146de7693
ambient sfx works fine again
...
svn-id: r9178
2003-07-24 17:49:03 +00:00
Max Horn
b9d380bba4
new files, based on SoX ( http://sox.sf.net ): better resampling code. Note that my mixer.cpp changes are on purpose not yet in CVS since they are not complete. Only reasons I checkin these files is that it's much more comfortable to have CVS, since I need to rewrite parts of resample.cpp now (I already have lots of modifications in). Also expect more OO in the future
...
svn-id: r9176
2003-07-24 17:46:38 +00:00
Max Horn
becd70d243
cleanup: encapsulate some more members of class Actor, and rename newDirection -> targetFacing (since it corresponds to the future value of 'facing'; the distinction between 'facing' and 'direction' is extremly fuzzy)
...
svn-id: r9175
2003-07-24 17:44:00 +00:00
Travis Howell
be7597a8c9
Should be right now
...
svn-id: r9174
2003-07-24 16:54:40 +00:00
Torbjörn Andersson
5f3cd3b584
Fix warning (no newline at end of file)
...
svn-id: r9172
2003-07-24 16:18:41 +00:00