DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
TM2_picture Struct Reference

#include <tim2.hpp>

Public Attributes

char unk_00 [8]
 
u_int image_size
 
u_short header_size
 
u_short clut_colors
 
char unk_10
 
u_char mipmap_count
 
char unk_12
 
u_char image_type
 
u_short image_width
 
u_short image_height
 
char unk_18 [8]
 
u_long tex1
 
char unk_28 [24]
 
u_int mipmap_size [8]
 

Detailed Description

Describes one picture and its mip levels in a TIM2 image.

Definition at line 43 of file tim2.hpp.

Member Data Documentation

◆ unk_00

char TM2_picture::unk_00[8]

Definition at line 44 of file tim2.hpp.

◆ image_size

u_int TM2_picture::image_size

Total byte size of the picture image data.

Definition at line 45 of file tim2.hpp.

◆ header_size

u_short TM2_picture::header_size

Byte size of this picture header.

Definition at line 46 of file tim2.hpp.

◆ clut_colors

u_short TM2_picture::clut_colors

Number of colours stored in the palette.

Definition at line 47 of file tim2.hpp.

◆ unk_10

char TM2_picture::unk_10

Definition at line 48 of file tim2.hpp.

◆ mipmap_count

u_char TM2_picture::mipmap_count

Number of mip levels stored for the picture.

Definition at line 49 of file tim2.hpp.

◆ unk_12

char TM2_picture::unk_12

Definition at line 50 of file tim2.hpp.

◆ image_type

u_char TM2_picture::image_type

TIM2 pixel-storage format.

See also
TIM2_IMAGE_TYPE.

Definition at line 51 of file tim2.hpp.

◆ image_width

u_short TM2_picture::image_width

Base-level width in pixels.

Definition at line 52 of file tim2.hpp.

◆ image_height

u_short TM2_picture::image_height

Base-level height in pixels.

Definition at line 53 of file tim2.hpp.

◆ unk_18

char TM2_picture::unk_18[8]

Definition at line 54 of file tim2.hpp.

◆ tex1

u_long TM2_picture::tex1

GS TEX1 register value used for sampling.

Definition at line 55 of file tim2.hpp.

◆ unk_28

char TM2_picture::unk_28[24]

Definition at line 56 of file tim2.hpp.

◆ mipmap_size

u_int TM2_picture::mipmap_size[8]

Byte size of each stored mip level.

Definition at line 57 of file tim2.hpp.