mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-28 22:07:38 +00:00
Fix naming
This commit is contained in:
parent
3bdcd48254
commit
6395f39cca
@ -53,11 +53,11 @@ class LegoPartPresenter : public MxMediaPresenter {
|
|||||||
|
|
||||||
static void Release()
|
static void Release()
|
||||||
{
|
{
|
||||||
for (auto* lodList : lodLists) {
|
for (auto* lodList : g_lodLists) {
|
||||||
lodList->Release();
|
lodList->Release();
|
||||||
}
|
}
|
||||||
|
|
||||||
lodLists.clear();
|
g_lodLists.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@ -65,7 +65,7 @@ class LegoPartPresenter : public MxMediaPresenter {
|
|||||||
|
|
||||||
LegoNamedPartList* m_parts; // 0x50
|
LegoNamedPartList* m_parts; // 0x50
|
||||||
|
|
||||||
static vector<ViewLODList*> lodLists;
|
static vector<ViewLODList*> g_lodLists;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // LEGOPARTPRESENTER_H
|
#endif // LEGOPARTPRESENTER_H
|
||||||
|
|||||||
@ -22,7 +22,7 @@ MxS32 g_partPresenterConfig1 = 1;
|
|||||||
// GLOBAL: LEGO1 0x100f7aa4
|
// GLOBAL: LEGO1 0x100f7aa4
|
||||||
MxS32 g_partPresenterConfig2 = 100;
|
MxS32 g_partPresenterConfig2 = 100;
|
||||||
|
|
||||||
vector<ViewLODList*> LegoPartPresenter::lodLists;
|
vector<ViewLODList*> LegoPartPresenter::g_lodLists;
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1007c990
|
// FUNCTION: LEGO1 0x1007c990
|
||||||
void LegoPartPresenter::configureLegoPartPresenter(MxS32 p_partPresenterConfig1, MxS32 p_partPresenterConfig2)
|
void LegoPartPresenter::configureLegoPartPresenter(MxS32 p_partPresenterConfig1, MxS32 p_partPresenterConfig2)
|
||||||
@ -264,7 +264,7 @@ void LegoPartPresenter::Store()
|
|||||||
lodList->PushBack(lod);
|
lodList->PushBack(lod);
|
||||||
}
|
}
|
||||||
|
|
||||||
lodLists.push_back(lodList);
|
g_lodLists.push_back(lodList);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
lodList->Release();
|
lodList->Release();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user