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

Fix CScriptSound favoring the right speaker, cleanup CBallCamera, update amuse

This commit is contained in:
2020-10-24 16:00:39 -07:00
parent b963ce1e85
commit fdd41d87c4
6 changed files with 334 additions and 198 deletions

View File

@@ -25,7 +25,7 @@ CScriptSound::CScriptSound(TUniqueId uid, std::string_view name, const CEntityIn
, x10e_vol(vol / 127.f)
, x110_(w3)
, x112_prio(s16(prio))
, x114_pan(pan / 64.f - 1.f)
, x114_pan(amuse::convertMusyXPanToAmusePan(pan))
, x116_(w6)
, x118_pitch(pitch / 8192.f)
, x11c_25_looped(looped)