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

Go to the source code of this file.

Functions

int32_t Physics_ProcessActorCollision (struct Actor_State *actor, void *other_actor_or_out_reference, int32_t distance_or_reference_selector)
uint8_t Physics_UpdateActorPreprocess (struct Actor_State *actor)
void Physics_UpdateActorBehavior (struct Actor_State *actor)
static int32_t force_product_q12 (int32_t magnitude, int32_t direction)
int32_t Physics_ApplyEmitterForces (struct Actor_State *affected_actor, struct Pkg_ActorRecord *unused_record, struct Physics_CollisionForceEmitterActorView *emitter, struct Math_Vec3I32 *velocity, int32_t *speed_limit, int32_t attenuation)

Function Documentation

◆ force_product_q12()

int32_t force_product_q12 ( int32_t magnitude,
int32_t direction )
static

Definition at line 575 of file behavior.c.

◆ Physics_ApplyEmitterForces()

int32_t Physics_ApplyEmitterForces ( struct Actor_State * affected_actor,
struct Pkg_ActorRecord * unused_record,
struct Physics_CollisionForceEmitterActorView * emitter,
struct Math_Vec3I32 * velocity,
int32_t * speed_limit,
int32_t attenuation )

Definition at line 581 of file behavior.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.