2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:07:42 +00:00

CScriptColorModulate fixes

This commit is contained in:
Jack Andersen
2018-05-16 14:04:07 -10:00
parent c6d7950896
commit e943a60694
12 changed files with 219 additions and 189 deletions

View File

@@ -7,11 +7,12 @@ namespace urde
{
CAdditiveAnimPlayback::CAdditiveAnimPlayback(const std::weak_ptr<CAnimTreeNode>& anim,
float weight, bool active, const CAdditiveAnimationInfo& info, bool b)
float weight, bool active, const CAdditiveAnimationInfo& info,
bool fadeOut)
: x0_info(info), x8_anim(anim.lock()), xc_targetWeight(weight), x14_active(active)
{
if (!active && b)
x20_ = true;
if (!active && fadeOut)
x20_needsFadeOut = true;
}
void CAdditiveAnimPlayback::AddToSegStatementSet(const CSegIdList& list,