mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 16:51:15 +00:00
implement/match LegoAnimationManager::IsNotVehicle()
This commit is contained in:
parent
53b3d0b195
commit
41850e170a
@ -67,7 +67,7 @@ class LegoAnimationManager : public MxCore {
|
||||
void FUN_1005f6d0(MxBool);
|
||||
void FUN_1005f700(MxBool);
|
||||
MxResult LoadScriptInfo(MxS32 p_scriptIndex);
|
||||
MxBool FUN_10060140(char* p_name, MxU32& p_index);
|
||||
MxBool IsNotVehicle(char* p_name, MxU32& p_index);
|
||||
MxResult ReadAnimInfo(LegoFile* p_file, AnimInfo* p_info);
|
||||
MxResult ReadModelInfo(LegoFile* p_file, ModelInfo* p_info);
|
||||
void FUN_100603c0();
|
||||
|
||||
@ -294,10 +294,15 @@ MxResult LegoAnimationManager::LoadScriptInfo(MxS32 p_scriptIndex)
|
||||
return result;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10060140
|
||||
MxBool LegoAnimationManager::FUN_10060140(char* p_name, MxU32& p_index)
|
||||
// FUNCTION: LEGO1 0x10060140
|
||||
MxBool LegoAnimationManager::IsNotVehicle(char* p_name, MxU32& p_index)
|
||||
{
|
||||
// TODO
|
||||
for (MxS32 i = 0; i < sizeof(g_vehicles); i++) {
|
||||
if (!strcmpi(p_name, g_vehicles[i].m_name)) {
|
||||
p_index = i;
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user