Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MorsGames
GitHub Repository: MorsGames/sm64plus
Path: blob/master/actors/exclamation_box_outline/model.inc.c
7857 views
1
// Exclamation Box Outline
2
3
// 0x08024CB8
4
static const Lights1 exclamation_box_outline_seg8_lights_08024CB8 = gdSPDefLights1(
5
0x7f, 0x00, 0x00,
6
0xff, 0x00, 0x00, 0x28, 0x28, 0x28
7
);
8
9
// 0x08024CD0
10
static const Lights1 exclamation_box_outline_seg8_lights_08024CD0 = gdSPDefLights1(
11
0x00, 0x7f, 0x00,
12
0x00, 0xff, 0x00, 0x28, 0x28, 0x28
13
);
14
15
// 0x08024CE8
16
static const Lights1 exclamation_box_outline_seg8_lights_08024CE8 = gdSPDefLights1(
17
0x00, 0x00, 0x7f,
18
0x00, 0x00, 0xff, 0x28, 0x28, 0x28
19
);
20
21
// 0x08024D00
22
static const Lights1 exclamation_box_outline_seg8_lights_08024D00 = gdSPDefLights1(
23
0x7f, 0x6a, 0x00,
24
0xff, 0xd4, 0x00, 0x28, 0x28, 0x28
25
);
26
27
// 0x08024D18
28
static const Vtx exclamation_box_outline_seg8_vertex_08024D18[] = {
29
{{{ 26, 1, -25}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0x50}}},
30
{{{ 26, 52, 26}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0x50}}},
31
{{{ 26, 1, 26}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0x50}}},
32
{{{ 26, 1, 26}, 0, { 0, 0}, {0x00, 0x81, 0x00, 0x50}}},
33
{{{ -25, 1, 26}, 0, { 0, 0}, {0x00, 0x81, 0x00, 0x50}}},
34
{{{ -25, 1, -25}, 0, { 0, 0}, {0x00, 0x81, 0x00, 0x50}}},
35
{{{ 26, 1, -25}, 0, { 0, 0}, {0x00, 0x81, 0x00, 0x50}}},
36
{{{ 26, 1, 26}, 0, { 0, 0}, {0x00, 0x00, 0x7f, 0x50}}},
37
{{{ 26, 52, 26}, 0, { 0, 0}, {0x00, 0x00, 0x7f, 0x50}}},
38
{{{ -25, 52, 26}, 0, { 0, 0}, {0x00, 0x00, 0x7f, 0x50}}},
39
{{{ -25, 1, 26}, 0, { 0, 0}, {0x00, 0x00, 0x7f, 0x50}}},
40
{{{ -25, 1, 26}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0x50}}},
41
{{{ -25, 52, 26}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0x50}}},
42
{{{ -25, 52, -25}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0x50}}},
43
{{{ -25, 1, -25}, 0, { 0, 0}, {0x81, 0x00, 0x00, 0x50}}},
44
};
45
46
// 0x08024E08
47
static const Vtx exclamation_box_outline_seg8_vertex_08024E08[] = {
48
{{{ -25, 1, -25}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0x50}}},
49
{{{ -25, 52, -25}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0x50}}},
50
{{{ 26, 52, -25}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0x50}}},
51
{{{ 26, 1, -25}, 0, { 0, 0}, {0x00, 0x00, 0x81, 0x50}}},
52
{{{ 26, 1, -25}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0x50}}},
53
{{{ 26, 52, -25}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0x50}}},
54
{{{ 26, 52, 26}, 0, { 0, 0}, {0x7f, 0x00, 0x00, 0x50}}},
55
{{{ -25, 52, 26}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x50}}},
56
{{{ 26, 52, 26}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x50}}},
57
{{{ 26, 52, -25}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x50}}},
58
{{{ -25, 52, -25}, 0, { 0, 0}, {0x00, 0x7f, 0x00, 0x50}}},
59
};
60
61
// 0x08024EB8 - 0x08024F30
62
const Gfx exclamation_box_outline_seg8_dl_08024EB8[] = {
63
gsSPVertex(exclamation_box_outline_seg8_vertex_08024D18, 15, 0),
64
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
65
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
66
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
67
gsSP1Triangle(11, 13, 14, 0x0),
68
gsSPVertex(exclamation_box_outline_seg8_vertex_08024E08, 11, 0),
69
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
70
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
71
gsSP1Triangle( 7, 9, 10, 0x0),
72
gsSPEndDisplayList(),
73
};
74
75
// 0x08024F30 - 0x08024F58
76
const Gfx exclamation_box_outline_seg8_dl_08024F30[] = {
77
gsDPPipeSync(),
78
gsDPSetEnvColor(255, 255, 255, 80),
79
gsSPClearGeometryMode(G_SHADING_SMOOTH),
80
gsDPSetCombineMode(G_CC_SHADEFADEA, G_CC_SHADEFADEA),
81
gsSPEndDisplayList(),
82
};
83
84
// 0x08024F58 - 0x08024F88
85
const Gfx exclamation_box_outline_seg8_dl_08024F58[] = {
86
gsSPDisplayList(exclamation_box_outline_seg8_dl_08024EB8),
87
gsDPPipeSync(),
88
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
89
gsSPSetGeometryMode(G_SHADING_SMOOTH),
90
gsDPSetEnvColor(255, 255, 255, 255),
91
gsSPEndDisplayList(),
92
};
93
94
// 0x08024F88 - 0x08024FA8
95
const Gfx exclamation_box_outline_seg8_dl_08024F88[] = {
96
gsSPDisplayList(exclamation_box_outline_seg8_dl_08024F30),
97
gsSPLight(&exclamation_box_outline_seg8_lights_08024CB8.l, 1),
98
gsSPLight(&exclamation_box_outline_seg8_lights_08024CB8.a, 2),
99
gsSPBranchList(exclamation_box_outline_seg8_dl_08024F58),
100
};
101
102
// 0x08024FA8 - 0x08024FC8
103
const Gfx exclamation_box_outline_seg8_dl_08024FA8[] = {
104
gsSPDisplayList(exclamation_box_outline_seg8_dl_08024F30),
105
gsSPLight(&exclamation_box_outline_seg8_lights_08024CD0.l, 1),
106
gsSPLight(&exclamation_box_outline_seg8_lights_08024CD0.a, 2),
107
gsSPBranchList(exclamation_box_outline_seg8_dl_08024F58),
108
};
109
110
// 0x08024FC8 - 0x08024FE8
111
const Gfx exclamation_box_outline_seg8_dl_08024FC8[] = {
112
gsSPDisplayList(exclamation_box_outline_seg8_dl_08024F30),
113
gsSPLight(&exclamation_box_outline_seg8_lights_08024CE8.l, 1),
114
gsSPLight(&exclamation_box_outline_seg8_lights_08024CE8.a, 2),
115
gsSPBranchList(exclamation_box_outline_seg8_dl_08024F58),
116
};
117
118
// 0x08024FE8 - 0x08025008
119
const Gfx exclamation_box_outline_seg8_dl_08024FE8[] = {
120
gsSPDisplayList(exclamation_box_outline_seg8_dl_08024F30),
121
gsSPLight(&exclamation_box_outline_seg8_lights_08024D00.l, 1),
122
gsSPLight(&exclamation_box_outline_seg8_lights_08024D00.a, 2),
123
gsSPBranchList(exclamation_box_outline_seg8_dl_08024F58),
124
};
125
126
// 0x08025008
127
static const Vtx exclamation_box_outline_seg8_vertex_08025008[] = {
128
{{{ -25, 52, 26}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
129
{{{ 26, 52, 26}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
130
{{{ 26, 52, -25}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
131
{{{ -25, 52, -25}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
132
{{{ 26, 1, 26}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
133
{{{ -25, 52, 26}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
134
{{{ -25, 1, 26}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
135
{{{ 26, 1, -25}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
136
{{{ 26, 52, -25}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
137
{{{ 26, 52, 26}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
138
{{{ 26, 1, 26}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
139
{{{ -25, 1, -25}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
140
{{{ 26, 1, -25}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
141
{{{ -25, 52, -25}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
142
};
143
144
// 0x080250E8
145
static const Vtx exclamation_box_outline_seg8_vertex_080250E8[] = {
146
{{{ -25, 1, 26}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
147
{{{ -25, 52, 26}, 0, { 990, 0}, {0xff, 0xff, 0xff, 0xff}}},
148
{{{ -25, 52, -25}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0xff}}},
149
{{{ -25, 1, -25}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
150
{{{ -25, 1, 26}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
151
{{{ -25, 1, -25}, 0, { 990, 990}, {0xff, 0xff, 0xff, 0xff}}},
152
{{{ 26, 1, -25}, 0, { 996, 0}, {0xff, 0xff, 0xff, 0xff}}},
153
{{{ 26, 1, 26}, 0, { -26, 0}, {0xff, 0xff, 0xff, 0xff}}},
154
};
155
156
// 0x08025168
157
ALIGNED8 static const Texture exclamation_box_outline_seg8_texture_08025168[] = {
158
#include "actors/exclamation_box_outline/exclamation_box_outline.rgba16.inc.c"
159
};
160
161
// 0x08025968 - 0x080259F8
162
const Gfx exclamation_box_outline_seg8_dl_08025968[] = {
163
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, exclamation_box_outline_seg8_texture_08025168),
164
gsDPLoadSync(),
165
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
166
gsSPVertex(exclamation_box_outline_seg8_vertex_08025008, 14, 0),
167
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
168
gsSP2Triangles( 4, 1, 5, 0x0, 4, 5, 6, 0x0),
169
gsSP2Triangles( 7, 8, 9, 0x0, 7, 9, 10, 0x0),
170
gsSP2Triangles(11, 8, 12, 0x0, 11, 13, 8, 0x0),
171
gsSPVertex(exclamation_box_outline_seg8_vertex_080250E8, 8, 0),
172
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
173
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
174
gsSPEndDisplayList(),
175
};
176
177
// 0x080259F8 - 0x08025A68
178
const Gfx exclamation_box_outline_seg8_dl_080259F8[] = {
179
gsDPPipeSync(),
180
gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
181
gsSPClearGeometryMode(G_LIGHTING | G_CULL_BACK),
182
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD),
183
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
184
gsDPTileSync(),
185
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 5, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD),
186
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
187
gsSPDisplayList(exclamation_box_outline_seg8_dl_08025968),
188
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
189
gsDPPipeSync(),
190
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
191
gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),
192
gsSPEndDisplayList(),
193
};
194
195
// 0x08025A68
196
static const Lights1 exclamation_box_outline_seg8_lights_08025A68 = gdSPDefLights1(
197
0x7f, 0x7f, 0x7f,
198
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
199
);
200
201
// 0x08025A80
202
ALIGNED8 static const Texture exclamation_box_outline_seg8_texture_08025A80[] = {
203
#include "actors/exclamation_box_outline/exclamation_point.rgba16.inc.c"
204
};
205
206
// 0x08025E80
207
static const Vtx exclamation_box_outline_seg8_vertex_08025E80[] = {
208
{{{ -22, 49, 0}, 0, { -157, 0}, {0x00, 0x00, 0x7f, 0xff}}},
209
{{{ -22, 4, 0}, 0, { -157, 1048}, {0x00, 0x00, 0x7f, 0xff}}},
210
{{{ 23, 4, 0}, 0, { 605, 1048}, {0x00, 0x00, 0x7f, 0xff}}},
211
{{{ 23, 49, 0}, 0, { 605, 0}, {0x00, 0x00, 0x7f, 0xff}}},
212
};
213
214
// 0x08025EC0 - 0x08025F08
215
const Gfx exclamation_box_outline_seg8_dl_08025EC0[] = {
216
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, exclamation_box_outline_seg8_texture_08025A80),
217
gsDPLoadSync(),
218
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
219
gsSPLight(&exclamation_box_outline_seg8_lights_08025A68.l, 1),
220
gsSPLight(&exclamation_box_outline_seg8_lights_08025A68.a, 2),
221
gsSPVertex(exclamation_box_outline_seg8_vertex_08025E80, 4, 0),
222
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
223
gsSPEndDisplayList(),
224
};
225
226
// 0x08025F08 - 0x08025F78
227
const Gfx exclamation_box_outline_seg8_dl_08025F08[] = {
228
gsDPPipeSync(),
229
gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
230
gsSPClearGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
231
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD),
232
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
233
gsDPTileSync(),
234
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 4, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 5, G_TX_NOLOD, G_TX_CLAMP, 4, G_TX_NOLOD),
235
gsDPSetTileSize(0, 0, 0, (16 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
236
gsSPDisplayList(exclamation_box_outline_seg8_dl_08025EC0),
237
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
238
gsDPPipeSync(),
239
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
240
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
241
gsSPEndDisplayList(),
242
};
243
244