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

BOOL Component_HasSpawnCapacity (struct Component_Definition *definition)
struct Actor_State * Component_GetOwnerActor (struct Actor_State *actor)
int32_t Component_GetSpawnFrame (struct Actor_State *actor)
struct Actor_State * Component_SpawnFromCollisionRecord (struct Actor_State *owner_actor, struct Actor_State *target_actor, struct Component_CollisionRecord *collision_record)
void Component_InitializeProjectile (struct Component_ProjectileActorView *projectile, struct Component_Definition *definition)
struct Actor_State * Component_CreateActor (struct Component_Definition *component_def, struct Actor_State *spawn_source, struct Actor_State *owner_actor, int32_t actor_kind)
void Component_UpdateProjectileLogic (struct Component_ProjectileActorView *projectile)
struct Actor_State * Component_SpawnFollowupProjectile (struct Component_Definition *component_def, struct Actor_State *source_actor, struct Actor_State *parent_actor)
void Component_AttachToOwner (struct Actor_State *owner_actor, struct Component_ProjectileActorView *projectile, struct Math_Vec3I32 *local_pos)
void Projectile_DestroyAllLiveActors ()

Function Documentation

◆ Component_AttachToOwner()

void Component_AttachToOwner ( struct Actor_State * owner_actor,
struct Component_ProjectileActorView * projectile,
struct Math_Vec3I32 * local_pos )

Definition at line 586 of file lifecycle.c.

◆ Component_CreateActor()

struct Actor_State * Component_CreateActor ( struct Component_Definition * component_def,
struct Actor_State * spawn_source,
struct Actor_State * owner_actor,
int32_t actor_kind )

Definition at line 344 of file lifecycle.c.

◆ Component_GetOwnerActor()

struct Actor_State * Component_GetOwnerActor ( struct Actor_State * actor)

Definition at line 39 of file lifecycle.c.

◆ Component_GetSpawnFrame()

int32_t Component_GetSpawnFrame ( struct Actor_State * actor)

Definition at line 47 of file lifecycle.c.

◆ Component_HasSpawnCapacity()

BOOL Component_HasSpawnCapacity ( struct Component_Definition * definition)

Definition at line 30 of file lifecycle.c.

◆ Component_InitializeProjectile()

void Component_InitializeProjectile ( struct Component_ProjectileActorView * projectile,
struct Component_Definition * definition )

Definition at line 276 of file lifecycle.c.

◆ Component_SpawnFollowupProjectile()

struct Actor_State * Component_SpawnFollowupProjectile ( struct Component_Definition * component_def,
struct Actor_State * source_actor,
struct Actor_State * parent_actor )

Definition at line 538 of file lifecycle.c.

◆ Component_SpawnFromCollisionRecord()

struct Actor_State * Component_SpawnFromCollisionRecord ( struct Actor_State * owner_actor,
struct Actor_State * target_actor,
struct Component_CollisionRecord * collision_record )

Definition at line 54 of file lifecycle.c.

◆ Component_UpdateProjectileLogic()

void Component_UpdateProjectileLogic ( struct Component_ProjectileActorView * projectile)

Definition at line 407 of file lifecycle.c.

◆ Projectile_DestroyAllLiveActors()

void Projectile_DestroyAllLiveActors ( void )

Definition at line 655 of file lifecycle.c.