2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 05:47:42 +00:00

Implement WorldTeleporter and SpiderBallWaypoint

This commit is contained in:
2017-08-08 15:12:14 -07:00
parent 69187353b9
commit ecff2b7f8d
16 changed files with 402 additions and 35 deletions

View File

@@ -487,4 +487,19 @@ bool CWorldTransManager::WaitForModelsAndTextures()
return true;
}
void CWorldTransManager::SfxStop()
{
if (x28_sfxHandle)
{
CSfxManager::SfxStop(x28_sfxHandle);
x28_sfxHandle.reset();
}
}
void CWorldTransManager::SfxStart()
{
if (!x28_sfxHandle && x24_sfx != 0xFFFF)
x28_sfxHandle = CSfxManager::SfxStart(x24_sfx, x2c_volume, x2d_panning, false, 127, true, -1);
}
}