2#ifndef PCDOGS_MATERIAL_TYPES_H
3#define PCDOGS_MATERIAL_TYPES_H
96_Static_assert(
sizeof(
struct Material_Node) == 16,
"Material_Node size");
128_Static_assert(
sizeof(
struct Material_NodeRef) == 20,
"Material_NodeRef size");
232_Static_assert(
sizeof(
struct Material_Entry) == 20,
"Material_Entry size");
293_Static_assert(
sizeof(
struct Material_State) == 52,
"Material_State size");
uint32_t Animation_PackedControllerState
struct MaterialControllerSlot ** controller_slot_array
Animation_PackedControllerState packed_state
IDirectDrawSurface7 * quadrants[0x4]
uint8_t transition_frames
struct Math_ColorRGB8 start_color
struct Math_ColorRGB8 end_color
struct Math_SizeU8 dimensions_minus_1
struct Math_SizeU8 dimensions_minus_1
struct Math_SizeU16 dimensions
uint32_t material_node_ref_packed
struct Material_FrameData ** frame_ptr_array
uint32_t level_base_address
uint32_t actual_dimensions
uint8_t frame_count_minus_1
struct Math_ColorRGB8 base_color
uint32_t material_index_or_ptr
uint32_t frame_table_offset_or_ptr
uint32_t animation_offset_or_ptr
IDirectDrawSurface7 * texture_surface
struct Material_TableEntry * material
struct Material_RuntimeDescriptor ** frame_table
struct Material_SectionHeader * material_section
struct Material_TableEntry * material_table_entry
struct Material_FrameSet * frame_set
uint32_t average_transparent_color
IDirectDrawSurface7 * texture_handles[0x19]
struct Math_SizeU8 dimensions_minus_1
struct Material_TableEntry * material_entries
struct Material_Node * node_table
uint32_t anim_record_count
int16_t material_entry_count
struct Math_SizeU8 actual_dimensions
IDirectDrawSurface7 * backface_handles[0x4]
IDirectDrawSurface7 * texture_handles[0x4]
struct Material_TextureInfo texture_info
uint8_t texture_info_hi_reserved[0x2]
struct Math_UV8 uv_tile_offset
struct Math_UV8 explicit_uvs[0x4]
struct Math_ColorRGB8 color_adjust
int32_t next_material_index_1based
uint32_t section_relative_texture_descriptor_offset
uint8_t pixel_format_flags
struct Math_UV8 uv_tile_offset
struct Material_TextureInfo texture_info
struct Math_UV8 explicit_uvs[0x4]
struct Material_TableEntry * next_material_entry
uint8_t uv_scroll_u_factor_minus_one
uint8_t uv_scroll_v_factor_minus_one
struct Material_RuntimeDescriptor * texture_descriptor
uint32_t packed_uv_scroll
struct Math_ColorRGBA8 tint_channels
struct Math_ColorRGB8 color_adjust
uint8_t texture_reference_flags
uint32_t runtime_texture_handle_slots[0x19]
uint32_t texture_entry_relative_pixel_data_offset
uint32_t average_transparent_color
uint32_t texture_entry_relative_palette_offset
struct Math_SizeU8 dimensions_minus_1
struct Animation_FrameData * anim_frame_data
struct Material_Entry * material_entry_ptr
struct Math_SizeI16 dimensions
IDirectDrawSurface7 * texture_data
struct Math_SizeU8 dimensions