mirror of
https://github.com/isledecomp/isle.git
synced 2024-12-20 21:12:43 -05:00
49c17c9c6a
* Implement/match LegoEntity::SwitchSound * Name * Name * Implement/match LegoEntity::SwitchMove * Mood
138 lines
2.2 KiB
C++
138 lines
2.2 KiB
C++
#include "legoplantmanager.h"
|
|
|
|
#include "legoentity.h"
|
|
|
|
DECOMP_SIZE_ASSERT(LegoPlantManager, 0x2c)
|
|
|
|
// GLOBAL: LEGO1 0x100f3188
|
|
char* LegoPlantManager::g_customizeAnimFile = NULL;
|
|
|
|
// FUNCTION: LEGO1 0x10026220
|
|
LegoPlantManager::LegoPlantManager()
|
|
{
|
|
Init();
|
|
}
|
|
|
|
// STUB: LEGO1 0x100262c0
|
|
LegoPlantManager::~LegoPlantManager()
|
|
{
|
|
// TODO
|
|
}
|
|
|
|
// STUB: LEGO1 0x10026330
|
|
void LegoPlantManager::Init()
|
|
{
|
|
// TODO
|
|
}
|
|
|
|
// STUB: LEGO1 0x10026360
|
|
void LegoPlantManager::FUN_10026360(MxS32 p_scriptIndex)
|
|
{
|
|
// TODO
|
|
}
|
|
|
|
// STUB: LEGO1 0x100263a0
|
|
void LegoPlantManager::FUN_100263a0(undefined4 p_und)
|
|
{
|
|
// TODO
|
|
}
|
|
|
|
// STUB: LEGO1 0x10026720
|
|
void LegoPlantManager::Write(LegoStorage* p_storage)
|
|
{
|
|
// TODO
|
|
}
|
|
|
|
// STUB: LEGO1 0x100267b0
|
|
MxResult LegoPlantManager::Read(LegoStorage* p_storage)
|
|
{
|
|
return SUCCESS;
|
|
}
|
|
|
|
// STUB: LEGO1 0x10026920
|
|
MxBool LegoPlantManager::SwitchColor(LegoEntity* p_entity)
|
|
{
|
|
// TODO
|
|
return FALSE;
|
|
}
|
|
|
|
// STUB: LEGO1 0x100269e0
|
|
MxBool LegoPlantManager::SwitchVariant(LegoEntity* p_entity)
|
|
{
|
|
// TODO
|
|
return FALSE;
|
|
}
|
|
|
|
// STUB: LEGO1 0x10026ad0
|
|
MxBool LegoPlantManager::SwitchSound(LegoEntity* p_entity)
|
|
{
|
|
// TODO
|
|
return FALSE;
|
|
}
|
|
|
|
// STUB: LEGO1 0x10026b00
|
|
MxBool LegoPlantManager::SwitchMove(LegoEntity* p_entity)
|
|
{
|
|
// TODO
|
|
return FALSE;
|
|
}
|
|
|
|
// STUB: LEGO1 0x10026b40
|
|
MxBool LegoPlantManager::SwitchMood(LegoEntity* p_entity)
|
|
{
|
|
// TODO
|
|
return FALSE;
|
|
}
|
|
|
|
// STUB: LEGO1 0x10026b70
|
|
MxU32 LegoPlantManager::FUN_10026b70(LegoEntity* p_entity)
|
|
{
|
|
// TODO
|
|
return 0;
|
|
}
|
|
|
|
// STUB: LEGO1 0x10026ba0
|
|
MxU32 LegoPlantManager::FUN_10026ba0(LegoEntity* p_entity, MxBool)
|
|
{
|
|
// TODO
|
|
return 0;
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x10026be0
|
|
void LegoPlantManager::SetCustomizeAnimFile(const char* p_value)
|
|
{
|
|
if (g_customizeAnimFile != NULL) {
|
|
delete[] g_customizeAnimFile;
|
|
}
|
|
|
|
if (p_value != NULL) {
|
|
g_customizeAnimFile = new char[strlen(p_value) + 1];
|
|
|
|
if (g_customizeAnimFile != NULL) {
|
|
strcpy(g_customizeAnimFile, p_value);
|
|
}
|
|
}
|
|
else {
|
|
g_customizeAnimFile = NULL;
|
|
}
|
|
}
|
|
|
|
// STUB: LEGO1 0x10026c50
|
|
void LegoPlantManager::FUN_10026c50(LegoEntity* p_entity)
|
|
{
|
|
// TODO
|
|
}
|
|
|
|
// STUB: LEGO1 0x10026e00
|
|
MxResult LegoPlantManager::Tickle()
|
|
{
|
|
// TODO
|
|
|
|
return 0;
|
|
}
|
|
|
|
// STUB: LEGO1 0x10027120
|
|
void LegoPlantManager::FUN_10027120()
|
|
{
|
|
// TODO
|
|
}
|