mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 01:14:19 +00:00
Use alias functions from Lego3DManager (#1167)
* Mark LegoEntity:Destroy (many vtables use it) * Starting addrs for Lego3DManager helpers * Addrs for users of Lego3DManager and changes where needed
This commit is contained in:
@@ -222,6 +222,7 @@ done:
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10083500
|
||||
// FUNCTION: BETA10 0x10074345
|
||||
LegoROI* LegoCharacterManager::GetActorROI(const char* p_name, MxBool p_createEntity)
|
||||
{
|
||||
LegoCharacter* character = NULL;
|
||||
@@ -428,6 +429,7 @@ void LegoCharacterManager::ReleaseAutoROI(LegoROI* p_roi)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10084010
|
||||
// FUNCTION: BETA10 0x10074e20
|
||||
void LegoCharacterManager::RemoveROI(LegoROI* p_roi)
|
||||
{
|
||||
VideoManager()->Get3DManager()->Remove(*p_roi);
|
||||
@@ -944,6 +946,7 @@ void LegoCharacterManager::SetCustomizeAnimFile(const char* p_value)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10085210
|
||||
// FUNCTION: BETA10 0x10076995
|
||||
LegoROI* LegoCharacterManager::CreateAutoROI(const char* p_name, const char* p_lodName, MxBool p_createEntity)
|
||||
{
|
||||
LegoROI* roi = NULL;
|
||||
|
||||
@@ -206,6 +206,7 @@ void LegoGameState::RemoveActor()
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10039940
|
||||
// FUNCTION: BETA10 0x10084069
|
||||
void LegoGameState::ResetROI()
|
||||
{
|
||||
if (m_actorId) {
|
||||
@@ -215,8 +216,8 @@ void LegoGameState::ResetROI()
|
||||
LegoROI* roi = actor->GetROI();
|
||||
|
||||
if (roi) {
|
||||
VideoManager()->Get3DManager()->GetLego3DView()->Remove(*roi);
|
||||
VideoManager()->Get3DManager()->GetLego3DView()->Add(*roi);
|
||||
VideoManager()->Get3DManager()->Remove(*roi);
|
||||
VideoManager()->Get3DManager()->Add(*roi);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -172,6 +172,7 @@ LegoTreeNode* GetTreeNode(LegoTreeNode* p_node, MxU32 p_index)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1003e050
|
||||
// FUNCTION: BETA10 0x100d3abc
|
||||
void FUN_1003e050(LegoAnimPresenter* p_presenter)
|
||||
{
|
||||
MxMatrix viewMatrix;
|
||||
|
||||
Reference in New Issue
Block a user