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

#include <dttr_pcdogs.h>

Data Fields

uint8_t controller_type
 Value 1 identifies vertex-color controllers. Offset 0x0.
uint8_t flags
uint16_t signal_id
int32_t sample_time_q12
uint32_t playback_limit_q12
uint8_t keyframe_count
 Offset 0xC.
uint8_t reserved_0d
int16_t vertex_count
 Offset 0xE.
DTTR_PCDOGS_T_Animation_VertexColorTargettarget_array
DTTR_PCDOGS_T_Animation_VertexColorKeyframekeyframe_array

Detailed Description

Definition at line 1027 of file dttr_pcdogs.h.

Field Documentation

◆ controller_type

uint8_t DTTR_PCDOGS_T_Animation_VertexColorController::controller_type

Value 1 identifies vertex-color controllers. Offset 0x0.

Definition at line 1028 of file dttr_pcdogs.h.

◆ flags

uint8_t DTTR_PCDOGS_T_Animation_VertexColorController::flags

Bit 0x80 marks dirty/pending dispatch; low 3 bits select timing mode. Offset 0x1.

Definition at line 1029 of file dttr_pcdogs.h.

◆ keyframe_array

DTTR_PCDOGS_T_Animation_VertexColorKeyframe* DTTR_PCDOGS_T_Animation_VertexColorController::keyframe_array

Signed RGB delta keyframe array, sampled by Animation_ProcessVertexColor. Offset 0x14.

Definition at line 1045 of file dttr_pcdogs.h.

◆ keyframe_count

uint8_t DTTR_PCDOGS_T_Animation_VertexColorController::keyframe_count

Offset 0xC.

Definition at line 1037 of file dttr_pcdogs.h.

◆ playback_limit_q12

uint32_t DTTR_PCDOGS_T_Animation_VertexColorController::playback_limit_q12

Q12 playback bound for sample_time_q12, used for clamping or wrapping. Offset 0x8.

Definition at line 1035 of file dttr_pcdogs.h.

◆ reserved_0d

uint8_t DTTR_PCDOGS_T_Animation_VertexColorController::reserved_0d

Alignment byte between keyframe_count and vertex_count; no documented semantic use in vertex-color paths. Offset 0xD.

Definition at line 1038 of file dttr_pcdogs.h.

◆ sample_time_q12

int32_t DTTR_PCDOGS_T_Animation_VertexColorController::sample_time_q12

Current Q12 playback sample time, advanced by mesh-command updates. Offset 0x4.

Definition at line 1033 of file dttr_pcdogs.h.

◆ signal_id

uint16_t DTTR_PCDOGS_T_Animation_VertexColorController::signal_id

Signal id polled by Graphics_UpdateMeshCommandFlags, then used for controller updates. Offset 0x2.

Definition at line 1031 of file dttr_pcdogs.h.

◆ target_array

DTTR_PCDOGS_T_Animation_VertexColorTarget* DTTR_PCDOGS_T_Animation_VertexColorController::target_array

Vertex-color target array with vertex index, frame position, and base RGB bytes. Offset 0x10.

Definition at line 1042 of file dttr_pcdogs.h.

◆ vertex_count

int16_t DTTR_PCDOGS_T_Animation_VertexColorController::vertex_count

Offset 0xE.

Definition at line 1040 of file dttr_pcdogs.h.


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