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

Go to the source code of this file.

Functions

int32_t Component_CheckActorCollisionTypeAdapter (struct Component_ProjectileActorView *comp, struct Actor_State *other_actor)
BOOL Component_HasSpawnCapacity (struct Component_Definition *definition)
uint16_t Component_GetDamageAmount (struct Component_ProjectileActorView *comp, int32_t *out_hit_flag)
int32_t Component_CalculateCollisionRange (struct Component_Definition *definition)
void Component_RefreshCollisionRanges (struct Component_CollisionRecord *collision_records, int32_t slot_count)
void Component_UpdateCollisionDetection (struct Component_CollisionRecord *collision_records, int32_t slot_count, struct Actor_State *actor, struct Actor_State *other_actor, struct Math_Vec3I32 *test_pos)
int32_t Component_GetTeamID (struct Actor_State *actor)
struct Actor_State * Component_GetOwnerActor (struct Actor_State *actor)
int32_t Component_GetSpawnFrame (struct Actor_State *actor)
BOOL Component_CheckHeightConstraint (struct Actor_State *actor, struct Component_Definition *definition)
int32_t Component_GetMovementSpeedLimitQ12 (struct Component_MovementParametersView *movement)
int16_t Component_GetMovementTurnStep (struct Component_MovementParametersView *movement)
int32_t Component_GetMovementAccelerationQ12 (struct Component_MovementParametersView *movement)
int32_t Component_GetCollisionCooldownFrames (struct Component_Definition const *definition)
uint32_t Component_GetSpeedRange (struct Actor_State *actor)
BOOL Component_IsAirborneTarget (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_CalculateOrientation (struct Component_ProjectileActorView *comp, struct Component_Definition *definition)
void Component_TrackTarget (struct Component_ProjectileActorView *comp, struct Component_Definition *definition, int16_t turn_rate)
void Component_PlayPositionalSound (struct Component_Definition *component_def, struct Actor_State *actor, int32_t sound_slot_index)
void Component_InitializeProjectile (struct Component_ProjectileActorView *comp, 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 *comp)
void Component_ApplyImpactReflection (struct Component_ProjectileActorView *comp)
void Component_SetVelocityFromDirection (struct Component_ProjectileActorView *comp, struct Component_Definition *definition)
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 *comp, struct Math_Vec3I32 *local_pos)
void Projectile_DestroyAllLiveActors (void)

Function Documentation

◆ Component_ApplyImpactReflection()

void Component_ApplyImpactReflection ( struct Component_ProjectileActorView * comp)

Definition at line 449 of file collision.c.

◆ Component_AttachToOwner()

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

Definition at line 586 of file lifecycle.c.

◆ Component_CalculateCollisionRange()

int32_t Component_CalculateCollisionRange ( struct Component_Definition * definition)

Definition at line 28 of file collision.c.

◆ Component_CalculateOrientation()

void Component_CalculateOrientation ( struct Component_ProjectileActorView * comp,
struct Component_Definition * definition )

Definition at line 83 of file properties.c.

◆ Component_CheckActorCollisionTypeAdapter()

int32_t Component_CheckActorCollisionTypeAdapter ( struct Component_ProjectileActorView * comp,
struct Actor_State * other_actor )

Definition at line 19 of file collision.c.

◆ Component_CheckHeightConstraint()

BOOL Component_CheckHeightConstraint ( struct Actor_State * actor,
struct Component_Definition * definition )

Definition at line 352 of file collision.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_GetCollisionCooldownFrames()

int32_t Component_GetCollisionCooldownFrames ( struct Component_Definition const * definition)

Definition at line 364 of file collision.c.

◆ Component_GetDamageAmount()

uint16_t Component_GetDamageAmount ( struct Component_ProjectileActorView * comp,
int32_t * out_hit_flag )

Definition at line 16 of file properties.c.

◆ Component_GetMovementAccelerationQ12()

int32_t Component_GetMovementAccelerationQ12 ( struct Component_MovementParametersView * movement)

Definition at line 60 of file properties.c.

◆ Component_GetMovementSpeedLimitQ12()

int32_t Component_GetMovementSpeedLimitQ12 ( struct Component_MovementParametersView * movement)

Definition at line 40 of file properties.c.

◆ Component_GetMovementTurnStep()

int16_t Component_GetMovementTurnStep ( struct Component_MovementParametersView * movement)

Definition at line 50 of file properties.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_GetSpeedRange()

uint32_t Component_GetSpeedRange ( struct Actor_State * actor)

Definition at line 70 of file properties.c.

◆ Component_GetTeamID()

int32_t Component_GetTeamID ( struct Actor_State * actor)

Definition at line 28 of file properties.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 * comp,
struct Component_Definition * definition )

Definition at line 276 of file lifecycle.c.

◆ Component_IsAirborneTarget()

BOOL Component_IsAirborneTarget ( struct Actor_State * actor)

Definition at line 376 of file collision.c.

◆ Component_PlayPositionalSound()

void Component_PlayPositionalSound ( struct Component_Definition * component_def,
struct Actor_State * actor,
int32_t sound_slot_index )

Definition at line 202 of file properties.c.

◆ Component_RefreshCollisionRanges()

void Component_RefreshCollisionRanges ( struct Component_CollisionRecord * collision_records,
int32_t slot_count )

Definition at line 42 of file collision.c.

◆ Component_SetVelocityFromDirection()

void Component_SetVelocityFromDirection ( struct Component_ProjectileActorView * comp,
struct Component_Definition * definition )

Definition at line 215 of file properties.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_TrackTarget()

void Component_TrackTarget ( struct Component_ProjectileActorView * comp,
struct Component_Definition * definition,
int16_t turn_rate )

Definition at line 383 of file collision.c.

◆ Component_UpdateCollisionDetection()

void Component_UpdateCollisionDetection ( struct Component_CollisionRecord * collision_records,
int32_t slot_count,
struct Actor_State * actor,
struct Actor_State * other_actor,
struct Math_Vec3I32 * test_pos )

◆ Component_UpdateProjectileLogic()

void Component_UpdateProjectileLogic ( struct Component_ProjectileActorView * comp)

Definition at line 407 of file lifecycle.c.

◆ Projectile_DestroyAllLiveActors()

void Projectile_DestroyAllLiveActors ( void )

Definition at line 655 of file lifecycle.c.