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 Actor_PassesPauseCameraCoordinateGate (struct Actor_State *actor)
void Actor_UpdateList (void)
void Actor_ProcessRendering (struct Actor_State *actor)
void Actor_RenderNodeTree (void)
void Actor_UpdateAnimationAndVisibility (struct Actor_State *actor)
void Actor_UpdateProjectileList (void)
bool Actor_SetFacingTarget (struct Entity *entity, int32_t target_selector, int32_t angle_degrees_q12)
void Actor_ResetVelocityAndMoveToTarget (struct Entity *entity, int16_t facing_selector, int32_t facing_angle_degrees_q12, int32_t duration_q12)
void Actor_MoveToTarget (struct Actor_State *actor, struct Math_Vec3I32 const *target_pos, int16_t facing_selector, int32_t facing_angle_degrees_q12, int32_t duration_frames)
void Actor_ReleaseAttachment (struct Actor_MovementRecordView *record)
void Actor_SnapToPosition (struct Actor_State *actor)
void Actor_ApplyEntitySlotFlags (struct Actor_State *actor)
void Actor_StartTransition (struct Actor_State *actor, struct Actor_MovementRecordView *record)
int32_t Actor_TracePath (struct Entity *entity, int32_t target_selector, int32_t max_path_distance, int32_t best_path_distance, int32_t trace_flags)
void Actor_CopyEntityDefaultsToRecord (struct Actor_State *actor)
void Actor_ReleaseBindings (struct Player_ControllerRecordView *record)
void Actor_ProcessSnapAndEntityUpdate (struct Actor_State *actor)
void Actor_ProcessPlayerBehavior (struct Actor_State *actor)
void Actor_UpdateAnimationState (struct Actor_State *actor, struct Player_ControllerRecordView *record, int32_t surface_trail_mode)
int32_t Actor_ProcessCollisionResponse (struct Actor_State *actor, struct Actor_State *other_actor, struct Collision_Polygon *collision_poly, int32_t collision_depth)
int32_t Actor_ProcessPuppyInteraction (struct Actor_State *actor, struct Actor_State *puppy_actor, struct Collision_Polygon *collision_poly, int32_t collision_depth)
int32_t Actor_GetAnimSeqIndex (struct Actor_State *actor)
int32_t Actor_GetAnimationProgress (struct Actor_State *actor)
int32_t Actor_GetAnimationWaitStatus (struct Actor_State *actor, int32_t anim_seq_index)
void Actor_AdvanceRootMotionTick (struct Scene_Type1RenderOwnerView *owner, int32_t tick_delta)
void Actor_ApplySplineMovement (struct Scene_Type1RenderOwnerView *owner, struct Animation_SplineChannelVec3 *spline_track, int32_t tick_delta)
void Actor_DestroyAll (void)
int32_t Actor_CheckCollisionType (struct Actor_State *actor, struct Component_Definition *component_definition, struct Actor_State *other_actor)
bool Actor_CheckAnimationTrigger (struct Actor_State *actor, struct Actor_State *other_actor)
int32_t Actor_HandleNullDamage (struct Actor_State *actor)
void Actor_UpdateWorldRenderPosition (struct Actor_State *actor)
void Actor_UpdateGroundOrientation (struct Actor_State *actor)
void Actor_IntegrateMovementAndCollision (struct Actor_State *actor)
void Actor_UpdateAttachmentTransform (struct Actor_State *actor)
int32_t Actor_EvaluateCollisionConditionSelector (struct Actor_State *actor, struct Actor_State *other_actor)
void Actor_HandleCollisionResponse (struct Actor_State *actor, struct Actor_State *other_actor, struct Collision_Polygon *collision_poly, int32_t collision_slot)
void Actor_UpdateGroundedState (struct Actor_State *actor, struct Player_ControllerRecordView *record, int32_t vertical_delta, int32_t *inout_vertical_accum)
BOOL Actor_UpdateRotationFromVelocity (struct Actor_State *actor, struct Math_Vec3I32 const *velocity, int32_t turn_step)
int32_t Actor_ProcessHazardsAndDamage (struct Actor_State *actor, struct Player_ControllerRecordView *record)
void Actor_ApplyDamageScaling (struct Actor_State *actor, struct Player_ControllerRecordView *record, int32_t damage)
void Actor_ResetAnimationChains (struct Actor_State *actor)
void Actor_ResetComponentAnimations (struct Actor_State *actor)
struct Actor_State * Actor_CloneTemplateWithTemplateRelativeFixups (struct Actor_State *template_actor, struct Actor_State **list_head)
void Actor_Destroy (struct Actor_State *actor)
struct Scene_TransformNodePrefix * Actor_AttachToParent (struct Actor_State *child_actor, struct Actor_State *parent_actor, struct Scene_TransformNodePrefix *attach_point_or_auto_sentinel, uint32_t attachment_flags_and_face_selector)
void Actor_SelectNearestAttachPoint (struct Actor_State *parent_actor, struct Actor_State *child_actor)
void Actor_DetachFromParent (struct Actor_State *actor)
void Actor_SetAlphaFade (struct Actor_State *actor, int32_t fade_steps, int32_t fade_in)
uint8_t Actor_UpdateFadeOut (struct Actor_State *actor, int16_t fade_ticks)
void Actor_AddToCollisionList (struct Actor_State *actor)
void Actor_ResetChainState (struct Actor_State *actor, int32_t chain_index)
void Actor_SetMovingRight (struct Actor_State *actor)
void Actor_SetMovingLeft (struct Actor_State *actor)
uint8_t Actor_PollMovementSignals (struct Actor_State *actor, int32_t max_events)
void Actor_RunNullCallback (struct Actor_State *unused_actor)
int32_t Actor_RejectCollisionProbe (void *subject, void *other_object, struct Collision_Polygon *collision_poly, int32_t collision_depth)
void Actor_ApplyVerticalMovement (struct Actor_State *actor)
void Actor_FollowAttachedMovement (struct Actor_State *actor)
void Actor_ProcessMovementCommands (struct Actor_State *actor)
void Actor_ProcessMovementBehavior (struct Actor_State *actor)

Function Documentation

◆ Actor_AddToCollisionList()

void Actor_AddToCollisionList ( struct Actor_State * actor)

Definition at line 1414 of file collision.c.

◆ Actor_AdvanceRootMotionTick()

void Actor_AdvanceRootMotionTick ( struct Scene_Type1RenderOwnerView * owner,
int32_t tick_delta )

Definition at line 596 of file animation.c.

◆ Actor_ApplyDamageScaling()

void Actor_ApplyDamageScaling ( struct Actor_State * actor,
struct Player_ControllerRecordView * record,
int32_t damage )

Definition at line 1387 of file collision.c.

◆ Actor_ApplyEntitySlotFlags()

void Actor_ApplyEntitySlotFlags ( struct Actor_State * actor)

Definition at line 166 of file lifecycle.c.

◆ Actor_ApplySplineMovement()

void Actor_ApplySplineMovement ( struct Scene_Type1RenderOwnerView * owner,
struct Animation_SplineChannelVec3 * spline_track,
int32_t tick_delta )

Definition at line 388 of file movement.c.

◆ Actor_ApplyVerticalMovement()

void Actor_ApplyVerticalMovement ( struct Actor_State * actor)

Definition at line 604 of file movement.c.

◆ Actor_AttachToParent()

struct Scene_TransformNodePrefix * Actor_AttachToParent ( struct Actor_State * child_actor,
struct Actor_State * parent_actor,
struct Scene_TransformNodePrefix * attach_point_or_auto_sentinel,
uint32_t attachment_flags_and_face_selector )

Definition at line 190 of file attachments.c.

◆ Actor_CheckAnimationTrigger()

bool Actor_CheckAnimationTrigger ( struct Actor_State * actor,
struct Actor_State * other_actor )

Definition at line 693 of file animation.c.

◆ Actor_CheckCollisionType()

int32_t Actor_CheckCollisionType ( struct Actor_State * actor,
struct Component_Definition * component_definition,
struct Actor_State * other_actor )

Definition at line 286 of file collision.c.

◆ Actor_CloneTemplateWithTemplateRelativeFixups()

struct Actor_State * Actor_CloneTemplateWithTemplateRelativeFixups ( struct Actor_State * template_actor,
struct Actor_State ** list_head )

Definition at line 311 of file lifecycle.c.

◆ Actor_CopyEntityDefaultsToRecord()

void Actor_CopyEntityDefaultsToRecord ( struct Actor_State * actor)

Definition at line 250 of file lifecycle.c.

◆ Actor_Destroy()

void Actor_Destroy ( struct Actor_State * actor)

Definition at line 568 of file lifecycle.c.

◆ Actor_DestroyAll()

void Actor_DestroyAll ( void )

Definition at line 287 of file lifecycle.c.

◆ Actor_DetachFromParent()

void Actor_DetachFromParent ( struct Actor_State * actor)

Definition at line 348 of file attachments.c.

◆ Actor_EvaluateCollisionConditionSelector()

int32_t Actor_EvaluateCollisionConditionSelector ( struct Actor_State * actor,
struct Actor_State * other_actor )

Definition at line 1001 of file collision.c.

◆ Actor_FollowAttachedMovement()

void Actor_FollowAttachedMovement ( struct Actor_State * actor)

Definition at line 368 of file attachments.c.

◆ Actor_GetAnimationProgress()

int32_t Actor_GetAnimationProgress ( struct Actor_State * actor)

Definition at line 526 of file animation.c.

◆ Actor_GetAnimationWaitStatus()

int32_t Actor_GetAnimationWaitStatus ( struct Actor_State * actor,
int32_t anim_seq_index )

Definition at line 545 of file animation.c.

◆ Actor_GetAnimSeqIndex()

int32_t Actor_GetAnimSeqIndex ( struct Actor_State * actor)

Definition at line 519 of file animation.c.

◆ Actor_HandleCollisionResponse()

void Actor_HandleCollisionResponse ( struct Actor_State * actor,
struct Actor_State * other_actor,
struct Collision_Polygon * collision_poly,
int32_t collision_slot )

Definition at line 1142 of file collision.c.

◆ Actor_HandleNullDamage()

int32_t Actor_HandleNullDamage ( struct Actor_State * actor)

Definition at line 358 of file collision.c.

◆ Actor_IntegrateMovementAndCollision()

void Actor_IntegrateMovementAndCollision ( struct Actor_State * actor)

Definition at line 495 of file collision.c.

◆ Actor_MoveToTarget()

void Actor_MoveToTarget ( struct Actor_State * actor,
struct Math_Vec3I32 const * target_pos,
int16_t facing_selector,
int32_t facing_angle_degrees_q12,
int32_t duration_frames )

Definition at line 142 of file movement.c.

◆ Actor_PassesPauseCameraCoordinateGate()

BOOL Actor_PassesPauseCameraCoordinateGate ( struct Actor_State * actor)

Definition at line 40 of file rendering.c.

◆ Actor_PollMovementSignals()

uint8_t Actor_PollMovementSignals ( struct Actor_State * actor,
int32_t max_events )

Definition at line 594 of file movement.c.

◆ Actor_ProcessCollisionResponse()

int32_t Actor_ProcessCollisionResponse ( struct Actor_State * actor,
struct Actor_State * other_actor,
struct Collision_Polygon * collision_poly,
int32_t collision_depth )

Definition at line 56 of file collision.c.

◆ Actor_ProcessHazardsAndDamage()

int32_t Actor_ProcessHazardsAndDamage ( struct Actor_State * actor,
struct Player_ControllerRecordView * record )

Definition at line 1254 of file collision.c.

◆ Actor_ProcessMovementBehavior()

void Actor_ProcessMovementBehavior ( struct Actor_State * actor)

Definition at line 827 of file movement.c.

◆ Actor_ProcessMovementCommands()

void Actor_ProcessMovementCommands ( struct Actor_State * actor)

Definition at line 621 of file movement.c.

◆ Actor_ProcessPlayerBehavior()

void Actor_ProcessPlayerBehavior ( struct Actor_State * actor)

Definition at line 46 of file player_behavior.c.

◆ Actor_ProcessPuppyInteraction()

int32_t Actor_ProcessPuppyInteraction ( struct Actor_State * actor,
struct Actor_State * puppy_actor,
struct Collision_Polygon * collision_poly,
int32_t collision_depth )

Definition at line 30 of file puppy_interaction.c.

◆ Actor_ProcessRendering()

void Actor_ProcessRendering ( struct Actor_State * actor)

Definition at line 86 of file rendering.c.

◆ Actor_ProcessSnapAndEntityUpdate()

void Actor_ProcessSnapAndEntityUpdate ( struct Actor_State * actor)

Definition at line 349 of file movement.c.

◆ Actor_RejectCollisionProbe()

int32_t Actor_RejectCollisionProbe ( void * subject,
void * other_object,
struct Collision_Polygon * collision_poly,
int32_t collision_depth )

Definition at line 599 of file lifecycle.c.

◆ Actor_ReleaseAttachment()

void Actor_ReleaseAttachment ( struct Actor_MovementRecordView * record)

Definition at line 34 of file attachments.c.

◆ Actor_ReleaseBindings()

void Actor_ReleaseBindings ( struct Player_ControllerRecordView * record)

Definition at line 68 of file attachments.c.

◆ Actor_RenderNodeTree()

void Actor_RenderNodeTree ( void )

◆ Actor_ResetAnimationChains()

void Actor_ResetAnimationChains ( struct Actor_State * actor)

Definition at line 714 of file animation.c.

◆ Actor_ResetChainState()

void Actor_ResetChainState ( struct Actor_State * actor,
int32_t chain_index )

Definition at line 748 of file animation.c.

◆ Actor_ResetComponentAnimations()

void Actor_ResetComponentAnimations ( struct Actor_State * actor)

Definition at line 729 of file animation.c.

◆ Actor_ResetVelocityAndMoveToTarget()

void Actor_ResetVelocityAndMoveToTarget ( struct Entity * entity,
int16_t facing_selector,
int32_t facing_angle_degrees_q12,
int32_t duration_q12 )

Definition at line 124 of file movement.c.

◆ Actor_RunNullCallback()

void Actor_RunNullCallback ( struct Actor_State * unused_actor)

Definition at line 591 of file lifecycle.c.

◆ Actor_SelectNearestAttachPoint()

void Actor_SelectNearestAttachPoint ( struct Actor_State * parent_actor,
struct Actor_State * child_actor )

Definition at line 265 of file attachments.c.

◆ Actor_SetAlphaFade()

void Actor_SetAlphaFade ( struct Actor_State * actor,
int32_t fade_steps,
int32_t fade_in )

Definition at line 715 of file rendering.c.

◆ Actor_SetFacingTarget()

bool Actor_SetFacingTarget ( struct Entity * entity,
int32_t target_selector,
int32_t angle_degrees_q12 )

Definition at line 34 of file movement.c.

◆ Actor_SetMovingLeft()

void Actor_SetMovingLeft ( struct Actor_State * actor)

Definition at line 583 of file movement.c.

◆ Actor_SetMovingRight()

void Actor_SetMovingRight ( struct Actor_State * actor)

Definition at line 572 of file movement.c.

◆ Actor_SnapToPosition()

void Actor_SnapToPosition ( struct Actor_State * actor)

Definition at line 232 of file movement.c.

◆ Actor_StartTransition()

void Actor_StartTransition ( struct Actor_State * actor,
struct Actor_MovementRecordView * record )

Definition at line 221 of file lifecycle.c.

◆ Actor_TracePath()

int32_t Actor_TracePath ( struct Entity * entity,
int32_t target_selector,
int32_t max_path_distance,
int32_t best_path_distance,
int32_t trace_flags )

◆ Actor_UpdateAnimationAndVisibility()

void Actor_UpdateAnimationAndVisibility ( struct Actor_State * actor)

Definition at line 45 of file animation.c.

◆ Actor_UpdateAnimationState()

void Actor_UpdateAnimationState ( struct Actor_State * actor,
struct Player_ControllerRecordView * record,
int32_t surface_trail_mode )

Definition at line 291 of file animation.c.

◆ Actor_UpdateAttachmentTransform()

void Actor_UpdateAttachmentTransform ( struct Actor_State * actor)

Definition at line 86 of file attachments.c.

◆ Actor_UpdateFadeOut()

uint8_t Actor_UpdateFadeOut ( struct Actor_State * actor,
int16_t fade_ticks )

Definition at line 755 of file rendering.c.

◆ Actor_UpdateGroundedState()

void Actor_UpdateGroundedState ( struct Actor_State * actor,
struct Player_ControllerRecordView * record,
int32_t vertical_delta,
int32_t * inout_vertical_accum )

Definition at line 1232 of file collision.c.

◆ Actor_UpdateGroundOrientation()

void Actor_UpdateGroundOrientation ( struct Actor_State * actor)

Definition at line 366 of file collision.c.

◆ Actor_UpdateList()

void Actor_UpdateList ( void )

Definition at line 41 of file lifecycle.c.

◆ Actor_UpdateProjectileList()

void Actor_UpdateProjectileList ( void )

Definition at line 108 of file lifecycle.c.

◆ Actor_UpdateRotationFromVelocity()

BOOL Actor_UpdateRotationFromVelocity ( struct Actor_State * actor,
struct Math_Vec3I32 const * velocity,
int32_t turn_step )

Definition at line 532 of file movement.c.

◆ Actor_UpdateWorldRenderPosition()

void Actor_UpdateWorldRenderPosition ( struct Actor_State * actor)

Definition at line 686 of file rendering.c.