mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
whitespace
This commit is contained in:
parent
601baa1a61
commit
f62a360830
@ -327,6 +327,7 @@ void LegoExtraActor::Restart()
|
|||||||
void LegoExtraActor::VTable0x70(float p_time)
|
void LegoExtraActor::VTable0x70(float p_time)
|
||||||
{
|
{
|
||||||
LegoAnimActorStruct* laas = NULL;
|
LegoAnimActorStruct* laas = NULL;
|
||||||
|
|
||||||
switch (m_whichAnim) {
|
switch (m_whichAnim) {
|
||||||
case 0:
|
case 0:
|
||||||
LegoAnimActor::VTable0x70(p_time);
|
LegoAnimActor::VTable0x70(p_time);
|
||||||
@ -356,19 +357,23 @@ void LegoExtraActor::VTable0x70(float p_time)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (laas) {
|
if (laas) {
|
||||||
float duration2;
|
float duration2, duration;
|
||||||
float duration = laas->GetDuration();
|
duration = laas->GetDuration();
|
||||||
duration2 = p_time - (m_scheduledTime - duration);
|
duration2 = p_time - (m_scheduledTime - duration);
|
||||||
|
|
||||||
if (duration2 < 0) {
|
if (duration2 < 0) {
|
||||||
duration2 = 0;
|
duration2 = 0;
|
||||||
}
|
}
|
||||||
else if (duration2 > duration) {
|
else if (duration2 > duration) {
|
||||||
duration2 = duration;
|
duration2 = duration;
|
||||||
}
|
}
|
||||||
|
|
||||||
MxMatrix matrix(m_roi->GetLocal2World());
|
MxMatrix matrix(m_roi->GetLocal2World());
|
||||||
LegoTreeNode* root = laas->m_AnimTreePtr->GetRoot();
|
LegoTreeNode* root = laas->m_AnimTreePtr->GetRoot();
|
||||||
MxS32 count = root->GetNumChildren();
|
MxS32 count = root->GetNumChildren();
|
||||||
|
|
||||||
for (MxS32 i = 0; i < count; i++) {
|
for (MxS32 i = 0; i < count; i++) {
|
||||||
LegoROI::FUN_100a8e80(root->GetChild(i), matrix, duration2, laas->m_roiMap);
|
LegoROI::FUN_100a8e80(root->GetChild(i), matrix, duration2, laas->m_roiMap);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user