File tree Expand file tree Collapse file tree 3 files changed +466
-379
lines changed
Client/mods/deathmatch/logic Expand file tree Collapse file tree 3 files changed +466
-379
lines changed Original file line number Diff line number Diff line change @@ -398,6 +398,20 @@ bool CClientPlayerVoice::IsFxEffectEnabled(uint uiFxEffect)
398
398
return m_EnabledEffects[uiFxEffect] ? true : false ;
399
399
}
400
400
401
+ bool CClientPlayerVoice::SetFxEffectParameters (std::uint32_t uiFxEffect, void * params)
402
+ {
403
+ if (IsFxEffectEnabled (uiFxEffect))
404
+ return BASS_FXSetParameters (m_FxEffects[uiFxEffect], params);
405
+ return false ;
406
+ }
407
+
408
+ bool CClientPlayerVoice::GetFxEffectParameters (std::uint32_t uiFxEffect, void * params)
409
+ {
410
+ if (IsFxEffectEnabled (uiFxEffect))
411
+ return BASS_FXGetParameters (m_FxEffects[uiFxEffect], params);
412
+ return false ;
413
+ }
414
+
401
415
bool CClientPlayerVoice::GetPan (float & fPan )
402
416
{
403
417
fPan = 0 .0f ;
Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ class CClientPlayerVoice
73
73
bool SetFxEffect (uint uiFxEffect, bool bEnable);
74
74
bool IsFxEffectEnabled (uint uiFxEffect);
75
75
76
+ bool SetFxEffectParameters (std::uint32_t uiFxEffect, void * params);
77
+ bool GetFxEffectParameters (std::uint32_t uiFxEffect, void * params);
78
+
76
79
bool IsActive () { return m_bVoiceActive; }
77
80
78
81
private:
You can’t perform that action at this time.
0 commit comments