DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
tim2.hpp
1#pragma once
2
11#include "common.h"
12
16// clang-format off
17enum TIM2_IMAGE_TYPE {
18 TIM2_RGB16 = 1,
19 TIM2_RGB24 = 2,
20 TIM2_RGB32 = 3,
21 TIM2_IDTEX4 = 4,
22 TIM2_IDTEX8 = 5,
23};
24
25// clang-format on
26
33struct TM2_head {
34 char unk_00[35];
35 u_char image_type;
36 u_short image_width;
37 u_short image_height;
38};
39
44 char unk_00[8];
45 u_int image_size;
46 u_short header_size;
47 u_short clut_colors;
48 char unk_10;
49 u_char mipmap_count;
50 char unk_12;
51 u_char image_type;
52 u_short image_width;
53 u_short image_height;
54 char unk_18[8];
55 u_long tex1;
56 char unk_28[24];
57 u_int mipmap_size[8];
58};
u_char image_type
Definition tim2.hpp:35
u_short image_width
Definition tim2.hpp:36
u_short image_height
Definition tim2.hpp:37
u_short image_width
Definition tim2.hpp:52
u_short clut_colors
Definition tim2.hpp:47
u_short header_size
Definition tim2.hpp:46
u_char mipmap_count
Definition tim2.hpp:49
u_int mipmap_size[8]
Definition tim2.hpp:57
u_short image_height
Definition tim2.hpp:53
u_long tex1
Definition tim2.hpp:55
u_int image_size
Definition tim2.hpp:45
u_char image_type
Definition tim2.hpp:51