kiyadou1.h
10.1 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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
/* 00_tuno4_bmp */
unsigned char kiyadou1_mdl_tex0[] = {
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 kiyadou1_mdl_lut0[] = {
0xffff,
};
static Gfx kiyadou1_mdl_aligner0[] = { gsSPEndDisplayList() };
/* 01_kara_bmp */
unsigned char kiyadou1_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 kiyadou1_mdl_lut1[] = {
0x0331,
};
static Gfx kiyadou1_mdl_aligner1[] = { gsSPEndDisplayList() };
/* 02_hara_bmp */
unsigned char kiyadou1_mdl_tex2[] = {
0x01, 0x23, 0x01, 0x23, 0x01, 0x23, 0x01, 0x23,
0x01, 0x23, 0x01, 0x23, 0x01, 0x23, 0x01, 0x23,
0x00, 0x14, 0x00, 0x14, 0x00, 0x14, 0x00, 0x14,
0x00, 0x14, 0x00, 0x14, 0x00, 0x14, 0x00, 0x14,
0x01, 0x23, 0x01, 0x23, 0x01, 0x23, 0x01, 0x23,
0x01, 0x23, 0x01, 0x23, 0x01, 0x23, 0x01, 0x23,
0x00, 0x14, 0x00, 0x14, 0x00, 0x14, 0x00, 0x14,
0x00, 0x14, 0x00, 0x14, 0x00, 0x14, 0x00, 0x14,
0x01, 0x23, 0x01, 0x23, 0x01, 0x23, 0x01, 0x23,
0x01, 0x23, 0x01, 0x23, 0x01, 0x23, 0x01, 0x23,
0x00, 0x14, 0x00, 0x14, 0x00, 0x14, 0x00, 0x14,
0x00, 0x14, 0x00, 0x14, 0x00, 0x14, 0x00, 0x14,
0x01, 0x23, 0x01, 0x23, 0x01, 0x23, 0x01, 0x23,
0x01, 0x23, 0x01, 0x23, 0x01, 0x23, 0x01, 0x23,
0x00, 0x14, 0x00, 0x14, 0x00, 0x14, 0x00, 0x14,
0x00, 0x14, 0x00, 0x14, 0x00, 0x14, 0x00, 0x14,
};
unsigned short kiyadou1_mdl_lut2[] = {
0xbe9b, 0x9627, 0xd6e7, 0x5bc1, 0x5d5b,
};
static Gfx kiyadou1_mdl_aligner2[] = { gsSPEndDisplayList() };
Vtx kiyadou1_mdl_vtx0[] = {
{ -11, 8, -17, 0, -5 << 6, 10 << 6, -68, 57, -90, 255 }, /* 0 */
{ -14, 12, 0, 0, -7 << 6, 13 << 6, -97, 80, 14, 255 }, /* 1 */
{ -12, 17, 0, 0, -6 << 6, 17 << 6, -95, 84, 3, 255 }, /* 2 */
{ -10, 14, -14, 0, -4 << 6, 15 << 6, -62, 80, -76, 255 }, /* 3 */
{ 0, 6, -19, 0, 4 << 6, 8 << 6, 2, 68, -107, 255 }, /* 4 */
{ 0, 21, -10, 0, 3 << 6, 20 << 6, 0, 89, -90, 255 }, /* 5 */
{ 0, 16, 6, 0, 4 << 6, 16 << 6, 0, 107, 68, 255 }, /* 6 */
{ 0, 27, 0, 0, 4 << 6, 25 << 6, -1, 122, 36, 255 }, /* 7 */
{ 14, 12, 0, 0, 15 << 6, 13 << 6, 101, 75, 19, 255 }, /* 8 */
{ 13, 17, 0, 0, 14 << 6, 17 << 6, 101, 76, 11, 255 }, /* 9 */
{ 11, 8, -17, 0, 13 << 6, 10 << 6, 64, 58, -93, 255 }, /* 10 */
{ 10, 14, -14, 0, 12 << 6, 15 << 6, 60, 81, -77, 255 }, /* 11 */
{ -11, 10, 17, 0, -10 << 6, 12 << 6, -61, 83, 74, 255 }, /* 12 */
{ -14, 12, 0, 0, 4 << 6, 13 << 6, -97, 80, 14, 255 }, /* 13 */
{ -22, -1, 0, 0, 4 << 6, 2 << 6, -126, -15, -1, 255 }, /* 14 */
{ -18, -1, 12, 0, -6 << 6, 2 << 6, -105, -14, 70, 255 }, /* 15 */
{ 0, 16, 12, 0, -6 << 6, 16 << 6, 0, 123, 33, 255 }, /* 16 */
{ 0, 16, 6, 0, -1 << 6, 16 << 6, 0, 107, 68, 255 }, /* 17 */
{ -11, 8, -17, 0, 18 << 6, 10 << 6, -68, 57, -90, 255 }, /* 18 */
{ -18, -1, -13, 0, 14 << 6, 2 << 6, -106, -12, -68, 255 }, /* 19 */
{ 0, 1, 21, 0, -13 << 6, 5 << 6, 0, -1, 127, 255 }, /* 20 */
{ -11, -7, 17, 0, -10 << 6, -2 << 6, -56, -78, 82, 255 }, /* 21 */
{ 11, 10, 17, 0, -10 << 6, 12 << 6, 61, 83, 74, 255 }, /* 22 */
{ 14, 12, 0, 0, 4 << 6, 13 << 6, 101, 75, 19, 255 }, /* 23 */
{ 0, 1, -22, 0, 21 << 6, 5 << 6, -1, 2, -126, 255 }, /* 24 */
{ 0, 6, -19, 0, 19 << 6, 8 << 6, 2, 68, -107, 255 }, /* 25 */
{ 11, 8, -17, 0, 18 << 6, 10 << 6, 64, 58, -93, 255 }, /* 26 */
{ -11, -7, -17, 0, 18 << 6, -2 << 6, -56, -81, -79, 255 }, /* 27 */
{ -14, -9, 0, 0, 4 << 6, -4 << 6, -71, -105, 1, 255 }, /* 28 */
{ -22, -1, 0, 0, 4 << 6, 2 << 6, -126, -15, -1, 255 }, /* 29 */
{ -18, -1, -13, 0, 14 << 6, 2 << 6, -106, -12, -68, 255 }, /* 30 */
{ -11, -7, -17, 0, 18 << 6, -2 << 6, -56, -81, -79, 255 }, /* 31 */
{ -11, -7, 17, 0, -10 << 6, -2 << 6, -56, -78, 82, 255 }, /* 32 */
{ -18, -1, 12, 0, -6 << 6, 2 << 6, -105, -14, 70, 255 }, /* 33 */
{ 19, -1, 12, 0, -6 << 6, 2 << 6, 104, -18, 70, 255 }, /* 34 */
{ 11, 10, 17, 0, -10 << 6, 12 << 6, 61, 83, 74, 255 }, /* 35 */
{ 0, 1, 21, 0, -13 << 6, 5 << 6, 0, -1, 127, 255 }, /* 36 */
{ 11, -7, 17, 0, -10 << 6, -2 << 6, 56, -79, 81, 255 }, /* 37 */
{ 23, -1, 0, 0, 4 << 6, 2 << 6, 126, -16, -2, 255 }, /* 38 */
{ 14, 12, 0, 0, 4 << 6, 13 << 6, 101, 75, 19, 255 }, /* 39 */
{ 19, -1, -13, 0, 14 << 6, 2 << 6, 101, -9, -76, 255 }, /* 40 */
{ 11, 8, -17, 0, 18 << 6, 10 << 6, 64, 58, -93, 255 }, /* 41 */
{ 11, -7, -17, 0, 18 << 6, -2 << 6, 57, -78, -81, 255 }, /* 42 */
{ 0, 1, -22, 0, 21 << 6, 5 << 6, -1, 2, -126, 255 }, /* 43 */
{ 14, -9, 0, 0, 4 << 6, -4 << 6, 71, -105, 0, 255 }, /* 44 */
{ 23, -1, 0, 0, 4 << 6, 2 << 6, 126, -16, -2, 255 }, /* 45 */
{ 19, -1, 12, 0, -6 << 6, 2 << 6, 104, -18, 70, 255 }, /* 46 */
{ 11, -7, 17, 0, -10 << 6, -2 << 6, 56, -79, 81, 255 }, /* 47 */
{ 11, -7, -17, 0, 18 << 6, -2 << 6, 57, -78, -81, 255 }, /* 48 */
{ 19, -1, -13, 0, 14 << 6, 2 << 6, 101, -9, -76, 255 }, /* 49 */
{ 11, -7, 17, 0, -10 << 6, -2 << 6, 56, -79, 81, 255 }, /* 50 */
{ 0, 1, 21, 0, -13 << 6, 5 << 6, 0, -1, 127, 255 }, /* 51 */
{ -11, -7, 17, 0, -10 << 6, -2 << 6, -56, -78, 82, 255 }, /* 52 */
{ 0, -13, 12, 0, -6 << 6, -6 << 6, 3, -110, 62, 255 }, /* 53 */
{ 0, -13, -13, 0, 14 << 6, -6 << 6, 2, -113, -57, 255 }, /* 54 */
{ -11, -7, -17, 0, 18 << 6, -2 << 6, -56, -81, -79, 255 }, /* 55 */
{ 0, 1, -22, 0, 21 << 6, 5 << 6, -1, 2, -126, 255 }, /* 56 */
{ 11, -7, -17, 0, 18 << 6, -2 << 6, 57, -78, -81, 255 }, /* 57 */
{ 0, -16, 0, 0, 4 << 6, -9 << 6, 0, -127, 0, 255 }, /* 58 */
{ -14, -9, 0, 0, 4 << 6, -4 << 6, -71, -105, 1, 255 }, /* 59 */
{ 14, -9, 0, 0, 4 << 6, -4 << 6, 71, -105, 0, 255 }, /* 60 */
{ -22, 27, -22, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 61 */
{ -22, 27, 21, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 62 */
{ 23, 27, 21, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 63 */
{ 23, 27, -22, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 64 */
{ -22, -16, -22, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 65 */
{ -22, -16, 21, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 66 */
{ 23, -16, 21, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 67 */
{ 23, -16, -22, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 68 */
};
Gfx kiyadou1_mdl_model0[] = {
gsSPVertex(kiyadou1_mdl_vtx0 + 61, 8, 0),
gsSPCullDisplayList(0, 7),
gsSPTexture(0xffff, 0xffff, 0, G_TX_RENDERTILE, G_ON),
gsDPSetCombineMode(G_CC_MODULATERGBDECALA, G_CC_MODULATERGBDECALA),
gsSPLightColor(LIGHT_2, 0x7ca88f00),
gsSPLightColor(LIGHT_3, 0x3e544700),
gsSPVertex(kiyadou1_mdl_vtx0 + 0, 12, 0),
gsDPSetTextureLUT(G_TT_RGBA16),
gsDPLoadTLUT_pal16(0, kiyadou1_mdl_lut0),
gsDPLoadTextureBlock_4b(kiyadou1_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(4, 0, 3, 0),
gsSP1Triangle(3, 5, 4, 0),
gsSP1Triangle(1, 6, 7, 0),
gsSP1Triangle(7, 2, 1, 0),
gsSP1Triangle(6, 8, 9, 0),
gsSP1Triangle(9, 7, 6, 0),
gsSP1Triangle(10, 4, 5, 0),
gsSP1Triangle(5, 11, 10, 0),
gsSP1Triangle(8, 10, 11, 0),
gsSP1Triangle(11, 9, 8, 0),
gsSP1Triangle(7, 5, 3, 0),
gsSP1Triangle(3, 2, 7, 0),
gsSP1Triangle(11, 5, 7, 0),
gsSP1Triangle(7, 9, 11, 0),
gsSPLightColor(LIGHT_2, 0x34b2c800),
gsSPLightColor(LIGHT_3, 0x1a596400),
gsSPVertex(kiyadou1_mdl_vtx0 + 12, 16, 0),
gsDPLoadTLUT_pal16(0, kiyadou1_mdl_lut1),
gsDPLoadTextureBlock_4b(kiyadou1_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(4, 5, 1, 0),
gsSP1Triangle(1, 0, 4, 0),
gsSP1Triangle(1, 6, 7, 0),
gsSP1Triangle(7, 2, 1, 0),
gsSP1Triangle(8, 0, 3, 0),
gsSP1Triangle(3, 9, 8, 0),
gsSP1Triangle(10, 4, 0, 0),
gsSP1Triangle(0, 8, 10, 0),
gsSP1Triangle(11, 5, 4, 0),
gsSP1Triangle(4, 10, 11, 0),
gsSP1Triangle(12, 6, 13, 0),
gsSP1Triangle(13, 14, 12, 0),
gsSP1Triangle(15, 7, 6, 0),
gsSP1Triangle(6, 12, 15, 0),
gsSPVertex(kiyadou1_mdl_vtx0 + 28, 16, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(2, 3, 0, 0),
gsSP1Triangle(4, 5, 1, 0),
gsSP1Triangle(1, 0, 4, 0),
gsSP1Triangle(6, 7, 8, 0),
gsSP1Triangle(8, 9, 6, 0),
gsSP1Triangle(10, 11, 7, 0),
gsSP1Triangle(7, 6, 10, 0),
gsSP1Triangle(12, 13, 11, 0),
gsSP1Triangle(11, 10, 12, 0),
gsSP1Triangle(14, 15, 13, 0),
gsSP1Triangle(13, 12, 14, 0),
gsSPVertex(kiyadou1_mdl_vtx0 + 44, 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, 0x928dc800),
gsSPLightColor(LIGHT_3, 0x49466400),
gsSPVertex(kiyadou1_mdl_vtx0 + 50, 11, 0),
gsDPLoadTLUT_pal16(0, kiyadou1_mdl_lut2),
gsDPLoadTextureBlock_4b(kiyadou1_mdl_tex2,
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(4, 5, 6, 0),
gsSP1Triangle(6, 7, 4, 0),
gsSP1Triangle(8, 9, 5, 0),
gsSP1Triangle(5, 4, 8, 0),
gsSP1Triangle(3, 2, 9, 0),
gsSP1Triangle(9, 8, 3, 0),
gsSP1Triangle(8, 10, 0, 0),
gsSP1Triangle(0, 3, 8, 0),
gsSP1Triangle(4, 7, 10, 0),
gsSP1Triangle(10, 8, 4, 0),
gsSPEndDisplayList(),
};