saku.h
5.72 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
/* 00_saku_bmp */
unsigned char saku_mdl_tex0[] = {
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x40,
0x01, 0x52, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22,
0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x25, 0x40,
0x66, 0x51, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11,
0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x15, 0x66,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11,
0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11,
0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77,
0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77,
};
unsigned short saku_mdl_lut0[] = {
0xa3d3, 0xc4db, 0x6a49, 0x0000, 0x8b0d, 0x7315, 0x520f, 0x9b01,
};
Vtx saku_mdl_vtx0[] = {
{ -1650, -62, -3300, 0, 228 << 6, 0 << 6, 127, 0, 0, 255 }, /* 0 */
{ -1650, 63, -3300, 0, 228 << 6, 16 << 6, 127, 0, 0, 255 }, /* 1 */
{ -1650, 63, 0, 0, -212 << 6, 16 << 6, 127, 0, 0, 255 }, /* 2 */
{ -1650, -62, 0, 0, -212 << 6, 0 << 6, 127, 0, 0, 255 }, /* 3 */
{ 1650, 63, 0, 0, -212 << 6, 16 << 6, -127, 0, 0, 255 }, /* 4 */
{ 1650, 63, -3300, 0, 228 << 6, 16 << 6, -127, 0, 0, 255 }, /* 5 */
{ 1650, -62, -3300, 0, 228 << 6, 0 << 6, -127, 0, 0, 255 }, /* 6 */
{ 1650, -62, 0, 0, -212 << 6, 0 << 6, -127, 0, 0, 255 }, /* 7 */
{ 1650, -62, -3300, 0, 228 << 6, 0 << 6, 0, 0, 127, 255 }, /* 8 */
{ 1650, 63, -3300, 0, 228 << 6, 16 << 6, 0, 0, 127, 255 }, /* 9 */
{ -1650, 63, -3300, 0, -212 << 6, 16 << 6, 0, 0, 127, 255 }, /* 10 */
{ -1650, -62, -3300, 0, -212 << 6, 0 << 6, 0, 0, 127, 255 }, /* 11 */
{ 1650, -62, 0, 0, 228 << 6, 0 << 6, 0, 0, 127, 255 }, /* 12 */
{ 1650, 63, 0, 0, 228 << 6, 16 << 6, 0, 0, 127, 255 }, /* 13 */
{ -1650, 63, 0, 0, -212 << 6, 16 << 6, 0, 0, 127, 255 }, /* 14 */
{ -1650, -62, 0, 0, -212 << 6, 0 << 6, 0, 0, 127, 255 }, /* 15 */
{ -1650, 63, -3300, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 16 */
{ -1650, 63, 0, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 17 */
{ 1650, 63, 0, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 18 */
{ 1650, 63, -3300, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 19 */
{ -1650, -62, -3300, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 20 */
{ -1650, -62, 0, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 21 */
{ 1650, -62, 0, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 22 */
{ 1650, -62, -3300, 0, 0 << 6, 0 << 6, 0, 0, 0, 0 }, /* 23 */
};
Gfx saku_mdl_model0[] = {
gsSPVertex(saku_mdl_vtx0 + 16, 8, 0),
gsSPCullDisplayList(0, 7),
gsSPTexture(0xffff, 0xffff, 0, G_TX_RENDERTILE, G_ON),
gsDPSetCombineMode(G_CC_MODULATERGBDECALA, G_CC_MODULATERGBDECALA),
gsSPLightColor(LIGHT_2, 0xc7637c00),
gsSPLightColor(LIGHT_3, 0x63313e00),
gsSPVertex(saku_mdl_vtx0 + 0, 8, 0),
gsDPSetTextureLUT(G_TT_RGBA16),
gsDPLoadTLUT_pal16(0, saku_mdl_lut0),
gsDPLoadTextureBlock_4b(saku_mdl_tex0,
G_IM_FMT_CI,
32, 32,
0, G_TX_WRAP, G_TX_WRAP,
5, 5, 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),
gsSPLightColor(LIGHT_2, 0xb0799400),
gsSPLightColor(LIGHT_3, 0x583c4a00),
gsSPVertex(saku_mdl_vtx0 + 8, 8, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(2, 3, 0, 0),
gsSP1Triangle(4, 5, 6, 0),
gsSP1Triangle(6, 7, 4, 0),
gsSPEndDisplayList(),
};