mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +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 EnableAnimations(MxBool p_enable);
|
||||||
void SetAppCursor(Cursor p_cursor);
|
void SetAppCursor(Cursor p_cursor);
|
||||||
MxBool CanExit();
|
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);
|
MxS32 UpdateLightPosition(MxS32 p_increase);
|
||||||
void SetLightPosition(MxS32 p_index);
|
void SetLightPosition(MxS32 p_index);
|
||||||
LegoNamedTexture* ReadNamedTexture(LegoStorage* p_storage);
|
LegoNamedTexture* ReadNamedTexture(LegoStorage* p_storage);
|
||||||
|
@@ -521,7 +521,12 @@ MxBool RemoveFromCurrentWorld(const MxAtomId& p_atomId, MxS32 p_id)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1003ee80
|
// 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);
|
LegoWorld* world = FindWorld(p_worldAtom, p_worldEntityId);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user