|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
#include <dttr_pcdogs.h>
Data Fields | |
| uint16_t | flags |
| Offset 0x0. | |
| uint8_t | flags_bytes [2] |
| Offset 0x2. | |
| DTTR_PCDOGS_T_Material_Entry * | material_ptr |
| uint32_t | material_tint |
| DTTR_PCDOGS_T_Material_TextureInfo | texture_info |
| DTTR_PCDOGS_T_PKG_UVCoord | uv_tile_offset |
| Offset 0x10. | |
| uint8_t | texture_info_hi_reserved [2] |
| uint8_t | color_adjust_r |
| RGB adjustment byte read by ComputeVertexColors. Offset 0x14. | |
| uint8_t | color_adjust_g |
| RGB adjustment byte read by ComputeVertexColors. Offset 0x15. | |
| uint8_t | color_adjust_b |
| RGB adjustment byte read by ComputeVertexColors. Offset 0x16. | |
| uint8_t | reserved_17 |
| Offset 0x17. | |
| DTTR_PCDOGS_T_Material_TableEntry * | next_material_entry |
| uint16_t | explicit_uv [4] |
| Offset 0x1C. | |
Definition at line 5551 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Material_TableEntry::color_adjust_b |
RGB adjustment byte read by ComputeVertexColors. Offset 0x16.
Definition at line 5571 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Material_TableEntry::color_adjust_g |
RGB adjustment byte read by ComputeVertexColors. Offset 0x15.
Definition at line 5569 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Material_TableEntry::color_adjust_r |
RGB adjustment byte read by ComputeVertexColors. Offset 0x14.
Definition at line 5567 of file dttr_pcdogs.h.
| uint16_t DTTR_PCDOGS_T_Material_TableEntry::explicit_uv[4] |
Offset 0x1C.
Definition at line 5576 of file dttr_pcdogs.h.
| uint16_t DTTR_PCDOGS_T_Material_TableEntry::flags |
Offset 0x0.
Definition at line 5552 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Material_TableEntry::flags_bytes[2] |
Offset 0x2.
Definition at line 5553 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Material_Entry* DTTR_PCDOGS_T_Material_TableEntry::material_ptr |
Runtime/fixed-up texture descriptor or material entry pointer for this render material record. Offset 0x4.
Definition at line 5555 of file dttr_pcdogs.h.
| uint32_t DTTR_PCDOGS_T_Material_TableEntry::material_tint |
Tint/color word copied into render batches by Graphics_SetPolygonUVs. Offset 0x8.
Definition at line 5557 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Material_TableEntry* DTTR_PCDOGS_T_Material_TableEntry::next_material_entry |
Chained material-table entry pointer fixed up by Material_LoadAndFixup. Offset 0x18.
Definition at line 5574 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Material_TableEntry::reserved_17 |
Offset 0x17.
Definition at line 5572 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Material_TextureInfo DTTR_PCDOGS_T_Material_TableEntry::texture_info |
Texture width/height plus reserved upper bytes copied into render batches. Offset 0xC.
Definition at line 5560 of file dttr_pcdogs.h.
| uint8_t DTTR_PCDOGS_T_Material_TableEntry::texture_info_hi_reserved[2] |
Upper bytes of the packed texture and UV info area. No named read path uses these bits. Offset 0x12.
Definition at line 5563 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_PKG_UVCoord DTTR_PCDOGS_T_Material_TableEntry::uv_tile_offset |
Offset 0x10.
Definition at line 5562 of file dttr_pcdogs.h.