mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 01:28:30 -05:00
Implement/match LegoAnimPresenter::SubstituteVariables (#850)
This commit is contained in:
parent
830c0827af
commit
ce3d915bba
2 changed files with 13 additions and 5 deletions
|
@ -101,7 +101,7 @@ class LegoAnimPresenter : public MxVideoPresenter {
|
||||||
void FUN_1006ab70();
|
void FUN_1006ab70();
|
||||||
LegoBool FUN_1006aba0();
|
LegoBool FUN_1006aba0();
|
||||||
MxBool FUN_1006abb0(LegoTreeNode* p_node, LegoROI* p_roi);
|
MxBool FUN_1006abb0(LegoTreeNode* p_node, LegoROI* p_roi);
|
||||||
void FUN_1006ac90();
|
void SubstituteVariables();
|
||||||
void FUN_1006b900(LegoAnim* p_anim, MxLong p_time, Matrix4* p_matrix);
|
void FUN_1006b900(LegoAnim* p_anim, MxLong p_time, Matrix4* p_matrix);
|
||||||
void FUN_1006b9a0(LegoAnim* p_anim, MxLong p_time, Matrix4* p_matrix);
|
void FUN_1006b9a0(LegoAnim* p_anim, MxLong p_time, Matrix4* p_matrix);
|
||||||
void FUN_1006c8a0(MxBool p_bool);
|
void FUN_1006c8a0(MxBool p_bool);
|
||||||
|
|
|
@ -588,10 +588,17 @@ MxBool LegoAnimPresenter::FUN_1006abb0(LegoTreeNode* p_node, LegoROI* p_roi)
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
// STUB: LEGO1 0x1006ac90
|
// FUNCTION: LEGO1 0x1006ac90
|
||||||
void LegoAnimPresenter::FUN_1006ac90()
|
// FUNCTION: BETA10 0x1005022e
|
||||||
|
void LegoAnimPresenter::SubstituteVariables()
|
||||||
{
|
{
|
||||||
// TODO
|
if (m_substMap != NULL) {
|
||||||
|
MxVariableTable* variableTable = VariableTable();
|
||||||
|
|
||||||
|
for (LegoAnimSubstMap::iterator it = m_substMap->begin(); it != m_substMap->end(); it++) {
|
||||||
|
variableTable->SetVariable((*it).first, (*it).second);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1006ad30
|
// FUNCTION: LEGO1 0x1006ad30
|
||||||
|
@ -709,9 +716,10 @@ void LegoAnimPresenter::ReadyTickle()
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1006b5e0
|
// FUNCTION: LEGO1 0x1006b5e0
|
||||||
|
// FUNCTION: BETA10 0x10050b85
|
||||||
void LegoAnimPresenter::StartingTickle()
|
void LegoAnimPresenter::StartingTickle()
|
||||||
{
|
{
|
||||||
FUN_1006ac90();
|
SubstituteVariables();
|
||||||
FUN_100692b0();
|
FUN_100692b0();
|
||||||
FUN_100695c0();
|
FUN_100695c0();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue