mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 23:32:02 +00:00
d0b2c41270
the rest of the game is concerned, these sounds will never stop once they have been started until they are explicitly stopped. If they are evicted from their channels, the sound code will restart them as soon as possible. This means that instead of this: if (!S_IsActorPlayingSomething(actor, CHAN_WEAPON, -1)) { S_Sound(actor, CHAN_WEAPON|CHAN_LOOP, soundid, 1, ATTN_NORM); } The following is now just as effective: S_Sound(actor, CHAN_WEAPON|CHAN_LOOP, soundid, 1, ATTN_NORM); There are also a couple of other ramifications presented by this change: * The full state of the sound system (sans music) is now stored in save games. Any sounds that were playing when you saved will still be playing when you load. (Try saving while Korax is making a speech in Hexen to hear it.) * Using snd_reset will also preserve any playing sounds. * Movie playback is disabled, probably forever. I did not want to update the MovieDisable/ResumeSound stuff for the new eviction tracking code. A properly updated movie player will use the VMR, which doesn't need these functions, since it would pipe the sound straight through the sound system like everything else, so I decided to dump them now, which leaves the movie player in a totally unworkable state. June 26, 2008 - Changed S_Sound() to take the same floating point attenuation that the internal S_StartSound() uses. Now ambient sounds can use the public S_Sound() interface. - Fixed: S_RelinkSound() compared the points of the channels against the from actor's point, rather than checking the channels' mover. - Changed Strife's animated doors so that their sounds originate from the interior of the sector making them and not from the entire vertical height of the map. SVN r1055 (trunk) |
||
---|---|---|
.. | ||
afxres.h | ||
boing1.ico | ||
boing2.ico | ||
boing3.ico | ||
boing4.ico | ||
boing5.ico | ||
boing6.ico | ||
boing7.ico | ||
boing8.ico | ||
critsec.h | ||
cursor1.cur | ||
deadguy.bmp | ||
eaxedit.cpp | ||
fb_d3d9.cpp | ||
fb_d3d9_shaders.h | ||
fb_d3d9_wipe.cpp | ||
fb_ddraw.cpp | ||
hardware.cpp | ||
hardware.h | ||
helperthread.cpp | ||
helperthread.h | ||
i_cd.cpp | ||
i_crash.cpp | ||
i_input.cpp | ||
i_input.h | ||
i_main.cpp | ||
i_movie.cpp | ||
i_system.cpp | ||
i_system.h | ||
icon1.ico | ||
resource.h | ||
st_start.cpp | ||
win32iface.h | ||
win32video.cpp | ||
winres.h | ||
wrappers.nas | ||
zdoom.exe.manifest | ||
zdoom.rc | ||
zdoom.RES |