|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
#include <dttr_pcdogs.h>
Definition at line 3973 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Actor_State::actor_collision_subtype_or_zero |
Actor-to-actor collision subtype byte. Nonzero paths dereference collision_component_or_parent_component. Offset 0xC6.
Definition at line 4039 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Actor_State::actor_type |
Offset 0x64.
Definition at line 3994 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::alloc_size |
Offset 0x114.
Definition at line 4083 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Animation_StateTable* DTTR_PCDOGS_T_Actor_State::anim_asset_table |
Offset 0xAC.
Definition at line 4023 of file dttr_pcdogs.h.
| void* DTTR_PCDOGS_T_Actor_State::anim_controller_root |
Offset 0x80.
Definition at line 4008 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Animation_ControllerGroup* DTTR_PCDOGS_T_Actor_State::anim_ctrl_ptr |
Offset 0x7C.
Definition at line 4007 of file dttr_pcdogs.h.
| int16_t DTTR_PCDOGS_T_Actor_State::anim_flags |
Offset 0xE.
Definition at line 3978 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::anim_frame_time |
Offset 0x60.
Definition at line 3993 of file dttr_pcdogs.h.
| int16_t DTTR_PCDOGS_T_Actor_State::anim_seq_index |
Offset 0x5C.
Definition at line 3991 of file dttr_pcdogs.h.
| int16_t DTTR_PCDOGS_T_Actor_State::anim_seq_timer |
Offset 0x5E.
Definition at line 3992 of file dttr_pcdogs.h.
| int16_t DTTR_PCDOGS_T_Actor_State::anim_state |
Offset 0xC.
Definition at line 3977 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::anim_tick |
Offset 0xB4.
Definition at line 4029 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Actor_AnimationComponentState DTTR_PCDOGS_T_Actor_State::animation_component_state |
Unpacked animation and component state. Model_AdvanceAnimation reads the low int16 as per-tick animation advance, while trail and component paths use the high half. Offset 0xB8.
Definition at line 4031 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::attach_flags |
Offset 0x58.
Definition at line 3990 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Math_Vec3I32 DTTR_PCDOGS_T_Actor_State::attach_offset |
Offset 0x20.
Definition at line 3982 of file dttr_pcdogs.h.
| void* DTTR_PCDOGS_T_Actor_State::attach_point_table |
Offset 0x94.
Definition at line 4017 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Actor_State::attach_slot_index |
Offset 0x66.
Definition at line 3996 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::behavior_flags |
Offset 0x88.
Definition at line 4010 of file dttr_pcdogs.h.
| int16_t DTTR_PCDOGS_T_Actor_State::behavior_state |
Player/AI behavior substate switched by Actor_ProcessPlayerBehavior; nonzero suppresses selected collision/despawn paths. Offset 0x194.
Definition at line 4133 of file dttr_pcdogs.h.
| int16_t DTTR_PCDOGS_T_Actor_State::behavior_timer |
Behavior phase timer/frame counter set to animation/countdown durations and decremented by player/AI behavior paths. Offset 0x196.
Definition at line 4136 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::camera_cos_factor |
Offset 0x12C.
Definition at line 4089 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::camera_mat_xz |
Offset 0x118.
Definition at line 4084 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::camera_mat_yz |
Offset 0x11C.
Definition at line 4085 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::camera_pitch |
Offset 0x120.
Definition at line 4086 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Math_Matrix3x3I16* DTTR_PCDOGS_T_Actor_State::camera_rot_matrix_ptr |
Offset 0x124.
Definition at line 4087 of file dttr_pcdogs.h.
| void* DTTR_PCDOGS_T_Actor_State::camera_scratch_vec_ptr |
Offset 0x130.
Definition at line 4090 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::camera_yaw |
Offset 0x134.
Definition at line 4091 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Actor_State* DTTR_PCDOGS_T_Actor_State::candidate_actor_0 |
Candidate actor pointer for tracked slot 0 used by player behavior and collision scans. Offset 0x1A8.
Definition at line 4155 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Actor_State* DTTR_PCDOGS_T_Actor_State::candidate_actor_1 |
Candidate actor pointer for tracked slot 1 used by collision scans. Offset 0x1B0.
Definition at line 4160 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::candidate_actor_distance_0 |
Nearest/candidate actor distance for tracked slot 0 used by player behavior and collision scans. Offset 0x1A4.
Definition at line 4151 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::candidate_actor_distance_1 |
Nearest/candidate actor distance for tracked slot 1 used by collision scans. Offset 0x1AC.
Definition at line 4157 of file dttr_pcdogs.h.
| int16_t DTTR_PCDOGS_T_Actor_State::chain_state |
Offset 0x7A.
Definition at line 4006 of file dttr_pcdogs.h.
| int16_t DTTR_PCDOGS_T_Actor_State::chain_timer |
Offset 0x78.
Definition at line 4005 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Actor_State* DTTR_PCDOGS_T_Actor_State::child_actor |
Offset 0xF8.
Definition at line 4072 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Component_Instance* DTTR_PCDOGS_T_Actor_State::collision_component_or_parent_component |
Collision component pointer used when actor_collision_subtype_or_zero is nonzero; preserve it with collision state bytes. Offset 0xC8.
Definition at line 4045 of file dttr_pcdogs.h.
| void* DTTR_PCDOGS_T_Actor_State::collision_list_heads |
Offset 0x84.
Definition at line 4009 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Actor_State* DTTR_PCDOGS_T_Actor_State::collision_next |
Offset 0xA8.
Definition at line 4022 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::collision_push_xz |
Offset 0x10C.
Definition at line 4081 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::collision_response_xz |
Offset 0x110.
Definition at line 4082 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Actor_State::collision_state_a |
Offset 0xC4.
Definition at line 4037 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Actor_State::collision_state_b |
Offset 0xC5.
Definition at line 4038 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Actor_State::collision_state_d |
Offset 0xC7.
Definition at line 4043 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Component_Instance* DTTR_PCDOGS_T_Actor_State::component_array |
Offset 0xC0.
Definition at line 4036 of file dttr_pcdogs.h.
| int16_t DTTR_PCDOGS_T_Actor_State::contact_normal_z |
Offset 0x1C.
Definition at line 3980 of file dttr_pcdogs.h.
| int16_t DTTR_PCDOGS_T_Actor_State::contact_normal_z_hi |
Offset 0x1E.
Definition at line 3981 of file dttr_pcdogs.h.
| int16_t DTTR_PCDOGS_T_Actor_State::contact_tangent[6] |
Offset 0x10.
Definition at line 3979 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::default_coll_height |
Actor_State default collision height restored by reset/despawn paths. Offset 0x178.
Definition at line 4110 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::default_coll_radius |
Actor_State default collision radius restored by reset/despawn paths. Offset 0x174.
Definition at line 4108 of file dttr_pcdogs.h.
| uint32_t DTTR_PCDOGS_T_Actor_State::default_flags |
Actor_State default flag mask restored by reset/despawn paths. Offset 0x17C.
Definition at line 4112 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::fade_alpha |
Offset 0xFC.
Definition at line 4073 of file dttr_pcdogs.h.
| int16_t DTTR_PCDOGS_T_Actor_State::fade_timer |
Offset 0xCC.
Definition at line 4049 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Collision_Node* DTTR_PCDOGS_T_Actor_State::ground_collision_node |
Ground/contact collision or scene-geometry node pointer. Polygon access routes through the node's polygon/vertex arrays. Offset 0xE8.
Definition at line 4061 of file dttr_pcdogs.h.
| void* DTTR_PCDOGS_T_Actor_State::ground_contact_ptr |
Ground-contact pointer paired with ground_collision_node and passed through polygon/contact helpers. Offset 0xEC.
Definition at line 4065 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::height_offset |
Offset 0xA4.
Definition at line 4021 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_PKG_LODEntry* DTTR_PCDOGS_T_Actor_State::level_local_lod_redirect_record |
Level-local LOD redirect record; Actor_ProcessRendering follows this record to an alternate actor/render source tied to the current level. Offset 0x104.
Definition at line 4076 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Actor_State::lifecycle_flags |
Offset 0x65.
Definition at line 3995 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Actor_State* DTTR_PCDOGS_T_Actor_State::linked_actor |
Offset 0x128.
Definition at line 4088 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Actor_State* DTTR_PCDOGS_T_Actor_State::list_next |
Offset 0x0.
Definition at line 3974 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::live_velocity |
Offset 0x170.
Definition at line 4107 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Mesh_Object* DTTR_PCDOGS_T_Actor_State::mesh_data_ptr |
Offset 0x6C.
Definition at line 4002 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::mesh_polygon_count_or_ground_y |
Render-coupled word used by mesh rendering paths as the count or limit for records reached through mesh_data_ptr. Copies require coherent visual state. Offset 0x8C.
Definition at line 4012 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Actor_State* DTTR_PCDOGS_T_Actor_State::next_actor |
Offset 0x4.
Definition at line 3975 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Entity_State* DTTR_PCDOGS_T_Actor_State::owner_entity |
Offset 0x8.
Definition at line 3976 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Actor_State* DTTR_PCDOGS_T_Actor_State::parent_actor |
Offset 0x108.
Definition at line 4080 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::path_best_distance |
Offset 0x144.
Definition at line 4098 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::path_facing |
Offset 0x16C.
Definition at line 4106 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::path_result_x |
Offset 0x154.
Definition at line 4100 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::path_result_y |
Offset 0x158.
Definition at line 4101 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::path_result_z |
Offset 0x15C.
Definition at line 4102 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Math_Vec3I32 DTTR_PCDOGS_T_Actor_State::path_target |
Offset 0x148.
Definition at line 4099 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::path_trace_mode |
Offset 0x100.
Definition at line 4074 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::path_waypoint_x |
Offset 0x160.
Definition at line 4103 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::path_waypoint_y |
Offset 0x164.
Definition at line 4104 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::path_waypoint_z |
Offset 0x168.
Definition at line 4105 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Math_Vec3I32 DTTR_PCDOGS_T_Actor_State::position |
Logical actor position in game fixed-point units. Offset 0x40.
Definition at line 3988 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_PKG_ActorRecord* DTTR_PCDOGS_T_Actor_State::record_ptr |
Normally actor-record-backed; powerup paths may reuse this slot as a source Powerup_Entry pointer for live actors spawned from powerup entries. Offset 0xF4.
Definition at line 4069 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Actor_State::render_layer |
Offset 0x67.
Definition at line 3997 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Scene_Node* * DTTR_PCDOGS_T_Actor_State::render_node_list |
NULL-terminated runtime render node list read by Scene_RenderNodeTree. Runtime rendering fixes iterate this list with pointer guards. Offset 0xD0.
Definition at line 4054 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::reserved_138 |
Offset 0x138.
Definition at line 4092 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::reserved_90 |
Offset 0x90.
Definition at line 4016 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Math_Matrix3x3I16 DTTR_PCDOGS_T_Actor_State::rot_mat |
Actor-local rotation/render transform matrix initialized by Entity_SpawnActor. Offset 0x2C.
Definition at line 3984 of file dttr_pcdogs.h.
| int16_t DTTR_PCDOGS_T_Actor_State::rot_mat_padding |
Offset 0x3E.
Definition at line 3986 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::rotation |
Offset 0xF0.
Definition at line 4067 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Component_Instance* DTTR_PCDOGS_T_Actor_State::runtime_component_array |
Pointer to runtime Component_Instance array initialized by Entity_SpawnActor; entries use the public Component_Instance layout. Offset 0x198.
Definition at line 4140 of file dttr_pcdogs.h.
| int16_t DTTR_PCDOGS_T_Actor_State::scale_factor |
Actor scale factor copied through runtime actor paths. Direct writes require additional visual-state handling. Offset 0xCE.
Definition at line 4051 of file dttr_pcdogs.h.
| void* DTTR_PCDOGS_T_Actor_State::scene_anim_data |
Offset 0x74.
Definition at line 4004 of file dttr_pcdogs.h.
| void* DTTR_PCDOGS_T_Actor_State::scene_vertex_data |
Offset 0x70.
Definition at line 4003 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::scratch_reserved[4] |
Zeroed actor scratch tail. Offset 0x1B4.
Definition at line 4162 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Actor_State::script_entity_slot_index |
Script-visible level entity-slot index. Offset 0x140.
Definition at line 4094 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Actor_State::script_entity_stack[3] |
Three contiguous script-entity stack bytes used as an array. Offset 0x141.
Definition at line 4096 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::script_timer |
Offset 0x13C.
Definition at line 4093 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::spin_angle |
Offset 0xE0.
Definition at line 4058 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::spin_speed |
Offset 0xE4.
Definition at line 4059 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Math_Vec3I32 DTTR_PCDOGS_T_Actor_State::sub_pos |
Offset 0x4C.
Definition at line 3989 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Actor_State* DTTR_PCDOGS_T_Actor_State::tracked_actor_0 |
Tracked/attached actor pointer slot released by Actor_ReleaseBindings with target refcount decrement. Offset 0x19C.
Definition at line 4144 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Actor_State* DTTR_PCDOGS_T_Actor_State::tracked_actor_1 |
Tracked/attached actor pointer slot released by Actor_ReleaseBindings/Actor_ReleaseAttachment with target refcount decrement. Offset 0x1A0.
Definition at line 4148 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Component_TrailObject* DTTR_PCDOGS_T_Actor_State::trail_chain_ptr |
Offset 0xBC.
Definition at line 4035 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::transition_rotation_param |
Rotation step/speed parameter passed as Actor_CalculateRotation third argument; the callee scales it before applying the facing update. Offset 0x190.
Definition at line 4129 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::transition_saved_velocity_x |
Saved pre-transition velocity_x copied from the live actor and restored by Actor_SnapToPosition. Offset 0x180.
Definition at line 4114 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::transition_saved_velocity_y |
Saved pre-transition velocity_y copied from the live actor and restored by Actor_SnapToPosition. Offset 0x184.
Definition at line 4117 of file dttr_pcdogs.h.
| int32_t DTTR_PCDOGS_T_Actor_State::transition_saved_velocity_z |
Saved pre-transition velocity_z copied from the live actor and restored by Actor_SnapToPosition. Offset 0x188.
Definition at line 4120 of file dttr_pcdogs.h.
| int16_t DTTR_PCDOGS_T_Actor_State::transition_target_angle |
Target facing angle passed into Actor_CalculateRotation during snap/transition updates. Offset 0x18E.
Definition at line 4126 of file dttr_pcdogs.h.
| int16_t DTTR_PCDOGS_T_Actor_State::transition_timer |
Transition/countdown timer set by camera/snap setup and decremented by Actor_ProcessSnapAndEntityUpdate. Offset 0x18C.
Definition at line 4123 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Math_Vec3I32 DTTR_PCDOGS_T_Actor_State::velocity |
Offset 0xD4.
Definition at line 4057 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Animation_MorphTargetVertex** DTTR_PCDOGS_T_Actor_State::visual_morph_or_skin_target_table |
Visual morph and skin target pointer table used by Bone_TransformVerticesWeighted. It is paired with borrowed mesh and scene vertex resources. Offset 0xB0.
Definition at line 4025 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Math_Vec2I16 DTTR_PCDOGS_T_Actor_State::visual_scale |
Unpacked XY visual scale. Fabricated values can destabilize Actor_ProcessRendering, so engine-managed spawn/render paths are safer than direct writes. Offset 0x68.
Definition at line 3999 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Math_Vec3I32 DTTR_PCDOGS_T_Actor_State::world_render_pos |
Render-position mirror used by camera/render paths; transform writes require logical-position coherence. Offset 0x98.
Definition at line 4019 of file dttr_pcdogs.h.