mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Implement LegoCharacterManager::CreateROI (#709)
* WIP * Create globals * Add Read * Name Init * Add LegoCharacter init data * Add define for NULL * Use MxS8 * Add LegoCharacterLOD * WIP CreateROI * Fix * WIP * Match * Match * Match, implement Find * Fix MeshBuilder * Fix * space
This commit is contained in:

committed by
GitHub

parent
8cffa7cf8c
commit
68bb20f04f
@@ -553,6 +553,23 @@ void LegoROI::FUN_100a9d30(ROIHandler p_func)
|
||||
g_unk0x101013ac = p_func;
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100a9d40
|
||||
void LegoROI::SetName(const LegoChar* p_name)
|
||||
{
|
||||
if (m_name != NULL) {
|
||||
delete[] m_name;
|
||||
}
|
||||
|
||||
if (p_name != NULL) {
|
||||
m_name = new LegoChar[strlen(p_name) + 1];
|
||||
strcpy(m_name, p_name);
|
||||
strlwr(m_name);
|
||||
}
|
||||
else {
|
||||
m_name = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100a9e10
|
||||
void LegoROI::SetDisplayBB(int p_displayBB)
|
||||
{
|
||||
|
Reference in New Issue
Block a user