mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 01:14:19 +00:00
Implement/match LegoNavController::Notify (#1253)
* Implement/match `LegoNavController::Notify` * Move function * Add to total function count * Add OPT:REF to lego1
This commit is contained in:
committed by
GitHub
parent
bcc41256f8
commit
fe2a65c8da
@@ -1138,7 +1138,7 @@ MxResult LegoAnimationManager::FUN_10060dc0(
|
||||
MxU32 p_objectId,
|
||||
MxMatrix* p_matrix,
|
||||
MxBool p_param3,
|
||||
MxBool p_param4,
|
||||
MxU8 p_param4,
|
||||
LegoROI* p_roi,
|
||||
MxBool p_param6,
|
||||
MxBool p_param7,
|
||||
@@ -1159,10 +1159,10 @@ MxResult LegoAnimationManager::FUN_10060dc0(
|
||||
MxBool unk0x0a;
|
||||
|
||||
switch (p_param4) {
|
||||
case FALSE:
|
||||
case e_unk0:
|
||||
unk0x0a = m_anims[i].m_unk0x0a;
|
||||
break;
|
||||
case TRUE:
|
||||
case e_unk1:
|
||||
unk0x0a = TRUE;
|
||||
break;
|
||||
default:
|
||||
|
||||
@@ -221,6 +221,24 @@ done:
|
||||
return result;
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100834d0
|
||||
// FUNCTION: BETA10 0x100742eb
|
||||
const char* LegoCharacterManager::GetActorName(MxS32 p_index)
|
||||
{
|
||||
if (p_index < sizeOfArray(g_actorInfo)) {
|
||||
return g_actorInfo[p_index].m_name;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100834f0
|
||||
// FUNCTION: BETA10 0x1007432a
|
||||
MxU32 LegoCharacterManager::GetNumActors()
|
||||
{
|
||||
return sizeOfArray(g_actorInfo);
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10083500
|
||||
// FUNCTION: BETA10 0x10074345
|
||||
LegoROI* LegoCharacterManager::GetActorROI(const char* p_name, MxBool p_createEntity)
|
||||
|
||||
@@ -98,6 +98,7 @@ void LegoPlantManager::LoadWorldInfo(LegoOmni::World p_worldId)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100263a0
|
||||
// FUNCTION: BETA10 0x100c5093
|
||||
void LegoPlantManager::Reset(LegoOmni::World p_worldId)
|
||||
{
|
||||
MxU32 i;
|
||||
@@ -344,6 +345,13 @@ void LegoPlantManager::FUN_10026860(MxS32 p_index)
|
||||
}
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100268d0
|
||||
// FUNCTION: BETA10 0x100c5c7a
|
||||
MxS32 LegoPlantManager::GetNumPlants()
|
||||
{
|
||||
return sizeOfArray(g_plantInfo);
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100268e0
|
||||
// FUNCTION: BETA10 0x100c5c95
|
||||
LegoPlantInfo* LegoPlantManager::GetInfo(LegoEntity* p_entity)
|
||||
|
||||
Reference in New Issue
Block a user