- separated the channel number from the flags in the sound interface so that the 8 channel limit can be eliminated.
- added Marisa Kirisame's CHAN_OVERLAP flag. - exported S_IsActorPlayingSomething to ZScript. The sound API change required deprecating A_PlaySound and S_Sound. There are now new variants S_StartSound and A_StartSound which have two distinct parameters for channel and flags.
This commit is contained in:
parent
b09e9f10ed
commit
e82565373f
43 changed files with 339 additions and 280 deletions
|
|
@ -363,7 +363,7 @@ CCMD (weapnext)
|
|||
}
|
||||
if (SendItemUse != players[consoleplayer].ReadyWeapon)
|
||||
{
|
||||
S_Sound(CHAN_AUTO, "misc/weaponchange", 1.0, ATTN_NONE);
|
||||
S_Sound(CHAN_AUTO, 0, "misc/weaponchange", 1.0, ATTN_NONE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -389,7 +389,7 @@ CCMD (weapprev)
|
|||
}
|
||||
if (SendItemUse != players[consoleplayer].ReadyWeapon)
|
||||
{
|
||||
S_Sound(CHAN_AUTO, "misc/weaponchange", 1.0, ATTN_NONE);
|
||||
S_Sound(CHAN_AUTO, 0, "misc/weaponchange", 1.0, ATTN_NONE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue