102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference |
GitLab repository
Toggle main menu visibility
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
4
#include "
pcdogs/actor/types.h
"
5
#include "
pcdogs/collision/types.h
"
6
#include "
pcdogs/math/types.h
"
7
#include "
pcdogs/package/types.h
"
8
#include "
pcdogs/physics/types.h
"
9
#include "
pcdogs/types/common.h
"
10
11
bool
Physics_CheckGroundSlopeDirection
(
struct
Actor_State
*actor,
struct
Collision_Polygon
*collision_poly,
struct
Math_Vec3I16
*out_normal,
struct
Math_Vec3I32
*delta_vec);
12
13
int32_t
Physics_ProcessActorCollision
(
struct
Actor_State
*actor,
void
*other_actor_or_out_reference, int32_t distance_or_reference_selector);
14
15
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);
16
17
uint8_t
Physics_UpdateActorPreprocess
(
struct
Actor_State
*actor);
18
19
void
Physics_UpdateActorBehavior
(
struct
Actor_State
*actor);
20
21
int32_t
Physics_ApplyGroundReaction
(
struct
Actor_State
*actor,
struct
Physics_GroundReactionRecordView
*record);
22
23
int32_t
Physics_CalculateGroundJumpVelocity
(
struct
Actor_State
*actor);
24
25
void
Physics_CalculateActorVelocity
(
struct
Actor_State
*actor,
struct
Math_Vec3I32
*inout_velocity,
struct
Math_Vec3I32
*steering_vec);
26
27
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);
28
29
#endif
/* PCDOGS_PHYSICS_FUNCTIONS_H */
types.h
types.h
common.h
types.h
types.h
Physics_ProcessActorCollision
int32_t Physics_ProcessActorCollision(struct Actor_State *actor, void *other_actor_or_out_reference, int32_t distance_or_reference_selector)
Definition
behavior.c:39
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
ground.c:34
Physics_CalculateActorVelocity
void Physics_CalculateActorVelocity(struct Actor_State *actor, struct Math_Vec3I32 *inout_velocity, struct Math_Vec3I32 *steering_vec)
Definition
movement.c:135
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
movement.c:38
Physics_UpdateActorBehavior
void Physics_UpdateActorBehavior(struct Actor_State *actor)
Definition
behavior.c:565
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
ground.c:71
Physics_UpdateActorPreprocess
uint8_t Physics_UpdateActorPreprocess(struct Actor_State *actor)
Definition
behavior.c:153
Physics_CalculateGroundJumpVelocity
int32_t Physics_CalculateGroundJumpVelocity(struct Actor_State *actor)
Definition
ground.c:230
types.h
Actor_State
Definition
types.h:376
Collision_Polygon
Definition
types.h:59
Math_Vec3I16
Definition
types.h:457
Math_Vec3I32
Definition
types.h:469
Physics_CollisionForceEmitterActorView
Definition
types.h:112
Physics_GroundReactionRecordView
Definition
types.h:60
Pkg_ActorRecord
Definition
types.h:1051
include
pcdogs
physics
functions.h
Generated by
1.17.0