mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Fix return type
This commit is contained in:
parent
4de5484df4
commit
7413801568
@ -174,7 +174,7 @@ LegoUnkSaveDataWriter* GetUnkSaveDataWriter();
|
|||||||
GifManager* GetGifManager();
|
GifManager* GetGifManager();
|
||||||
void FUN_10015820(MxBool p_disable, MxU16 p_flags);
|
void FUN_10015820(MxBool p_disable, MxU16 p_flags);
|
||||||
void FUN_10015860(const char*, MxU8);
|
void FUN_10015860(const char*, MxU8);
|
||||||
LegoEntity* FindWorld(const MxAtomId& p_atom, MxS32 p_entityid);
|
LegoWorld* FindWorld(const MxAtomId& p_atom, MxS32 p_entityid);
|
||||||
MxDSAction& GetCurrentAction();
|
MxDSAction& GetCurrentAction();
|
||||||
|
|
||||||
void PlayMusic(MxU32 p_index);
|
void PlayMusic(MxU32 p_index);
|
||||||
|
|||||||
@ -99,7 +99,8 @@ void InvokeAction(Extra::ActionType p_actionId, MxAtomId& p_pAtom, int p_targetE
|
|||||||
// FUNCTION: LEGO1 0x1003e670
|
// FUNCTION: LEGO1 0x1003e670
|
||||||
MxBool CheckIfEntityExists(MxBool p_enable, const char* p_filename, MxS32 p_entityId)
|
MxBool CheckIfEntityExists(MxBool p_enable, const char* p_filename, MxS32 p_entityId)
|
||||||
{
|
{
|
||||||
LegoWorld* world = (LegoWorld*) FindWorld(MxAtomId(p_filename, e_lowerCase2), p_entityId);
|
LegoWorld* world = FindWorld(MxAtomId(p_filename, e_lowerCase2), p_entityId);
|
||||||
|
|
||||||
if (world) {
|
if (world) {
|
||||||
world->VTable0x68(p_enable);
|
world->VTable0x68(p_enable);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|||||||
@ -219,7 +219,7 @@ void FUN_10015860(const char*, MxU8)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100158c0
|
// FUNCTION: LEGO1 0x100158c0
|
||||||
LegoEntity* FindWorld(const MxAtomId& p_atom, MxS32 p_entityid)
|
LegoWorld* FindWorld(const MxAtomId& p_atom, MxS32 p_entityid)
|
||||||
{
|
{
|
||||||
return LegoOmni::GetInstance()->FindWorld(p_atom, p_entityid);
|
return LegoOmni::GetInstance()->FindWorld(p_atom, p_entityid);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user