mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 02:31:15 +00:00
Rename
This commit is contained in:
parent
22955b3d62
commit
20b7704e66
@ -73,8 +73,8 @@ class LegoPathController : public MxCore {
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
MxResult Read(LegoStorage* p_storage);
|
MxResult Read(LegoStorage* p_storage);
|
||||||
MxResult ReadStruct(LegoStorage* p_storage);
|
MxResult ReadStructs(LegoStorage* p_storage);
|
||||||
MxResult ReadEdge(LegoStorage* p_storage);
|
MxResult ReadEdges(LegoStorage* p_storage);
|
||||||
MxResult FUN_10047e90(LegoStorage* p_storage);
|
MxResult FUN_10047e90(LegoStorage* p_storage);
|
||||||
static MxResult FUN_100482b0(LegoStorage* p_storage, Mx3DPointFloat&);
|
static MxResult FUN_100482b0(LegoStorage* p_storage, Mx3DPointFloat&);
|
||||||
|
|
||||||
|
|||||||
@ -154,7 +154,7 @@ MxResult LegoPathController::Read(LegoStorage* p_storage)
|
|||||||
m_unk0x08 = new LegoPathBoundary[m_numL];
|
m_unk0x08 = new LegoPathBoundary[m_numL];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_numT > 0 && ReadStruct(p_storage) != SUCCESS) {
|
if (m_numT > 0 && ReadStructs(p_storage) != SUCCESS) {
|
||||||
return FAILURE;
|
return FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -166,7 +166,7 @@ MxResult LegoPathController::Read(LegoStorage* p_storage)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_numE > 0 && ReadEdge(p_storage) != SUCCESS) {
|
if (m_numE > 0 && ReadEdges(p_storage) != SUCCESS) {
|
||||||
return FAILURE;
|
return FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -183,7 +183,7 @@ MxResult LegoPathController::Read(LegoStorage* p_storage)
|
|||||||
|
|
||||||
// FUNCTION: LEGO1 0x10047b30
|
// FUNCTION: LEGO1 0x10047b30
|
||||||
// FUNCTION: BETA10 0x100b7cd6
|
// FUNCTION: BETA10 0x100b7cd6
|
||||||
MxResult LegoPathController::ReadStruct(LegoStorage* p_storage)
|
MxResult LegoPathController::ReadStructs(LegoStorage* p_storage)
|
||||||
{
|
{
|
||||||
for (MxS32 i = 0; i < m_numT; i++) {
|
for (MxS32 i = 0; i < m_numT; i++) {
|
||||||
MxU8 length = 0;
|
MxU8 length = 0;
|
||||||
@ -212,7 +212,7 @@ MxResult LegoPathController::ReadStruct(LegoStorage* p_storage)
|
|||||||
|
|
||||||
// FUNCTION: LEGO1 0x10047c10
|
// FUNCTION: LEGO1 0x10047c10
|
||||||
// FUNCTION: BETA10 0x100b7df3
|
// FUNCTION: BETA10 0x100b7df3
|
||||||
MxResult LegoPathController::ReadEdge(LegoStorage* p_storage)
|
MxResult LegoPathController::ReadEdges(LegoStorage* p_storage)
|
||||||
{
|
{
|
||||||
for (MxS32 i = 0; i < m_numE; i++) {
|
for (MxS32 i = 0; i < m_numE; i++) {
|
||||||
LegoPathCtrlEdge& edge = m_unk0x0c[i];
|
LegoPathCtrlEdge& edge = m_unk0x0c[i];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user