-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathufo.h
197 lines (186 loc) · 8.73 KB
/
ufo.h
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
Vtx ufo_Cube_mesh_vtx_0[108] = {
{{{114, 109, -390},0, {496, 496},{0x51, 0x4B, 0xC2, 0xFF}}},
{{{291, 153, -106},0, {624, 496},{0x51, 0x4B, 0xC2, 0xFF}}},
{{{331, 109, -106},0, {496, 406},{0x51, 0x4B, 0xC2, 0xFF}}},
{{{331, 109, 99},0, {496, 342},{0x53, 0x4D, 0x39, 0xFF}}},
{{{291, 153, 99},0, {624, 240},{0x53, 0x4D, 0x39, 0xFF}}},
{{{114, 109, 422},0, {496, 240},{0x53, 0x4D, 0x39, 0xFF}}},
{{{-99, 233, -106},0, {752, 496},{0xB8, 0x68, 0x0, 0xFF}}},
{{{-311, 84, -106},0, {880, 496},{0xB8, 0x68, 0x0, 0xFF}}},
{{{-311, 84, 99},0, {880, 240},{0xB8, 0x68, 0x0, 0xFF}}},
{{{-99, 233, 99},0, {752, 240},{0xB8, 0x68, 0x0, 0xFF}}},
{{{-99, 109, 422},0, {496, 112},{0xB4, 0x5C, 0x2B, 0xFF}}},
{{{-99, 233, 99},0, {624, 112},{0xB4, 0x5C, 0x2B, 0xFF}}},
{{{-311, 84, 99},0, {624, -16},{0xB4, 0x5C, 0x2B, 0xFF}}},
{{{-311, 56, 99},0, {496, -16},{0xB4, 0x5C, 0x2B, 0xFF}}},
{{{-311, 21, 99},0, {432, 1008},{0x81, 0x0, 0x0, 0xFF}}},
{{{-311, 56, 99},0, {496, 1008},{0x81, 0x0, 0x0, 0xFF}}},
{{{-311, 84, 99},0, {624, 1008},{0x81, 0x0, 0x0, 0xFF}}},
{{{-311, 9, 99},0, {368, 1008},{0x81, 0x0, 0x0, 0xFF}}},
{{{-311, 21, -106},0, {432, 752},{0x81, 0x0, 0x0, 0xFF}}},
{{{-311, 56, -106},0, {496, 752},{0x81, 0x0, 0x0, 0xFF}}},
{{{-311, 84, -106},0, {624, 752},{0x81, 0x0, 0x0, 0xFF}}},
{{{-311, 9, -106},0, {368, 752},{0x81, 0x0, 0x0, 0xFF}}},
{{{-99, -14, -106},0, {240, 496},{0x0, 0x81, 0x0, 0xFF}}},
{{{331, -14, -106},0, {368, 496},{0x0, 0x81, 0x0, 0xFF}}},
{{{331, -14, 99},0, {368, 240},{0x0, 0x81, 0x0, 0xFF}}},
{{{-99, -14, 99},0, {240, 240},{0x0, 0x81, 0x0, 0xFF}}},
{{{61, 109, -390},0, {496, 528},{0x3D, 0x5C, 0xC0, 0xFF}}},
{{{224, 233, -106},0, {624, 528},{0x3D, 0x5C, 0xC0, 0xFF}}},
{{{291, 153, -106},0, {624, 496},{0x3D, 0x5C, 0xC0, 0xFF}}},
{{{114, 109, -390},0, {496, 496},{0x3D, 0x5C, 0xC0, 0xFF}}},
{{{-311, 56, -106},0, {496, 752},{0xB5, 0x5A, 0xCF, 0xFF}}},
{{{-311, 84, -106},0, {624, 752},{0xB5, 0x5A, 0xCF, 0xFF}}},
{{{-99, 233, -106},0, {624, 624},{0xB5, 0x5A, 0xCF, 0xFF}}},
{{{-99, 109, -390},0, {496, 624},{0xB5, 0x5A, 0xCF, 0xFF}}},
{{{-311, 9, -106},0, {112, 496},{0xF2, 0x82, 0x0, 0xFF}}},
{{{-99, -14, -106},0, {240, 496},{0xF2, 0x82, 0x0, 0xFF}}},
{{{-99, -14, 99},0, {240, 240},{0xF2, 0x82, 0x0, 0xFF}}},
{{{-311, 9, 99},0, {112, 240},{0xF2, 0x82, 0x0, 0xFF}}},
{{{331, 109, -106},0, {496, 406},{0x60, 0x53, 0x0, 0xFF}}},
{{{291, 153, -106},0, {624, 496},{0x60, 0x53, 0x0, 0xFF}}},
{{{224, 233, -106},0, {656, 496},{0x60, 0x53, 0x0, 0xFF}}},
{{{291, 153, 99},0, {624, 240},{0x60, 0x53, 0x0, 0xFF}}},
{{{224, 233, 99},0, {656, 240},{0x60, 0x53, 0x0, 0xFF}}},
{{{331, 109, 99},0, {496, 342},{0x60, 0x53, 0x0, 0xFF}}},
{{{331, 109, -106},0, {496, 406},{0x7F, 0x0, 0x0, 0xFF}}},
{{{331, 109, 99},0, {496, 342},{0x7F, 0x0, 0x0, 0xFF}}},
{{{331, -14, 99},0, {368, 240},{0x7F, 0x0, 0x0, 0xFF}}},
{{{331, -14, -106},0, {368, 496},{0x7F, 0x0, 0x0, 0xFF}}},
{{{-99, 47, -390},0, {432, 624},{0x0, 0x84, 0xE5, 0xFF}}},
{{{114, 47, -390},0, {432, 496},{0x0, 0x84, 0xE5, 0xFF}}},
{{{331, -14, -106},0, {368, 496},{0x0, 0x84, 0xE5, 0xFF}}},
{{{-99, -14, -106},0, {368, 624},{0x0, 0x84, 0xE5, 0xFF}}},
{{{-99, -14, 99},0, {368, 112},{0xEC, 0x86, 0x1C, 0xFF}}},
{{{-99, 47, 422},0, {432, 112},{0xEC, 0x86, 0x1C, 0xFF}}},
{{{-311, 21, 99},0, {432, -16},{0xEC, 0x86, 0x1C, 0xFF}}},
{{{-311, 9, 99},0, {368, -16},{0xEC, 0x86, 0x1C, 0xFF}}},
{{{-99, 233, -106},0, {624, 624},{0x0, 0x74, 0xCD, 0xFF}}},
{{{224, 233, -106},0, {624, 528},{0x0, 0x74, 0xCD, 0xFF}}},
{{{61, 109, -390},0, {496, 528},{0x0, 0x74, 0xCD, 0xFF}}},
{{{-99, 109, -390},0, {496, 624},{0x0, 0x74, 0xCD, 0xFF}}},
{{{-311, 21, -106},0, {432, 752},{0x9B, 0x0, 0xB3, 0xFF}}},
{{{-311, 56, -106},0, {496, 752},{0x9B, 0x0, 0xB3, 0xFF}}},
{{{-99, 109, -390},0, {496, 624},{0x9B, 0x0, 0xB3, 0xFF}}},
{{{-99, 47, -390},0, {432, 624},{0x9B, 0x0, 0xB3, 0xFF}}},
{{{-311, 9, -106},0, {368, 752},{0xEC, 0x87, 0xE0, 0xFF}}},
{{{-311, 21, -106},0, {432, 752},{0xEC, 0x87, 0xE0, 0xFF}}},
{{{-99, 47, -390},0, {432, 624},{0xEC, 0x87, 0xE0, 0xFF}}},
{{{-99, -14, -106},0, {368, 624},{0xEC, 0x87, 0xE0, 0xFF}}},
{{{331, -14, 99},0, {368, 240},{0x6A, 0x0, 0x47, 0xFF}}},
{{{331, 109, 99},0, {496, 342},{0x6A, 0x0, 0x47, 0xFF}}},
{{{114, 109, 422},0, {496, 240},{0x6A, 0x0, 0x47, 0xFF}}},
{{{114, 47, 422},0, {432, 240},{0x6A, 0x0, 0x47, 0xFF}}},
{{{61, 109, 422},0, {496, 208},{0x0, 0x77, 0x2D, 0xFF}}},
{{{224, 233, 99},0, {624, 208},{0x0, 0x77, 0x2D, 0xFF}}},
{{{-99, 233, 99},0, {624, 112},{0x0, 0x77, 0x2D, 0xFF}}},
{{{-99, 109, 422},0, {496, 112},{0x0, 0x77, 0x2D, 0xFF}}},
{{{-99, 47, 422},0, {432, 112},{0x96, 0x0, 0x46, 0xFF}}},
{{{-99, 109, 422},0, {496, 112},{0x96, 0x0, 0x46, 0xFF}}},
{{{-311, 56, 99},0, {496, -16},{0x96, 0x0, 0x46, 0xFF}}},
{{{-311, 21, 99},0, {432, -16},{0x96, 0x0, 0x46, 0xFF}}},
{{{114, 109, 422},0, {496, 240},{0x0, 0x0, 0x7F, 0xFF}}},
{{{61, 109, 422},0, {496, 208},{0x0, 0x0, 0x7F, 0xFF}}},
{{{-99, 109, 422},0, {496, 112},{0x0, 0x0, 0x7F, 0xFF}}},
{{{114, 47, 422},0, {432, 240},{0x0, 0x0, 0x7F, 0xFF}}},
{{{-99, 47, 422},0, {432, 112},{0x0, 0x0, 0x7F, 0xFF}}},
{{{331, 109, -106},0, {496, 406},{0x65, 0x0, 0xB3, 0xFF}}},
{{{331, -14, -106},0, {368, 496},{0x65, 0x0, 0xB3, 0xFF}}},
{{{114, 47, -390},0, {432, 496},{0x65, 0x0, 0xB3, 0xFF}}},
{{{114, 109, -390},0, {496, 496},{0x65, 0x0, 0xB3, 0xFF}}},
{{{114, 109, 422},0, {496, 240},{0x3F, 0x5E, 0x3A, 0xFF}}},
{{{291, 153, 99},0, {624, 240},{0x3F, 0x5E, 0x3A, 0xFF}}},
{{{224, 233, 99},0, {624, 208},{0x3F, 0x5E, 0x3A, 0xFF}}},
{{{114, 109, 422},0, {496, 240},{0x3F, 0x5E, 0x3A, 0xFF}}},
{{{224, 233, 99},0, {624, 208},{0x3F, 0x5E, 0x3A, 0xFF}}},
{{{61, 109, 422},0, {496, 208},{0x3F, 0x5E, 0x3A, 0xFF}}},
{{{114, 47, -390},0, {432, 496},{0x0, 0x0, 0x81, 0xFF}}},
{{{-99, 47, -390},0, {432, 624},{0x0, 0x0, 0x81, 0xFF}}},
{{{-99, 109, -390},0, {496, 624},{0x0, 0x0, 0x81, 0xFF}}},
{{{61, 109, -390},0, {496, 528},{0x0, 0x0, 0x81, 0xFF}}},
{{{114, 109, -390},0, {496, 496},{0x0, 0x0, 0x81, 0xFF}}},
{{{-99, 47, 422},0, {432, 112},{0x0, 0x83, 0x18, 0xFF}}},
{{{-99, -14, 99},0, {368, 112},{0x0, 0x83, 0x18, 0xFF}}},
{{{331, -14, 99},0, {368, 240},{0x0, 0x83, 0x18, 0xFF}}},
{{{114, 47, 422},0, {432, 240},{0x0, 0x83, 0x18, 0xFF}}},
{{{224, 233, -106},0, {656, 496},{0x0, 0x7F, 0x0, 0xFF}}},
{{{-99, 233, -106},0, {752, 496},{0x0, 0x7F, 0x0, 0xFF}}},
{{{-99, 233, 99},0, {752, 240},{0x0, 0x7F, 0x0, 0xFF}}},
{{{224, 233, 99},0, {656, 240},{0x0, 0x7F, 0x0, 0xFF}}},
};
Gfx ufo_Cube_mesh_tri_0[] = {
gsSPVertex(ufo_Cube_mesh_vtx_0 + 0, 14, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(3, 4, 5, 0),
gsSP1Triangle(6, 7, 8, 0),
gsSP1Triangle(6, 8, 9, 0),
gsSP1Triangle(10, 11, 12, 0),
gsSP1Triangle(10, 12, 13, 0),
gsSPVertex(ufo_Cube_mesh_vtx_0 + 14, 16, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(3, 0, 2, 0),
gsSP1Triangle(2, 4, 3, 0),
gsSP1Triangle(2, 5, 4, 0),
gsSP1Triangle(2, 6, 5, 0),
gsSP1Triangle(4, 7, 3, 0),
gsSP1Triangle(8, 9, 10, 0),
gsSP1Triangle(8, 10, 11, 0),
gsSP1Triangle(12, 13, 14, 0),
gsSP1Triangle(12, 14, 15, 0),
gsSPVertex(ufo_Cube_mesh_vtx_0 + 30, 14, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(0, 2, 3, 0),
gsSP1Triangle(4, 5, 6, 0),
gsSP1Triangle(4, 6, 7, 0),
gsSP1Triangle(8, 9, 10, 0),
gsSP1Triangle(10, 11, 8, 0),
gsSP1Triangle(10, 12, 11, 0),
gsSP1Triangle(11, 13, 8, 0),
gsSPVertex(ufo_Cube_mesh_vtx_0 + 44, 16, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(0, 2, 3, 0),
gsSP1Triangle(4, 5, 6, 0),
gsSP1Triangle(4, 6, 7, 0),
gsSP1Triangle(8, 9, 10, 0),
gsSP1Triangle(8, 10, 11, 0),
gsSP1Triangle(12, 13, 14, 0),
gsSP1Triangle(12, 14, 15, 0),
gsSPVertex(ufo_Cube_mesh_vtx_0 + 60, 16, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(0, 2, 3, 0),
gsSP1Triangle(4, 5, 6, 0),
gsSP1Triangle(4, 6, 7, 0),
gsSP1Triangle(8, 9, 10, 0),
gsSP1Triangle(8, 10, 11, 0),
gsSP1Triangle(12, 13, 14, 0),
gsSP1Triangle(12, 14, 15, 0),
gsSPVertex(ufo_Cube_mesh_vtx_0 + 76, 16, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(0, 2, 3, 0),
gsSP1Triangle(4, 5, 6, 0),
gsSP1Triangle(6, 7, 4, 0),
gsSP1Triangle(6, 8, 7, 0),
gsSP1Triangle(9, 10, 11, 0),
gsSP1Triangle(9, 11, 12, 0),
gsSP1Triangle(13, 14, 15, 0),
gsSPVertex(ufo_Cube_mesh_vtx_0 + 92, 16, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(3, 4, 5, 0),
gsSP1Triangle(5, 6, 3, 0),
gsSP1Triangle(6, 7, 3, 0),
gsSP1Triangle(8, 9, 10, 0),
gsSP1Triangle(8, 10, 11, 0),
gsSP1Triangle(12, 13, 14, 0),
gsSP1Triangle(12, 14, 15, 0),
gsSPEndDisplayList(),
};
Gfx ufo_Cube_mesh[] = {
gsSPClearGeometryMode(0xFFFFFFFF),
gsSPSetGeometryMode(G_SHADE | G_SHADING_SMOOTH | G_ZBUFFER | G_CULL_BACK),
gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF),
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
gsSPTexture(65535, 65535, 0, 0, G_ON),
gsSPDisplayList(ufo_Cube_mesh_tri_0),
gsDPPipeSync(),
gsSPEndDisplayList(),
};