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

Alternate layout for the sprite/UI entry used by sprite-layer runtime data. More...

#include <dttr_pcdogs.h>

Data Fields

uint8_t type
 Offset 0x0.
uint8_t layer_index
 Offset 0x1.
uint16_t control_flags
 Offset 0x2.
DTTR_PCDOGS_T_PKG_SpriteMaterialLayer material_layers [2]
 Offset 0x4.
DTTR_PCDOGS_T_Scene_Nodescene_node_ref
 Offset 0x1C.
DTTR_PCDOGS_T_Math_Vec2I16 base
 Offset 0x20.
DTTR_PCDOGS_T_Math_Vec2I16 offset
 Offset 0x24.
int32_t move_start_time
 Offset 0x28.
int32_t move_duration
 Offset 0x2C.
int32_t move_ease_a
 Offset 0x30.
int32_t move_ease_b
 Offset 0x34.
int32_t pos_base_val
 Offset 0x38.
int32_t pos_delta_val
 Offset 0x3C.
DTTR_PCDOGS_T_Math_Vec2I32 src_scale
 Offset 0x40.
int32_t scale_start_time
 Offset 0x48.
int32_t scale_duration
 Offset 0x4C.
int32_t scale_ease_a
 Offset 0x50.
int32_t scale_ease_b
 Offset 0x54.
uint8_t src_color_r
uint8_t src_color_g
uint8_t src_color_b
uint8_t padding_5b
 Reserved high byte beside source RGB. Offset 0x5B.
int32_t target_color_word
int32_t color_start_time
 Offset 0x60.
int32_t color_duration
 Offset 0x64.
int32_t color_ease_a
 Offset 0x68.
int32_t color_ease_b
 Offset 0x6C.
int32_t render_order
 Offset 0x70.
DTTR_PCDOGS_T_Math_RectI16 clip
 Offset 0x74.
uint8_t link_index
 Offset 0x7C.
uint8_t anchor_code
uint8_t state_flags
 Offset 0x7E.
uint8_t padding_7f
 Offset 0x7F.
uint8_t cur_color_r
uint8_t cur_color_g
uint8_t cur_color_b
uint8_t cur_color_reserved_high
int32_t order_field_84
 Offset 0x84.
int32_t dst_render_order
 Offset 0x88.
int32_t order_start_time
 Offset 0x8C.
int32_t order_duration
 Offset 0x90.
int32_t order_ease_a
 Offset 0x94.
int32_t order_ease_b
 Offset 0x98.
DTTR_PCDOGS_T_Math_Vec2I32 cur_scale
 Offset 0x9C.
DTTR_PCDOGS_T_Math_Vec2I16 screen
 Offset 0xA4.
int16_t frame_counter
 Offset 0xA8.
int16_t padding_aa
 Offset 0xAA.

Detailed Description

Alternate layout for the sprite/UI entry used by sprite-layer runtime data.

Definition at line 5369 of file dttr_pcdogs.h.

Field Documentation

◆ anchor_code

uint8_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::anchor_code

Anchor dispatch selector 1..8 read by UI_UpdateAndRenderSprites. Offset 0x7D.

Definition at line 5404 of file dttr_pcdogs.h.

◆ base

DTTR_PCDOGS_T_Math_Vec2I16 DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::base

Offset 0x20.

Definition at line 5375 of file dttr_pcdogs.h.

◆ clip

DTTR_PCDOGS_T_Math_RectI16 DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::clip

Offset 0x74.

Definition at line 5402 of file dttr_pcdogs.h.

◆ color_duration

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::color_duration

Offset 0x64.

Definition at line 5398 of file dttr_pcdogs.h.

◆ color_ease_a

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::color_ease_a

Offset 0x68.

Definition at line 5399 of file dttr_pcdogs.h.

◆ color_ease_b

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::color_ease_b

Offset 0x6C.

Definition at line 5400 of file dttr_pcdogs.h.

◆ color_start_time

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::color_start_time

Offset 0x60.

Definition at line 5397 of file dttr_pcdogs.h.

◆ control_flags

uint16_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::control_flags

Offset 0x2.

Definition at line 5372 of file dttr_pcdogs.h.

◆ cur_color_b

uint8_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::cur_color_b

Current/fallback render RGB byte, rebuilt into the active color word. Offset 0x82.

Definition at line 5412 of file dttr_pcdogs.h.

◆ cur_color_g

uint8_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::cur_color_g

Current/fallback render RGB byte, rebuilt into the active color word. Offset 0x81.

Definition at line 5410 of file dttr_pcdogs.h.

◆ cur_color_r

uint8_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::cur_color_r

Current/fallback render RGB byte, rebuilt into the active color word. Offset 0x80.

Definition at line 5408 of file dttr_pcdogs.h.

◆ cur_color_reserved_high

uint8_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::cur_color_reserved_high

Copied high byte of the current color word. Offset 0x83.

Definition at line 5414 of file dttr_pcdogs.h.

◆ cur_scale

DTTR_PCDOGS_T_Math_Vec2I32 DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::cur_scale

Offset 0x9C.

Definition at line 5422 of file dttr_pcdogs.h.

◆ dst_render_order

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::dst_render_order

Offset 0x88.

Definition at line 5417 of file dttr_pcdogs.h.

◆ frame_counter

int16_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::frame_counter

Offset 0xA8.

Definition at line 5424 of file dttr_pcdogs.h.

◆ layer_index

uint8_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::layer_index

Offset 0x1.

Definition at line 5371 of file dttr_pcdogs.h.

◆ link_index

uint8_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::link_index

Offset 0x7C.

Definition at line 5403 of file dttr_pcdogs.h.

◆ material_layers

DTTR_PCDOGS_T_PKG_SpriteMaterialLayer DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::material_layers[2]

Offset 0x4.

Definition at line 5373 of file dttr_pcdogs.h.

◆ move_duration

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::move_duration

Offset 0x2C.

Definition at line 5378 of file dttr_pcdogs.h.

◆ move_ease_a

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::move_ease_a

Offset 0x30.

Definition at line 5379 of file dttr_pcdogs.h.

◆ move_ease_b

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::move_ease_b

Offset 0x34.

Definition at line 5380 of file dttr_pcdogs.h.

◆ move_start_time

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::move_start_time

Offset 0x28.

Definition at line 5377 of file dttr_pcdogs.h.

◆ offset

DTTR_PCDOGS_T_Math_Vec2I16 DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::offset

Offset 0x24.

Definition at line 5376 of file dttr_pcdogs.h.

◆ order_duration

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::order_duration

Offset 0x90.

Definition at line 5419 of file dttr_pcdogs.h.

◆ order_ease_a

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::order_ease_a

Offset 0x94.

Definition at line 5420 of file dttr_pcdogs.h.

◆ order_ease_b

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::order_ease_b

Offset 0x98.

Definition at line 5421 of file dttr_pcdogs.h.

◆ order_field_84

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::order_field_84

Offset 0x84.

Definition at line 5416 of file dttr_pcdogs.h.

◆ order_start_time

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::order_start_time

Offset 0x8C.

Definition at line 5418 of file dttr_pcdogs.h.

◆ padding_5b

uint8_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::padding_5b

Reserved high byte beside source RGB. Offset 0x5B.

Definition at line 5394 of file dttr_pcdogs.h.

◆ padding_7f

uint8_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::padding_7f

Offset 0x7F.

Definition at line 5407 of file dttr_pcdogs.h.

◆ padding_aa

int16_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::padding_aa

Offset 0xAA.

Definition at line 5425 of file dttr_pcdogs.h.

◆ pos_base_val

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::pos_base_val

Offset 0x38.

Definition at line 5381 of file dttr_pcdogs.h.

◆ pos_delta_val

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::pos_delta_val

Offset 0x3C.

Definition at line 5382 of file dttr_pcdogs.h.

◆ render_order

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::render_order

Offset 0x70.

Definition at line 5401 of file dttr_pcdogs.h.

◆ scale_duration

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::scale_duration

Offset 0x4C.

Definition at line 5385 of file dttr_pcdogs.h.

◆ scale_ease_a

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::scale_ease_a

Offset 0x50.

Definition at line 5386 of file dttr_pcdogs.h.

◆ scale_ease_b

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::scale_ease_b

Offset 0x54.

Definition at line 5387 of file dttr_pcdogs.h.

◆ scale_start_time

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::scale_start_time

Offset 0x48.

Definition at line 5384 of file dttr_pcdogs.h.

◆ scene_node_ref

DTTR_PCDOGS_T_Scene_Node* DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::scene_node_ref

Offset 0x1C.

Definition at line 5374 of file dttr_pcdogs.h.

◆ screen

DTTR_PCDOGS_T_Math_Vec2I16 DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::screen

Offset 0xA4.

Definition at line 5423 of file dttr_pcdogs.h.

◆ src_color_b

uint8_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::src_color_b

Source RGB byte for color tween, read through the low 24-bit color path. Offset 0x5A.

Definition at line 5392 of file dttr_pcdogs.h.

◆ src_color_g

uint8_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::src_color_g

Source RGB byte for color tween, read through the low 24-bit color path. Offset 0x59.

Definition at line 5390 of file dttr_pcdogs.h.

◆ src_color_r

uint8_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::src_color_r

Source RGB byte for color tween, read through the low 24-bit color path. Offset 0x58.

Definition at line 5388 of file dttr_pcdogs.h.

◆ src_scale

DTTR_PCDOGS_T_Math_Vec2I32 DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::src_scale

Offset 0x40.

Definition at line 5383 of file dttr_pcdogs.h.

◆ state_flags

uint8_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::state_flags

Offset 0x7E.

Definition at line 5406 of file dttr_pcdogs.h.

◆ target_color_word

int32_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::target_color_word

Target/current seed color word, with low 24-bit RGB documented. Offset 0x5C.

Definition at line 5395 of file dttr_pcdogs.h.

◆ type

uint8_t DTTR_PCDOGS_T_PKG_SpriteEntryAltLayout::type

Offset 0x0.

Definition at line 5370 of file dttr_pcdogs.h.


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