102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
collision.c File Reference
#include "pcdogs/collision/constants.h"
#include "pcdogs/math/constants.h"
#include "pcdogs/actor/constants.h"
#include "pcdogs/component/constants.h"
#include "pcdogs/actor/functions.h"
#include "pcdogs/actor/types.h"
#include "pcdogs/component/functions.h"
#include "pcdogs/component/types.h"
#include "pcdogs/math/functions.h"
#include "pcdogs/math/types.h"
#include "pcdogs/trail/functions.h"
#include <math.h>
#include <stdarg.h>
#include <string.h>

Go to the source code of this file.

Functions

int32_t Component_CheckActorCollisionTypeAdapter (struct Component_ProjectileActorView *projectile, struct Actor_State *other_actor)
int32_t Component_CalculateCollisionRange (struct Component_Definition *definition)
void Component_RefreshCollisionRanges (struct Component_CollisionRecord *collision_records, int32_t slot_count)
static bool Component_HasProjectileAttachment (const struct Component_Definition *definition)
void Component_UpdateCollisionSlots (struct Component_CollisionRecord *collision_records, int32_t slot_count, struct Actor_State *actor, struct Actor_State *other_actor, struct Math_Vec3I32 *test_pos, const struct Component_Definition *retained_target_definition)
BOOL Component_CheckHeightConstraint (struct Actor_State *actor, struct Component_Definition *definition)
int32_t Component_GetCollisionCooldownFrames (struct Component_Definition const *definition)
BOOL Component_IsAirborneTarget (struct Actor_State *actor)
void Component_TrackTarget (struct Component_ProjectileActorView *projectile, struct Component_Definition *definition, int16_t turn_rate)
void Component_ApplyImpactReflection (struct Component_ProjectileActorView *projectile_input)

Function Documentation

◆ Component_ApplyImpactReflection()

void Component_ApplyImpactReflection ( struct Component_ProjectileActorView * projectile_input)

Definition at line 449 of file collision.c.

◆ Component_CalculateCollisionRange()

int32_t Component_CalculateCollisionRange ( struct Component_Definition * definition)

Definition at line 28 of file collision.c.

◆ Component_CheckActorCollisionTypeAdapter()

int32_t Component_CheckActorCollisionTypeAdapter ( struct Component_ProjectileActorView * projectile,
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_GetCollisionCooldownFrames()

int32_t Component_GetCollisionCooldownFrames ( struct Component_Definition const * definition)

Definition at line 364 of file collision.c.

◆ Component_HasProjectileAttachment()

bool Component_HasProjectileAttachment ( const struct Component_Definition * definition)
static

Definition at line 66 of file collision.c.

◆ Component_IsAirborneTarget()

BOOL Component_IsAirborneTarget ( struct Actor_State * actor)

Definition at line 376 of file collision.c.

◆ Component_RefreshCollisionRanges()

void Component_RefreshCollisionRanges ( struct Component_CollisionRecord * collision_records,
int32_t slot_count )

Definition at line 42 of file collision.c.

◆ Component_TrackTarget()

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

Definition at line 383 of file collision.c.

◆ Component_UpdateCollisionSlots()

void Component_UpdateCollisionSlots ( struct Component_CollisionRecord * collision_records,
int32_t slot_count,
struct Actor_State * actor,
struct Actor_State * other_actor,
struct Math_Vec3I32 * test_pos,
const struct Component_Definition * retained_target_definition )

Definition at line 73 of file collision.c.