u32 ci_img_list_tag CiImgList is the list of index images that are used by the color index texture. Please specify the tags shown below. TAG_CI_IMG_LIST 0x00200000u32 ci_img_list_header_size Specifies the byte size of the CiImgListHeader. u32 ci_img_list_size Specifies the byte size of the CiImgList. u32 ci_img_num Specifies the CiImg number included in CiImgList. u32 ci_img_num_byte Specifies the byte size of each CiImg. CiImg This is the CiImg area. One color index image is stored here.
u32 ci_img_tag Specifies the tags of CiImg. Please specify the tags shown below. TAG_CI_IMG 0x00200100u32 ci_img_header_size Specifies the byte size of the CiImgheader. u32 this_ci_img_index Specifies the index number of this CiImg. u32 ci_img_size Specifies the byte size of the CiImg. u32 ci_img_name_index Specifies the index number of the NameList that indicates the CiImg name. u32 ci_img_width Specifies the CiImg width. u32 ci_img_height Specifies the CiImg height. u32 ci_img_pixel_depth Specifies the bit size per pixel of CiImg. The following flags have been defined: NIFF2_CI_PIXEL_DEPTH_4 0x00000004 NIFF2_CI_PIXEL_DEPTH_8 0x00000008u32 reserved Please set it to 0x0. u32 pixel_index_array This area specifies which color of the palette is used for each pixel. The pixel data is specified in order from the bottom-left of the image data.
In the case of 4bitCI, pixel data is stored in pixel_index_array using the big endian method, in 8-pixel units, in order from the bottom-left of the image data.
In the case of 8bitCI, pixel data is stored in pixel_index_array using the big endian method, in 4-pixel units, in order from the bottom-left of the image data.
In either case, if the last data segment is less than 32-bits, the remainder is filled with 0x0.
pixel_index_array_num is the total number of pixel_index_array that are created by the above processes.