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
Travis Howell
316162fe19
Ooops
...
svn-id: r9171
2003-07-24 15:15:35 +00:00
Chris Apers
31efc22c97
Add support for strnicmp
...
svn-id: r9170
2003-07-24 15:05:10 +00:00
Chris Apers
731a1bbbc9
Remove palmos fixme
...
svn-id: r9169
2003-07-24 15:01:01 +00:00
Jonathan Gray
a8bffdf1c9
scumm_strnicmp
...
svn-id: r9168
2003-07-24 14:47:48 +00:00
Travis Howell
635fea9b17
Simon games shold only play one voice at a time.
...
Fixes many voice overlaps
Fixes subtitles been ot of sync with voice, with simon 1 versions that had combi
ned speech/subtitles.
svn-id: r9167
2003-07-24 14:21:56 +00:00
Travis Howell
55c71f65c0
Another leak
...
svn-id: r9165
2003-07-24 12:32:56 +00:00
Travis Howell
f930abe568
Check before releasing memory
...
svn-id: r9163
2003-07-24 12:05:06 +00:00
Travis Howell
da0db02f6e
Fix for simon2mac voices problem, bug #776803
...
svn-id: r9160
2003-07-24 10:20:56 +00:00
Paweł Kołodziejski
34732e48de
updated vc7 file
...
svn-id: r9157
2003-07-24 07:07:53 +00:00
Jamieson Christian
17a888b65a
Fix for Bug [775534] 0.5.0 RC SIMON1DOS Random sfx notes during music
...
Corrected a problem with resource size computation for GMF sound
effect resources. Since GMF resources have no size info, we were
computing sizes with the assumption that each GMF appears in its
own file, so the file size becomes the resource size. This is true
for simon1dos music files but not for SFX files. This fix uses the
resource offset pointers at the beginning of SFX files to properly
compute the size of SFX resources.
svn-id: r9155
2003-07-24 04:19:42 +00:00
Chris Apers
03e720dabe
Fix a bug with checkMSA that let the last track play even if we exit to the launcher. Also enable to use MSALib if the lib is opened by another application
...
svn-id: r9151
2003-07-23 20:17:07 +00:00
Joost Peters
fa2d02ce6d
applied eriktorbjorn's patch ( #776225 - 'BASS CD intro fixes')
...
svn-id: r9150
2003-07-23 19:33:34 +00:00
Ruediger Hanke
9a3fca462e
Quick hack to solve Simon problem
...
svn-id: r9149
2003-07-23 19:19:18 +00:00
Torbjörn Andersson
20dd02a833
Don't check for hotkeys when ascii is 0, since that is the default hotkey
...
for widgets that have none. (This means the Shift key words in text edit
widgets again, for instance.)
svn-id: r9148
2003-07-23 16:44:15 +00:00
Torbjörn Andersson
9db2d93614
Slight cleanup of previous commit.
...
svn-id: r9147
2003-07-23 14:36:18 +00:00
Torbjörn Andersson
e66bdf91b9
Allow the sentence line to be 40 printable characters long. The verb part
...
is padded with '@', which should not be counted.
svn-id: r9146
2003-07-23 14:33:57 +00:00
Torbjörn Andersson
a327f805ac
Fixed regression in clamped_add_16() that kept it from clamping. This was
...
quite noticeable in the BASS floppy intro.
Of course, if it turns out that 'int' is also only 16 bits it still won't
work, but in that case we run into problems even before this function is
called.
svn-id: r9145
2003-07-23 13:16:58 +00:00
Max Horn
dad1586daf
reset some CD related vars when AudioCD is opened
...
svn-id: r9144
2003-07-23 09:41:21 +00:00
Travis Howell
2b0e1b7000
Small correction for mac loom
...
svn-id: r9143
2003-07-23 05:36:08 +00:00
Travis Howell
fc5080bfb2
Ooops that should not have been commmited
...
svn-id: r9142
2003-07-23 05:18:47 +00:00
Travis Howell
13dae9b394
fm towns cd audio fix from Hibernatus
...
svn-id: r9141
2003-07-23 05:17:21 +00:00
Max Horn
88cf307273
start -> start_frame, to match backends (purely cosmetic :-)
...
svn-id: r9140
2003-07-22 23:27:41 +00:00
Ruediger Hanke
6f2324dc47
*** empty log message ***
...
svn-id: r9139
2003-07-22 22:38:27 +00:00