kiyadou2.h
7.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
/* 00_hara1_bmp */
unsigned char kiyadou2_mdl_tex0[] = {
0x00, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00,
0x00, 0x01, 0x22, 0x22, 0x22, 0x22, 0x10, 0x00,
0x00, 0x12, 0x23, 0x33, 0x33, 0x32, 0x21, 0x00,
0x01, 0x22, 0x32, 0x22, 0x22, 0x23, 0x22, 0x10,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x32, 0x10,
0x01, 0x23, 0x22, 0x22, 0x22, 0x22, 0x32, 0x10,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x32, 0x10,
0x01, 0x23, 0x22, 0x22, 0x22, 0x22, 0x32, 0x10,
0x01, 0x23, 0x22, 0x22, 0x22, 0x22, 0x32, 0x10,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x32, 0x10,
0x01, 0x23, 0x22, 0x22, 0x22, 0x22, 0x32, 0x10,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x32, 0x10,
0x01, 0x22, 0x32, 0x22, 0x22, 0x23, 0x22, 0x10,
0x00, 0x12, 0x23, 0x33, 0x33, 0x32, 0x21, 0x00,
0x00, 0x01, 0x22, 0x22, 0x22, 0x22, 0x10, 0x00,
0x00, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00,
};
unsigned short kiyadou2_mdl_lut0[] = {
0xf3d9, 0xcbc9, 0xecc1, 0xacc1,
};
/* 01_beta1_bmp */
unsigned char kiyadou2_mdl_tex1[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};
unsigned short kiyadou2_mdl_lut1[] = {
0xf3d9,
};
static Gfx kiyadou2_mdl_aligner0[] = { gsSPEndDisplayList() };
Vtx kiyadou2_mdl_vtx0[] = {
{ -14, -1, 18, 0, 1 << 6, 0 << 6, -88, -25, 87, 255 }, /* 0 */
{ -19, -4, 0, 0, 0 << 6, 4 << 6, -123, -31, 3, 255 }, /* 1 */
{ -14, -9, 0, 0, 1 << 6, 4 << 6, -67, -107, 2, 255 }, /* 2 */
{ -11, -8, 12, 0, 1 << 6, 2 << 6, -51, -102, 55, 255 }, /* 3 */
{ -14, -4, -13, 0, 1 << 6, 7 << 6, -90, -35, -81, 255 }, /* 4 */
{ -11, -8, -11, 0, 1 << 6, 6 << 6, -59, -98, -53, 255 }, /* 5 */
{ 0, 0, 23, 0, 4 << 6, 0 << 6, 1, -13, 126, 255 }, /* 6 */
{ 0, -10, 15, 0, 4 << 6, 1 << 6, 1, -108, 66, 255 }, /* 7 */
{ 0, -10, -14, 0, 4 << 6, 7 << 6, 0, -103, -72, 255 }, /* 8 */
{ 0, -1, -18, 0, 4 << 6, 8 << 6, 0, -22, -124, 255 }, /* 9 */
{ 0, -14, 0, 0, 4 << 6, 4 << 6, 0, -126, 0, 255 }, /* 10 */
{ 14, -1, 18, 0, 6 << 6, 0 << 6, 89, -20, 88, 255 }, /* 11 */
{ 12, -8, 12, 0, 6 << 6, 2 << 6, 54, -98, 60, 255 }, /* 12 */
{ 12, -8, -11, 0, 6 << 6, 6 << 6, 61, -91, -63, 255 }, /* 13 */
{ 14, -4, -13, 0, 6 << 6, 7 << 6, 91, -24, -85, 255 }, /* 14 */
{ 14, -9, 0, 0, 6 << 6, 4 << 6, 68, -107, 2, 255 }, /* 15 */
{ 14, -9, 0, 0, 6 << 6, 4 << 6, 68, -107, 2, 255 }, /* 16 */
{ 19, -4, 0, 0, 8 << 6, 4 << 6, 123, -31, 3, 255 }, /* 17 */
{ 14, -1, 18, 0, 6 << 6, 0 << 6, 89, -20, 88, 255 }, /* 18 */
{ 12, -8, 12, 0, 6 << 6, 2 << 6, 54, -98, 60, 255 }, /* 19 */
{ 12, -8, -11, 0, 6 << 6, 6 << 6, 61, -91, -63, 255 }, /* 20 */
{ 14, -4, -13, 0, 6 << 6, 7 << 6, 91, -24, -85, 255 }, /* 21 */
{ -11, 12, 11, 0, -5 << 6, 13 << 6, -74, 78, 66, 255 }, /* 22 */
{ -14, 15, 0, 0, -7 << 6, 15 << 6, -94, 85, 3, 255 }, /* 23 */
{ -19, -4, 0, 0, -11 << 6, 0 << 6, -123, -31, 3, 255 }, /* 24 */
{ -14, -1, 18, 0, -7 << 6, 2 << 6, -88, -25, 87, 255 }, /* 25 */
{ -11, 13, -11, 0, -5 << 6, 14 << 6, -83, 65, -70, 255 }, /* 26 */
{ -14, -4, -13, 0, -7 << 6, 0 << 6, -90, -35, -81, 255 }, /* 27 */
{ 0, 16, 14, 0, 4 << 6, 16 << 6, 0, 99, 79, 255 }, /* 28 */
{ 0, 0, 23, 0, 4 << 6, 3 << 6, 1, -13, 126, 255 }, /* 29 */
{ 0, 20, 0, 0, 4 << 6, 19 << 6, 0, 127, 2, 255 }, /* 30 */
{ 0, 16, -14, 0, 4 << 6, 16 << 6, 1, 89, -90, 255 }, /* 31 */
{ 0, -1, -18, 0, 4 << 6, 2 << 6, 0, -22, -124, 255 }, /* 32 */
{ 12, 12, 11, 0, 13 << 6, 13 << 6, 75, 79, 65, 255 }, /* 33 */
{ 14, -1, 18, 0, 15 << 6, 2 << 6, 89, -20, 88, 255 }, /* 34 */
{ 14, 15, 0, 0, 15 << 6, 15 << 6, 94, 85, 2, 255 }, /* 35 */
{ 12, 13, -11, 0, 13 << 6, 14 << 6, 82, 67, -69, 255 }, /* 36 */
{ 14, -4, -13, 0, 15 << 6, 0 << 6, 91, -24, -85, 255 }, /* 37 */
{ 19, -4, 0, 0, 19 << 6, 0 << 6, 123, -31, 3, 255 }, /* 38 */
{ 14, 15, 0, 0, 15 << 6, 15 << 6, 94, 85, 2, 255 }, /* 39 */
{ 12, 12, 11, 0, 13 << 6, 13 << 6, 75, 79, 65, 255 }, /* 40 */
{ 14, -1, 18, 0, 15 << 6, 2 << 6, 89, -20, 88, 255 }, /* 41 */
{ 14, -4, -13, 0, 15 << 6, 0 << 6, 91, -24, -85, 255 }, /* 42 */
{ 12, 13, -11, 0, 13 << 6, 14 << 6, 82, 67, -69, 255 }, /* 43 */
{ -19, 20, -18, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 44 */
{ -19, 20, 23, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 45 */
{ 19, 20, 23, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 46 */
{ 19, 20, -18, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 47 */
{ -19, -14, -18, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 48 */
{ -19, -14, 23, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 49 */
{ 19, -14, 23, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 50 */
{ 19, -14, -18, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 51 */
};
Gfx kiyadou2_mdl_model0[] = {
gsSPVertex(kiyadou2_mdl_vtx0 + 44, 8, 0),
gsSPCullDisplayList(0, 7),
gsSPTexture(0xffff, 0xffff, 0, G_TX_RENDERTILE, G_ON),
gsDPSetCombineMode(G_CC_MODULATERGBDECALA, G_CC_MODULATERGBDECALA),
gsSPLightColor(LIGHT_2, 0xa4a0a900),
gsSPLightColor(LIGHT_3, 0x52505400),
gsSPVertex(kiyadou2_mdl_vtx0 + 0, 16, 0),
gsDPSetTextureLUT(G_TT_RGBA16),
gsDPLoadTLUT_pal16(0, kiyadou2_mdl_lut0),
gsDPLoadTextureBlock_4b(kiyadou2_mdl_tex0,
G_IM_FMT_CI,
16, 16,
0, G_TX_WRAP, G_TX_WRAP,
4, 4, G_TX_NOLOD, G_TX_NOLOD),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(2, 3, 0, 0),
gsSP1Triangle(1, 4, 5, 0),
gsSP1Triangle(5, 2, 1, 0),
gsSP1Triangle(6, 0, 3, 0),
gsSP1Triangle(3, 7, 6, 0),
gsSP1Triangle(8, 5, 4, 0),
gsSP1Triangle(4, 9, 8, 0),
gsSP1Triangle(10, 2, 5, 0),
gsSP1Triangle(5, 8, 10, 0),
gsSP1Triangle(7, 3, 2, 0),
gsSP1Triangle(2, 10, 7, 0),
gsSP1Triangle(11, 6, 7, 0),
gsSP1Triangle(7, 12, 11, 0),
gsSP1Triangle(13, 8, 9, 0),
gsSP1Triangle(9, 14, 13, 0),
gsSP1Triangle(15, 10, 8, 0),
gsSP1Triangle(8, 13, 15, 0),
gsSP1Triangle(12, 7, 10, 0),
gsSP1Triangle(10, 15, 12, 0),
gsSPVertex(kiyadou2_mdl_vtx0 + 16, 6, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(2, 3, 0, 0),
gsSP1Triangle(4, 5, 1, 0),
gsSP1Triangle(1, 0, 4, 0),
gsSPLightColor(LIGHT_2, 0xa483a900),
gsSPLightColor(LIGHT_3, 0x52415400),
gsSPVertex(kiyadou2_mdl_vtx0 + 22, 16, 0),
gsDPLoadTLUT_pal16(0, kiyadou2_mdl_lut1),
gsDPLoadTextureBlock_4b(kiyadou2_mdl_tex1,
G_IM_FMT_CI,
16, 16,
0, G_TX_WRAP, G_TX_WRAP,
4, 4, G_TX_NOLOD, G_TX_NOLOD),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(2, 3, 0, 0),
gsSP1Triangle(1, 4, 5, 0),
gsSP1Triangle(5, 2, 1, 0),
gsSP1Triangle(6, 0, 3, 0),
gsSP1Triangle(3, 7, 6, 0),
gsSP1Triangle(8, 1, 0, 0),
gsSP1Triangle(0, 6, 8, 0),
gsSP1Triangle(9, 4, 1, 0),
gsSP1Triangle(1, 8, 9, 0),
gsSP1Triangle(10, 5, 4, 0),
gsSP1Triangle(4, 9, 10, 0),
gsSP1Triangle(11, 6, 7, 0),
gsSP1Triangle(7, 12, 11, 0),
gsSP1Triangle(13, 8, 6, 0),
gsSP1Triangle(6, 11, 13, 0),
gsSP1Triangle(14, 9, 8, 0),
gsSP1Triangle(8, 13, 14, 0),
gsSP1Triangle(15, 10, 9, 0),
gsSP1Triangle(9, 14, 15, 0),
gsSPVertex(kiyadou2_mdl_vtx0 + 38, 6, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(2, 3, 0, 0),
gsSP1Triangle(4, 5, 1, 0),
gsSP1Triangle(1, 0, 4, 0),
gsSPEndDisplayList(),
};