mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-31 04:01:16 +00:00
Name Init
This commit is contained in:
parent
b495350281
commit
8778ca9f02
@ -62,7 +62,7 @@ class LegoCharacterManager {
|
|||||||
MxResult Read(LegoStorage* p_storage);
|
MxResult Read(LegoStorage* p_storage);
|
||||||
LegoROI* GetROI(const char* p_key, MxBool p_createEntity);
|
LegoROI* GetROI(const char* p_key, MxBool p_createEntity);
|
||||||
|
|
||||||
void FUN_10083270();
|
void Init();
|
||||||
static void SetCustomizeAnimFile(const char* p_value);
|
static void SetCustomizeAnimFile(const char* p_value);
|
||||||
static MxBool FUN_10084c00(const LegoChar*);
|
static MxBool FUN_10084c00(const LegoChar*);
|
||||||
|
|
||||||
|
|||||||
@ -31,14 +31,14 @@ LegoCharacterData g_characterData[66];
|
|||||||
LegoCharacterManager::LegoCharacterManager()
|
LegoCharacterManager::LegoCharacterManager()
|
||||||
{
|
{
|
||||||
m_characters = new LegoCharacterMap();
|
m_characters = new LegoCharacterMap();
|
||||||
FUN_10083270();
|
Init();
|
||||||
|
|
||||||
m_customizeAnimFile = new CustomizeAnimFileVariable("CUSTOMIZE_ANIM_FILE");
|
m_customizeAnimFile = new CustomizeAnimFileVariable("CUSTOMIZE_ANIM_FILE");
|
||||||
VariableTable()->SetVariable(m_customizeAnimFile);
|
VariableTable()->SetVariable(m_customizeAnimFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10083270
|
// FUNCTION: LEGO1 0x10083270
|
||||||
void LegoCharacterManager::FUN_10083270()
|
void LegoCharacterManager::Init()
|
||||||
{
|
{
|
||||||
for (MxS32 i = 0; i < _countof(g_characterData); i++) {
|
for (MxS32 i = 0; i < _countof(g_characterData); i++) {
|
||||||
g_characterData[i] = g_characterDataInit[i];
|
g_characterData[i] = g_characterDataInit[i];
|
||||||
|
|||||||
@ -1057,7 +1057,7 @@ void LegoGameState::Init()
|
|||||||
SetLightPosition(2);
|
SetLightPosition(2);
|
||||||
PlantManager()->Init();
|
PlantManager()->Init();
|
||||||
BuildingManager()->Init();
|
BuildingManager()->Init();
|
||||||
CharacterManager()->FUN_10083270();
|
CharacterManager()->Init();
|
||||||
AnimationManager()->FUN_1005ee80(TRUE);
|
AnimationManager()->FUN_1005ee80(TRUE);
|
||||||
SetColors();
|
SetColors();
|
||||||
RemoveActor();
|
RemoveActor();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user