102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
functions.h
Go to the documentation of this file.
1/* Recovered declarations; ABI and original layout preserved. */
2#ifndef PCDOGS_PHYSICS_FUNCTIONS_H
3#define PCDOGS_PHYSICS_FUNCTIONS_H
6#include "pcdogs/math/types.h"
10
11bool Physics_CheckGroundSlopeDirection(struct Actor_State *actor, struct Collision_Polygon *collision_poly, struct Math_Vec3I16 *out_normal, struct Math_Vec3I32 *delta_vec);
12
13int32_t Physics_ProcessActorCollision(struct Actor_State *actor, void *other_actor_or_out_reference, int32_t distance_or_reference_selector);
14
15int32_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);
16
17uint8_t Physics_UpdateActorPreprocess(struct Actor_State *actor);
18
20
22
24
25void Physics_CalculateActorVelocity(struct Actor_State *actor, struct Math_Vec3I32 *inout_velocity, struct Math_Vec3I32 *steering_vec);
26
27int32_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);
28
29#endif /* PCDOGS_PHYSICS_FUNCTIONS_H */
int32_t Physics_ProcessActorCollision(struct Actor_State *actor, void *other_actor_or_out_reference, int32_t distance_or_reference_selector)
Definition behavior.c:39
bool Physics_CheckGroundSlopeDirection(struct Actor_State *actor, struct Collision_Polygon *collision_poly, struct Math_Vec3I16 *out_normal, struct Math_Vec3I32 *delta_vec)
Definition ground.c:34
void Physics_CalculateActorVelocity(struct Actor_State *actor, struct Math_Vec3I32 *inout_velocity, struct Math_Vec3I32 *steering_vec)
Definition movement.c:135
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 movement.c:38
void Physics_UpdateActorBehavior(struct Actor_State *actor)
Definition behavior.c:565
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)
int32_t Physics_ApplyGroundReaction(struct Actor_State *actor, struct Physics_GroundReactionRecordView *record)
Definition ground.c:71
uint8_t Physics_UpdateActorPreprocess(struct Actor_State *actor)
Definition behavior.c:153
int32_t Physics_CalculateGroundJumpVelocity(struct Actor_State *actor)
Definition ground.c:230