mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-22 07:54:23 +00:00
Make atoms in RemoveFromWorld const& (#1676)
This commit is contained in:

committed by
GitHub

parent
15fec495e5
commit
689b44d87c
@@ -60,7 +60,12 @@ MxBool RemoveFromCurrentWorld(const MxAtomId& p_atomId, MxS32 p_id);
|
||||
void EnableAnimations(MxBool p_enable);
|
||||
void SetAppCursor(Cursor p_cursor);
|
||||
MxBool CanExit();
|
||||
MxBool RemoveFromWorld(MxAtomId& p_entityAtom, MxS32 p_entityId, MxAtomId& p_worldAtom, MxS32 p_worldEntityId);
|
||||
MxBool RemoveFromWorld(
|
||||
const MxAtomId& p_entityAtom,
|
||||
MxS32 p_entityId,
|
||||
const MxAtomId& p_worldAtom,
|
||||
MxS32 p_worldEntityId
|
||||
);
|
||||
MxS32 UpdateLightPosition(MxS32 p_increase);
|
||||
void SetLightPosition(MxS32 p_index);
|
||||
LegoNamedTexture* ReadNamedTexture(LegoStorage* p_storage);
|
||||
|
@@ -521,7 +521,12 @@ MxBool RemoveFromCurrentWorld(const MxAtomId& p_atomId, MxS32 p_id)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1003ee80
|
||||
MxBool RemoveFromWorld(MxAtomId& p_entityAtom, MxS32 p_entityId, MxAtomId& p_worldAtom, MxS32 p_worldEntityId)
|
||||
MxBool RemoveFromWorld(
|
||||
const MxAtomId& p_entityAtom,
|
||||
MxS32 p_entityId,
|
||||
const MxAtomId& p_worldAtom,
|
||||
MxS32 p_worldEntityId
|
||||
)
|
||||
{
|
||||
LegoWorld* world = FindWorld(p_worldAtom, p_worldEntityId);
|
||||
|
||||
|
Reference in New Issue
Block a user