mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Match LegoHideAnimPresenter::FUN_1006db60
(#1414)
* Match `LegoHideAnimPresenter::FUN_1006db60` * Remove comment
This commit is contained in:

committed by
GitHub

parent
401fa7674e
commit
e9467864d8
@@ -118,8 +118,7 @@ void LegoHideAnimPresenter::FUN_1006db60(LegoTreeNode* p_node, LegoTime p_time)
|
|||||||
|
|
||||||
if (boundary != NULL) {
|
if (boundary != NULL) {
|
||||||
newB = data->FUN_100a0990(p_time);
|
newB = data->FUN_100a0990(p_time);
|
||||||
boundary->GetFlag0x10();
|
previousB = boundary->GetFlag0x10();
|
||||||
// TODO: Match
|
|
||||||
boundary->SetFlag0x10(newB);
|
boundary->SetFlag0x10(newB);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -189,6 +189,7 @@ public:
|
|||||||
// FUNCTION: BETA10 0x1005abc0
|
// FUNCTION: BETA10 0x1005abc0
|
||||||
LegoU16 GetUnknown0x20() { return m_unk0x20; }
|
LegoU16 GetUnknown0x20() { return m_unk0x20; }
|
||||||
|
|
||||||
|
// FUNCTION: BETA10 0x1005d5c0
|
||||||
LegoU16 GetUnknown0x22() { return m_unk0x22; }
|
LegoU16 GetUnknown0x22() { return m_unk0x22; }
|
||||||
|
|
||||||
// FUNCTION: BETA10 0x10073b80
|
// FUNCTION: BETA10 0x10073b80
|
||||||
@@ -222,6 +223,8 @@ public:
|
|||||||
{
|
{
|
||||||
return CreateLocalTransform((LegoFloat) p_time, p_matrix);
|
return CreateLocalTransform((LegoFloat) p_time, p_matrix);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FUNCTION: BETA10 0x1005d580
|
||||||
LegoBool FUN_100a0990(LegoTime p_time) { return FUN_100a0990((LegoFloat) p_time); }
|
LegoBool FUN_100a0990(LegoTime p_time) { return FUN_100a0990((LegoFloat) p_time); }
|
||||||
|
|
||||||
inline static void GetTranslation(
|
inline static void GetTranslation(
|
||||||
|
@@ -45,7 +45,15 @@ public:
|
|||||||
LegoS32 VTable0x04() override; // vtable+0x04
|
LegoS32 VTable0x04() override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: BETA10 0x100270c0
|
// FUNCTION: BETA10 0x100270c0
|
||||||
LegoU32 GetFlag0x10() { return m_flags & c_bit5 ? FALSE : TRUE; }
|
LegoU32 GetFlag0x10()
|
||||||
|
{
|
||||||
|
if (m_flags & c_bit5) {
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// TODO: Other BETA10 reference at 0x1001c9e0, not sure what is going on
|
// TODO: Other BETA10 reference at 0x1001c9e0, not sure what is going on
|
||||||
// FUNCTION: BETA10 0x1001ff80
|
// FUNCTION: BETA10 0x1001ff80
|
||||||
@@ -57,6 +65,7 @@ public:
|
|||||||
// FUNCTION: BETA10 0x1001c9b0
|
// FUNCTION: BETA10 0x1001c9b0
|
||||||
const LegoChar* GetName() { return m_name; }
|
const LegoChar* GetName() { return m_name; }
|
||||||
|
|
||||||
|
// FUNCTION: BETA10 0x1005d5f0
|
||||||
void SetFlag0x10(LegoU32 p_disable)
|
void SetFlag0x10(LegoU32 p_disable)
|
||||||
{
|
{
|
||||||
if (p_disable) {
|
if (p_disable) {
|
||||||
|
Reference in New Issue
Block a user