102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
lifecycle.c File Reference

Go to the source code of this file.

Functions

static int32_t Entity_IndexInLevel (const struct Level_Data *level, const struct Entity *entity)
BOOL Entity_IsInActiveList (int32_t entity_index_1based)
void Entity_SetActorProperty (struct Entity *entity, enum Actor_PropID prop_id, int32_t value)
struct Actor_State * Entity_SpawnActor (struct Entity *entity)
void Entity_EnableChildGroundOrientation (struct Entity *entity)
void Entity_DestroyActor (struct Entity *entity, int32_t restore_defaults)
BOOL Entity_UpdateVisibilityAndSpawn (struct Entity *entity, struct Entity *reactivation_requester_or_null)
struct Actor_State * Entity_GetCurrentOrFirstActiveActor ()
void Entity_EnsureCameraActorActive (struct Entity *entity)

Function Documentation

◆ Entity_DestroyActor()

void Entity_DestroyActor ( struct Entity * entity,
int32_t restore_defaults )

Definition at line 403 of file lifecycle.c.

◆ Entity_EnableChildGroundOrientation()

void Entity_EnableChildGroundOrientation ( struct Entity * entity)

Definition at line 378 of file lifecycle.c.

◆ Entity_EnsureCameraActorActive()

void Entity_EnsureCameraActorActive ( struct Entity * entity)

Definition at line 787 of file lifecycle.c.

◆ Entity_GetCurrentOrFirstActiveActor()

struct Actor_State * Entity_GetCurrentOrFirstActiveActor ( void )

Definition at line 753 of file lifecycle.c.

◆ Entity_IndexInLevel()

int32_t Entity_IndexInLevel ( const struct Level_Data * level,
const struct Entity * entity )
static

Definition at line 31 of file lifecycle.c.

◆ Entity_IsInActiveList()

BOOL Entity_IsInActiveList ( int32_t entity_index_1based)

Definition at line 39 of file lifecycle.c.

◆ Entity_SetActorProperty()

void Entity_SetActorProperty ( struct Entity * entity,
enum Actor_PropID prop_id,
int32_t value )

Definition at line 63 of file lifecycle.c.

◆ Entity_SpawnActor()

struct Actor_State * Entity_SpawnActor ( struct Entity * entity)

Definition at line 287 of file lifecycle.c.

◆ Entity_UpdateVisibilityAndSpawn()

BOOL Entity_UpdateVisibilityAndSpawn ( struct Entity * entity,
struct Entity * reactivation_requester_or_null )

Definition at line 452 of file lifecycle.c.