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

Properly cleanup Xorg in visigen, various fixes and cleanups in URDE, more CRidley imps

This commit is contained in:
2019-11-19 15:06:25 -08:00
parent 4762c7b832
commit 8b6dff70b4
20 changed files with 610 additions and 190 deletions

View File

@@ -289,11 +289,11 @@ bool CREVectorZToReal::GetValue(int frame, float& valOut) const {
return false;
}
bool CRECEXT::GetValue(int frame, float& valOut) const {
bool CREExternalVar::GetValue(int frame, float& valOut) const {
int a;
x4_a->GetValue(frame, a);
int cv = std::max(0, a);
valOut = CParticleGlobals::g_currentParticleSystem->x4_system->GetCEXTValue(cv & 0xf);
valOut = CParticleGlobals::g_currentParticleSystem->x4_system->GetExternalVar(cv & 0xf);
return false;
}