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

#include <dttr_pcdogs.h>

Data Fields

int16_t yaw
 Offset 0x0.
int16_t pitch
 Offset 0x2.
int16_t roll
 Offset 0x4.
int16_t look_at_pitch
 Offset 0x6.
int16_t orbit_yaw
 Offset 0x8.
int16_t fov
 Offset 0xA.
int32_t focal_distance
 Offset 0xC.
DTTR_PCDOGS_T_Math_Vec3I32XZY eye_pos
 Offset 0x10.
DTTR_PCDOGS_T_Math_Vec3I32XZY target_pos
 Offset 0x1C.
DTTR_PCDOGS_T_Entity_Stateactive_entity_slot_ptr
 Offset 0x28.
DTTR_PCDOGS_T_Math_SizeI16 screen_half
 Projection center/size field. Offset 0x2C.
DTTR_PCDOGS_T_Math_Matrix3x3I16 view_matrix
int16_t view_matrix_padding
 Offset 0x42.
uint8_t frustum_setup_prefix_44 [20]
DTTR_PCDOGS_T_Graphics_FrustumClipPlane frustum_planes [5]
DTTR_PCDOGS_T_Math_Matrix3x3I16 node_view_matrix
 Native per-node/list-state basis matrix. Offset 0x94.
int16_t node_view_matrix_padding
 Offset 0xA6.
DTTR_PCDOGS_T_Math_Vec3I32 node_view_translation
 Offset 0xA8.
int32_t projection_near_fp
 Fixed-point near-plane threshold. Offset 0xB4.
int32_t dynamic_level_scale
 Offset 0xB8.
DTTR_PCDOGS_T_Actor_Staterender_actor_ptr
 Offset 0xBC.
uint32_t render_pass_flags
 Offset 0xC0.
voidpost_sorted_callback
 Offset 0xC4.
voidpre_shadow_callback
 Offset 0xC8.
voidsorted_list_head
 Offset 0xCC.
voidsorted_list_buckets [16384]
 Offset 0xD0.
uint32_t sorted_bucket_tail

Detailed Description

Camera/render-list runtime state with five frustum planes. eye_pos and target_pos use Math_Vec3I32XZY storage.

Definition at line 5667 of file dttr_pcdogs.h.

Field Documentation

◆ active_entity_slot_ptr

DTTR_PCDOGS_T_Entity_State* DTTR_PCDOGS_T_Graphics_ListState::active_entity_slot_ptr

Offset 0x28.

Definition at line 5677 of file dttr_pcdogs.h.

◆ dynamic_level_scale

int32_t DTTR_PCDOGS_T_Graphics_ListState::dynamic_level_scale

Offset 0xB8.

Definition at line 5693 of file dttr_pcdogs.h.

◆ eye_pos

DTTR_PCDOGS_T_Math_Vec3I32XZY DTTR_PCDOGS_T_Graphics_ListState::eye_pos

Offset 0x10.

Definition at line 5675 of file dttr_pcdogs.h.

◆ focal_distance

int32_t DTTR_PCDOGS_T_Graphics_ListState::focal_distance

Offset 0xC.

Definition at line 5674 of file dttr_pcdogs.h.

◆ fov

int16_t DTTR_PCDOGS_T_Graphics_ListState::fov

Offset 0xA.

Definition at line 5673 of file dttr_pcdogs.h.

◆ frustum_planes

DTTR_PCDOGS_T_Graphics_FrustumClipPlane DTTR_PCDOGS_T_Graphics_ListState::frustum_planes[5]

Five plane records written by Scene_RenderFrame and read by Graphics_CheckActorVisibilityAndFrustum. Offset 0x58.

Definition at line 5686 of file dttr_pcdogs.h.

◆ frustum_setup_prefix_44

uint8_t DTTR_PCDOGS_T_Graphics_ListState::frustum_setup_prefix_44[20]

Camera/frustum setup prefix before the five documented clip-plane records. Offset 0x44.

Definition at line 5683 of file dttr_pcdogs.h.

◆ look_at_pitch

int16_t DTTR_PCDOGS_T_Graphics_ListState::look_at_pitch

Offset 0x6.

Definition at line 5671 of file dttr_pcdogs.h.

◆ node_view_matrix

DTTR_PCDOGS_T_Math_Matrix3x3I16 DTTR_PCDOGS_T_Graphics_ListState::node_view_matrix

Native per-node/list-state basis matrix. Offset 0x94.

Definition at line 5689 of file dttr_pcdogs.h.

◆ node_view_matrix_padding

int16_t DTTR_PCDOGS_T_Graphics_ListState::node_view_matrix_padding

Offset 0xA6.

Definition at line 5690 of file dttr_pcdogs.h.

◆ node_view_translation

DTTR_PCDOGS_T_Math_Vec3I32 DTTR_PCDOGS_T_Graphics_ListState::node_view_translation

Offset 0xA8.

Definition at line 5691 of file dttr_pcdogs.h.

◆ orbit_yaw

int16_t DTTR_PCDOGS_T_Graphics_ListState::orbit_yaw

Offset 0x8.

Definition at line 5672 of file dttr_pcdogs.h.

◆ pitch

int16_t DTTR_PCDOGS_T_Graphics_ListState::pitch

Offset 0x2.

Definition at line 5669 of file dttr_pcdogs.h.

◆ post_sorted_callback

void* DTTR_PCDOGS_T_Graphics_ListState::post_sorted_callback

Offset 0xC4.

Definition at line 5696 of file dttr_pcdogs.h.

◆ pre_shadow_callback

void* DTTR_PCDOGS_T_Graphics_ListState::pre_shadow_callback

Offset 0xC8.

Definition at line 5697 of file dttr_pcdogs.h.

◆ projection_near_fp

int32_t DTTR_PCDOGS_T_Graphics_ListState::projection_near_fp

Fixed-point near-plane threshold. Offset 0xB4.

Definition at line 5692 of file dttr_pcdogs.h.

◆ render_actor_ptr

DTTR_PCDOGS_T_Actor_State* DTTR_PCDOGS_T_Graphics_ListState::render_actor_ptr

Offset 0xBC.

Definition at line 5694 of file dttr_pcdogs.h.

◆ render_pass_flags

uint32_t DTTR_PCDOGS_T_Graphics_ListState::render_pass_flags

Offset 0xC0.

Definition at line 5695 of file dttr_pcdogs.h.

◆ roll

int16_t DTTR_PCDOGS_T_Graphics_ListState::roll

Offset 0x4.

Definition at line 5670 of file dttr_pcdogs.h.

◆ screen_half

DTTR_PCDOGS_T_Math_SizeI16 DTTR_PCDOGS_T_Graphics_ListState::screen_half

Projection center/size field. Offset 0x2C.

Definition at line 5678 of file dttr_pcdogs.h.

◆ sorted_bucket_tail

uint32_t DTTR_PCDOGS_T_Graphics_ListState::sorted_bucket_tail

End/tail dword after the 16384 sorted bucket pointers. Offset 0x100D0.

Definition at line 5700 of file dttr_pcdogs.h.

◆ sorted_list_buckets

void* DTTR_PCDOGS_T_Graphics_ListState::sorted_list_buckets[16384]

Offset 0xD0.

Definition at line 5699 of file dttr_pcdogs.h.

◆ sorted_list_head

void* DTTR_PCDOGS_T_Graphics_ListState::sorted_list_head

Offset 0xCC.

Definition at line 5698 of file dttr_pcdogs.h.

◆ target_pos

DTTR_PCDOGS_T_Math_Vec3I32XZY DTTR_PCDOGS_T_Graphics_ListState::target_pos

Offset 0x1C.

Definition at line 5676 of file dttr_pcdogs.h.

◆ view_matrix

DTTR_PCDOGS_T_Math_Matrix3x3I16 DTTR_PCDOGS_T_Graphics_ListState::view_matrix

Native camera/list-state basis matrix, not a projection matrix. Offset 0x30.

Definition at line 5680 of file dttr_pcdogs.h.

◆ view_matrix_padding

int16_t DTTR_PCDOGS_T_Graphics_ListState::view_matrix_padding

Offset 0x42.

Definition at line 5682 of file dttr_pcdogs.h.

◆ yaw

int16_t DTTR_PCDOGS_T_Graphics_ListState::yaw

Offset 0x0.

Definition at line 5668 of file dttr_pcdogs.h.


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