|
102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
|
#include "pcdogs/actor/types.h"#include "pcdogs/animation/types.h"#include "pcdogs/collision/types.h"#include "pcdogs/component/types.h"#include "pcdogs/entity/types.h"#include "pcdogs/game/types.h"#include "pcdogs/math/types.h"#include "pcdogs/scene/types.h"#include "pcdogs/types/common.h"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) |
| void Actor_AddToCollisionList | ( | struct Actor_State * | actor | ) |
Definition at line 1414 of file collision.c.
| void Actor_AdvanceRootMotionTick | ( | struct Scene_Type1RenderOwnerView * | owner, |
| int32_t | tick_delta ) |
Definition at line 596 of file animation.c.
| void Actor_ApplyDamageScaling | ( | struct Actor_State * | actor, |
| struct Player_ControllerRecordView * | record, | ||
| int32_t | damage ) |
Definition at line 1387 of file collision.c.
| void Actor_ApplyEntitySlotFlags | ( | struct Actor_State * | actor | ) |
Definition at line 166 of file lifecycle.c.
| void Actor_ApplySplineMovement | ( | struct Scene_Type1RenderOwnerView * | owner, |
| struct Animation_SplineChannelVec3 * | spline_track, | ||
| int32_t | tick_delta ) |
Definition at line 388 of file movement.c.
| void Actor_ApplyVerticalMovement | ( | struct Actor_State * | actor | ) |
Definition at line 604 of file movement.c.
| 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.
| bool Actor_CheckAnimationTrigger | ( | struct Actor_State * | actor, |
| struct Actor_State * | other_actor ) |
Definition at line 693 of file animation.c.
| 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.
| struct Actor_State * Actor_CloneTemplateWithTemplateRelativeFixups | ( | struct Actor_State * | template_actor, |
| struct Actor_State ** | list_head ) |
Definition at line 311 of file lifecycle.c.
| void Actor_CopyEntityDefaultsToRecord | ( | struct Actor_State * | actor | ) |
Definition at line 250 of file lifecycle.c.
| void Actor_Destroy | ( | struct Actor_State * | actor | ) |
Definition at line 568 of file lifecycle.c.
| void Actor_DestroyAll | ( | void | ) |
Definition at line 287 of file lifecycle.c.
| void Actor_DetachFromParent | ( | struct Actor_State * | actor | ) |
Definition at line 348 of file attachments.c.
| int32_t Actor_EvaluateCollisionConditionSelector | ( | struct Actor_State * | actor, |
| struct Actor_State * | other_actor ) |
Definition at line 1001 of file collision.c.
| void Actor_FollowAttachedMovement | ( | struct Actor_State * | actor | ) |
Definition at line 368 of file attachments.c.
| int32_t Actor_GetAnimationProgress | ( | struct Actor_State * | actor | ) |
Definition at line 526 of file animation.c.
| int32_t Actor_GetAnimationWaitStatus | ( | struct Actor_State * | actor, |
| int32_t | anim_seq_index ) |
Definition at line 545 of file animation.c.
| int32_t Actor_GetAnimSeqIndex | ( | struct Actor_State * | actor | ) |
Definition at line 519 of file animation.c.
| 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.
| int32_t Actor_HandleNullDamage | ( | struct Actor_State * | actor | ) |
Definition at line 358 of file collision.c.
| void Actor_IntegrateMovementAndCollision | ( | struct Actor_State * | actor | ) |
Definition at line 495 of file collision.c.
| 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.
| BOOL Actor_PassesPauseCameraCoordinateGate | ( | struct Actor_State * | actor | ) |
Definition at line 40 of file rendering.c.
| uint8_t Actor_PollMovementSignals | ( | struct Actor_State * | actor, |
| int32_t | max_events ) |
Definition at line 594 of file movement.c.
| 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.
| int32_t Actor_ProcessHazardsAndDamage | ( | struct Actor_State * | actor, |
| struct Player_ControllerRecordView * | record ) |
Definition at line 1254 of file collision.c.
| void Actor_ProcessMovementBehavior | ( | struct Actor_State * | actor | ) |
Definition at line 827 of file movement.c.
| void Actor_ProcessMovementCommands | ( | struct Actor_State * | actor | ) |
Definition at line 621 of file movement.c.
| void Actor_ProcessPlayerBehavior | ( | struct Actor_State * | actor | ) |
Definition at line 46 of file player_behavior.c.
| 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.
| void Actor_ProcessRendering | ( | struct Actor_State * | actor | ) |
Definition at line 86 of file rendering.c.
| void Actor_ProcessSnapAndEntityUpdate | ( | struct Actor_State * | actor | ) |
Definition at line 349 of file movement.c.
| 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.
| void Actor_ReleaseAttachment | ( | struct Actor_MovementRecordView * | record | ) |
Definition at line 34 of file attachments.c.
| void Actor_ReleaseBindings | ( | struct Player_ControllerRecordView * | record | ) |
Definition at line 68 of file attachments.c.
| void Actor_RenderNodeTree | ( | void | ) |
| void Actor_ResetAnimationChains | ( | struct Actor_State * | actor | ) |
Definition at line 714 of file animation.c.
| void Actor_ResetChainState | ( | struct Actor_State * | actor, |
| int32_t | chain_index ) |
Definition at line 748 of file animation.c.
| void Actor_ResetComponentAnimations | ( | struct Actor_State * | actor | ) |
Definition at line 729 of file animation.c.
| 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.
| void Actor_RunNullCallback | ( | struct Actor_State * | unused_actor | ) |
Definition at line 591 of file lifecycle.c.
| void Actor_SelectNearestAttachPoint | ( | struct Actor_State * | parent_actor, |
| struct Actor_State * | child_actor ) |
Definition at line 265 of file attachments.c.
| void Actor_SetAlphaFade | ( | struct Actor_State * | actor, |
| int32_t | fade_steps, | ||
| int32_t | fade_in ) |
Definition at line 715 of file rendering.c.
| bool Actor_SetFacingTarget | ( | struct Entity * | entity, |
| int32_t | target_selector, | ||
| int32_t | angle_degrees_q12 ) |
Definition at line 34 of file movement.c.
| void Actor_SetMovingLeft | ( | struct Actor_State * | actor | ) |
Definition at line 583 of file movement.c.
| void Actor_SetMovingRight | ( | struct Actor_State * | actor | ) |
Definition at line 572 of file movement.c.
| void Actor_SnapToPosition | ( | struct Actor_State * | actor | ) |
Definition at line 232 of file movement.c.
| void Actor_StartTransition | ( | struct Actor_State * | actor, |
| struct Actor_MovementRecordView * | record ) |
Definition at line 221 of file lifecycle.c.
| 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_UpdateAnimationAndVisibility | ( | struct Actor_State * | actor | ) |
Definition at line 45 of file animation.c.
| void Actor_UpdateAnimationState | ( | struct Actor_State * | actor, |
| struct Player_ControllerRecordView * | record, | ||
| int32_t | surface_trail_mode ) |
Definition at line 291 of file animation.c.
| void Actor_UpdateAttachmentTransform | ( | struct Actor_State * | actor | ) |
Definition at line 86 of file attachments.c.
| uint8_t Actor_UpdateFadeOut | ( | struct Actor_State * | actor, |
| int16_t | fade_ticks ) |
Definition at line 755 of file rendering.c.
| 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.
| void Actor_UpdateGroundOrientation | ( | struct Actor_State * | actor | ) |
Definition at line 366 of file collision.c.
| void Actor_UpdateList | ( | void | ) |
Definition at line 41 of file lifecycle.c.
| void Actor_UpdateProjectileList | ( | void | ) |
Definition at line 108 of file lifecycle.c.
| BOOL Actor_UpdateRotationFromVelocity | ( | struct Actor_State * | actor, |
| struct Math_Vec3I32 const * | velocity, | ||
| int32_t | turn_step ) |
Definition at line 532 of file movement.c.
| void Actor_UpdateWorldRenderPosition | ( | struct Actor_State * | actor | ) |
Definition at line 686 of file rendering.c.