mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 04:27:42 +00:00
Initial CPlayerGun implementations
This commit is contained in:
@@ -340,6 +340,12 @@ void CSfxManager::SfxVolume(const CSfxHandle& handle, float vol)
|
||||
handle->GetVoice()->setVolume(vol);
|
||||
}
|
||||
|
||||
void CSfxManager::SfxSpan(const CSfxHandle& handle, float span)
|
||||
{
|
||||
if (handle->IsPlaying())
|
||||
handle->GetVoice()->setSurroundPan(span);
|
||||
}
|
||||
|
||||
u16 CSfxManager::TranslateSFXID(u16 id)
|
||||
{
|
||||
if (mpSfxTranslationTable == nullptr)
|
||||
|
||||
Reference in New Issue
Block a user