102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
DTTR_PCDOGS_T_PKG_MeshNodeHeader Struct Reference

#include <dttr_pcdogs.h>

Data Fields

uint32_t node_type
 Offset 0x0.
uint32_t parent_index
 Offset 0x4.
uint32_t node_data_offset
 Offset 0x8.
uint32_t link_data
 Offset 0xC.
uint32_t bone_transforms [12]
 Offset 0x10.
DTTR_PCDOGS_T_Math_RectI16 bounds
 Offset 0x40.
uint32_t mesh_flags
 Offset 0x48.
uint32_t mesh_config [3]
 Offset 0x4C.
uint32_t visibility_mask
 Offset 0x58.
uint16_t padding_5c
 Padding/internal mesh-node header word. Offset 0x5C.
uint16_t padding_5e
 Padding/internal mesh-node header word. Offset 0x5E.
uint32_t vertex_format
 Offset 0x60.
uint8_t subtype_id
 Offset 0x64.
uint8_t subtype_flags
 Offset 0x65.
uint16_t polygon_count
 Offset 0x66.
uint16_t vertex_count
 Offset 0x68.
uint16_t material_ref_count
 Offset 0x6A.
uint32_t polygon_offset
 Offset 0x6C.
uint32_t vertex_offset
 Offset 0x70.
uint32_t normal_offset
 Offset 0x74.
uint32_t resource_manager_ptr
 Offset 0x78.
uint32_t material_indices_offset
 Offset 0x7C.
uint32_t secondary_vertex_ptr
 Offset 0x80.
uint32_t vertex_color_ptr
 Offset 0x84.
uint32_t node_runtime_flags
 Offset 0x88.
uint32_t anim_state_index
 Offset 0x8C.
uint32_t uv_data_ptr
 Offset 0x90.
uint32_t aux_entry_array_ptr
 Offset 0x94.
DTTR_PCDOGS_T_Math_Vec3U cached_world_pos
 Offset 0x98.
DTTR_PCDOGS_T_Math_BoundingSphereU16 bounding_sphere
 Offset 0xA4.
uint32_t bone_ref_array_ptr
 Offset 0xAC.
uint32_t morph_target_list_ptr
 Offset 0xB0.
uint32_t render_batch_array_ptr
 Offset 0xB4.
uint16_t draw_order_flags
 Offset 0xB8.
uint8_t render_node_entry_count
uint8_t lod_count
DTTR_PCDOGS_T_Mesh_RenderNodeEntryrender_node_entry_table_ptr
uint32_t lod_array_ptr
 Offset 0xC0.
uint32_t default_vertex_color
 Offset 0xC4.
uint32_t bone_data_ptr
 Offset 0xC8.
uint32_t material_batch_base
 Offset 0xCC.
uint32_t component_list_ptr
 Offset 0xD0.
uint32_t init_world_pos_z
 Offset 0xD4.
uint32_t bounding_radius
 Offset 0xD8.
uint32_t runtime_anim_timer
 Offset 0xDC.
uint32_t runtime_transform [4]
 Offset 0xE0.
uint16_t strip_vertex_count
 Offset 0xF0.
int16_t aux_entry_count
 Offset 0xF2.
uint32_t special_node_data_ptr
 Offset 0xF4.
uint32_t data_material_ref_ptr
 Offset 0xF8.
uint32_t padding_fc
uint32_t relative_offset_list_ptr

Detailed Description

Definition at line 5296 of file dttr_pcdogs.h.

Field Documentation

◆ anim_state_index

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::anim_state_index

Offset 0x8C.

Definition at line 5322 of file dttr_pcdogs.h.

◆ aux_entry_array_ptr

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::aux_entry_array_ptr

Offset 0x94.

Definition at line 5324 of file dttr_pcdogs.h.

◆ aux_entry_count

int16_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::aux_entry_count

Offset 0xF2.

Definition at line 5348 of file dttr_pcdogs.h.

◆ bone_data_ptr

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::bone_data_ptr

Offset 0xC8.

Definition at line 5340 of file dttr_pcdogs.h.

◆ bone_ref_array_ptr

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::bone_ref_array_ptr

Offset 0xAC.

Definition at line 5327 of file dttr_pcdogs.h.

◆ bone_transforms

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::bone_transforms[12]

Offset 0x10.

Definition at line 5301 of file dttr_pcdogs.h.

◆ bounding_radius

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::bounding_radius

Offset 0xD8.

Definition at line 5344 of file dttr_pcdogs.h.

◆ bounding_sphere

DTTR_PCDOGS_T_Math_BoundingSphereU16 DTTR_PCDOGS_T_PKG_MeshNodeHeader::bounding_sphere

Offset 0xA4.

Definition at line 5326 of file dttr_pcdogs.h.

◆ bounds

DTTR_PCDOGS_T_Math_RectI16 DTTR_PCDOGS_T_PKG_MeshNodeHeader::bounds

Offset 0x40.

Definition at line 5302 of file dttr_pcdogs.h.

◆ cached_world_pos

DTTR_PCDOGS_T_Math_Vec3U DTTR_PCDOGS_T_PKG_MeshNodeHeader::cached_world_pos

Offset 0x98.

Definition at line 5325 of file dttr_pcdogs.h.

◆ component_list_ptr

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::component_list_ptr

Offset 0xD0.

Definition at line 5342 of file dttr_pcdogs.h.

◆ data_material_ref_ptr

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::data_material_ref_ptr

Offset 0xF8.

Definition at line 5350 of file dttr_pcdogs.h.

◆ default_vertex_color

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::default_vertex_color

Offset 0xC4.

Definition at line 5339 of file dttr_pcdogs.h.

◆ draw_order_flags

uint16_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::draw_order_flags

Offset 0xB8.

Definition at line 5330 of file dttr_pcdogs.h.

◆ init_world_pos_z

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::init_world_pos_z

Offset 0xD4.

Definition at line 5343 of file dttr_pcdogs.h.

◆ link_data

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::link_data

Offset 0xC.

Definition at line 5300 of file dttr_pcdogs.h.

◆ lod_array_ptr

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::lod_array_ptr

Offset 0xC0.

Definition at line 5338 of file dttr_pcdogs.h.

◆ lod_count

uint8_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::lod_count

LOD entry count at lod_array_ptr, used while rebasing LOD entries. Offset 0xBB.

Definition at line 5333 of file dttr_pcdogs.h.

◆ material_batch_base

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::material_batch_base

Offset 0xCC.

Definition at line 5341 of file dttr_pcdogs.h.

◆ material_indices_offset

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::material_indices_offset

Offset 0x7C.

Definition at line 5318 of file dttr_pcdogs.h.

◆ material_ref_count

uint16_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::material_ref_count

Offset 0x6A.

Definition at line 5313 of file dttr_pcdogs.h.

◆ mesh_config

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::mesh_config[3]

Offset 0x4C.

Definition at line 5304 of file dttr_pcdogs.h.

◆ mesh_flags

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::mesh_flags

Offset 0x48.

Definition at line 5303 of file dttr_pcdogs.h.

◆ morph_target_list_ptr

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::morph_target_list_ptr

Offset 0xB0.

Definition at line 5328 of file dttr_pcdogs.h.

◆ node_data_offset

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::node_data_offset

Offset 0x8.

Definition at line 5299 of file dttr_pcdogs.h.

◆ node_runtime_flags

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::node_runtime_flags

Offset 0x88.

Definition at line 5321 of file dttr_pcdogs.h.

◆ node_type

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::node_type

Offset 0x0.

Definition at line 5297 of file dttr_pcdogs.h.

◆ normal_offset

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::normal_offset

Offset 0x74.

Definition at line 5316 of file dttr_pcdogs.h.

◆ padding_5c

uint16_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::padding_5c

Padding/internal mesh-node header word. Offset 0x5C.

Definition at line 5306 of file dttr_pcdogs.h.

◆ padding_5e

uint16_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::padding_5e

Padding/internal mesh-node header word. Offset 0x5E.

Definition at line 5307 of file dttr_pcdogs.h.

◆ padding_fc

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::padding_fc

Reserved mesh-node header dword. It is reserved for internal use. Offset 0xFC.

Definition at line 5351 of file dttr_pcdogs.h.

◆ parent_index

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::parent_index

Offset 0x4.

Definition at line 5298 of file dttr_pcdogs.h.

◆ polygon_count

uint16_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::polygon_count

Offset 0x66.

Definition at line 5311 of file dttr_pcdogs.h.

◆ polygon_offset

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::polygon_offset

Offset 0x6C.

Definition at line 5314 of file dttr_pcdogs.h.

◆ relative_offset_list_ptr

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::relative_offset_list_ptr

Relative-position list rebased in place by PKG_FixUpResourceMeshNode; the function walks a dword list until a zero terminator and adds the rebased base to each nonzero entry. Offset 0x100.

Definition at line 5354 of file dttr_pcdogs.h.

◆ render_batch_array_ptr

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::render_batch_array_ptr

Offset 0xB4.

Definition at line 5329 of file dttr_pcdogs.h.

◆ render_node_entry_count

uint8_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::render_node_entry_count

Render-node entry count , passed to render-entry fixup. Offset 0xBA.

Definition at line 5331 of file dttr_pcdogs.h.

◆ render_node_entry_table_ptr

DTTR_PCDOGS_T_Mesh_RenderNodeEntry* DTTR_PCDOGS_T_PKG_MeshNodeHeader::render_node_entry_table_ptr

Mesh render-node entry table used by mesh-node fixup and render paths. Offset 0xBC.

Definition at line 5336 of file dttr_pcdogs.h.

◆ resource_manager_ptr

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::resource_manager_ptr

Offset 0x78.

Definition at line 5317 of file dttr_pcdogs.h.

◆ runtime_anim_timer

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::runtime_anim_timer

Offset 0xDC.

Definition at line 5345 of file dttr_pcdogs.h.

◆ runtime_transform

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::runtime_transform[4]

Offset 0xE0.

Definition at line 5346 of file dttr_pcdogs.h.

◆ secondary_vertex_ptr

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::secondary_vertex_ptr

Offset 0x80.

Definition at line 5319 of file dttr_pcdogs.h.

◆ special_node_data_ptr

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::special_node_data_ptr

Offset 0xF4.

Definition at line 5349 of file dttr_pcdogs.h.

◆ strip_vertex_count

uint16_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::strip_vertex_count

Offset 0xF0.

Definition at line 5347 of file dttr_pcdogs.h.

◆ subtype_flags

uint8_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::subtype_flags

Offset 0x65.

Definition at line 5310 of file dttr_pcdogs.h.

◆ subtype_id

uint8_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::subtype_id

Offset 0x64.

Definition at line 5309 of file dttr_pcdogs.h.

◆ uv_data_ptr

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::uv_data_ptr

Offset 0x90.

Definition at line 5323 of file dttr_pcdogs.h.

◆ vertex_color_ptr

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::vertex_color_ptr

Offset 0x84.

Definition at line 5320 of file dttr_pcdogs.h.

◆ vertex_count

uint16_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::vertex_count

Offset 0x68.

Definition at line 5312 of file dttr_pcdogs.h.

◆ vertex_format

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::vertex_format

Offset 0x60.

Definition at line 5308 of file dttr_pcdogs.h.

◆ vertex_offset

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::vertex_offset

Offset 0x70.

Definition at line 5315 of file dttr_pcdogs.h.

◆ visibility_mask

uint32_t DTTR_PCDOGS_T_PKG_MeshNodeHeader::visibility_mask

Offset 0x58.

Definition at line 5305 of file dttr_pcdogs.h.


The documentation for this struct was generated from the following file: