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

bool Physics_CheckGroundSlopeDirection (struct Actor_State *actor, struct Collision_Polygon *collision_poly, struct Math_Vec3I16 *out_normal, struct Math_Vec3I32 *delta_vec)
int32_t Physics_ProcessActorCollision (struct Actor_State *actor, void *other_actor_or_out_reference, int32_t distance_or_reference_selector)
int32_t Physics_CalculateMovementWithCollision (struct Math_Vec3I32 const *start_pos, struct Math_Vec3I32 const *end_pos, struct Actor_State const *collision_actor, int16_t probe_radius, int32_t collision_flags)
uint8_t Physics_UpdateActorPreprocess (struct Actor_State *actor)
void Physics_UpdateActorBehavior (struct Actor_State *actor)
int32_t Physics_ApplyGroundReaction (struct Actor_State *actor, struct Physics_GroundReactionRecordView *record)
int32_t Physics_CalculateGroundJumpVelocity (struct Actor_State *actor)
void Physics_CalculateActorVelocity (struct Actor_State *actor, struct Math_Vec3I32 *inout_velocity, struct Math_Vec3I32 *steering_vec)
int32_t Physics_ApplyCollisionForceEmitter (struct Actor_State *affected_actor, struct Pkg_ActorRecord *unused_record, struct Physics_CollisionForceEmitterActorView *force_emitter, struct Math_Vec3I32 *inout_velocity_q12, int32_t *inout_speed_limit_q12)

Function Documentation

◆ Physics_ApplyCollisionForceEmitter()

int32_t Physics_ApplyCollisionForceEmitter ( struct Actor_State * affected_actor,
struct Pkg_ActorRecord * unused_record,
struct Physics_CollisionForceEmitterActorView * force_emitter,
struct Math_Vec3I32 * inout_velocity_q12,
int32_t * inout_speed_limit_q12 )

◆ Physics_ApplyGroundReaction()

int32_t Physics_ApplyGroundReaction ( struct Actor_State * actor,
struct Physics_GroundReactionRecordView * record )

Definition at line 71 of file ground.c.

◆ Physics_CalculateActorVelocity()

void Physics_CalculateActorVelocity ( struct Actor_State * actor,
struct Math_Vec3I32 * inout_velocity,
struct Math_Vec3I32 * steering_vec )

Definition at line 135 of file movement.c.

◆ Physics_CalculateGroundJumpVelocity()

int32_t Physics_CalculateGroundJumpVelocity ( struct Actor_State * actor)

Definition at line 230 of file ground.c.

◆ Physics_CalculateMovementWithCollision()

int32_t Physics_CalculateMovementWithCollision ( struct Math_Vec3I32 const * start_pos,
struct Math_Vec3I32 const * end_pos,
struct Actor_State const * collision_actor,
int16_t probe_radius,
int32_t collision_flags )

Definition at line 38 of file movement.c.

◆ Physics_CheckGroundSlopeDirection()

bool Physics_CheckGroundSlopeDirection ( struct Actor_State * actor,
struct Collision_Polygon * collision_poly,
struct Math_Vec3I16 * out_normal,
struct Math_Vec3I32 * delta_vec )

Definition at line 34 of file ground.c.

◆ Physics_ProcessActorCollision()

int32_t Physics_ProcessActorCollision ( struct Actor_State * actor,
void * other_actor_or_out_reference,
int32_t distance_or_reference_selector )

Definition at line 39 of file behavior.c.

◆ Physics_UpdateActorBehavior()

void Physics_UpdateActorBehavior ( struct Actor_State * actor)

Definition at line 565 of file behavior.c.

◆ Physics_UpdateActorPreprocess()

uint8_t Physics_UpdateActorPreprocess ( struct Actor_State * actor)

Definition at line 153 of file behavior.c.