Go to the source code of this file.
◆ star_outline_init()
◆ star_outline_update()
Definition at line 66 of file star_outline.c.
66 {
69 s32 lifeTime;
72
76 }
79 }
80
82
85 return;
86 }
92 }
95 }
96 }
97 if (lifeTime < 16) {
98 temp2 = (lifeTime * 16) + 15;
101 }
104 }
105 }
112
115 data->
unk_3C.
y = (lifeTime * 4.0f * 0.4953);
116 data->
unk_3C.
z = (lifeTime * 4.0f * 0.2234);
125 }
126 if (lifeTime == 1) {
131 }
132}
BSS s32 PopupMenu_SelectedIndex
EffectInstanceDataPtr data
struct StarOutlineFXData * starOutline
@ FX_INSTANCE_FLAG_DISMISS
Referenced by star_outline_main().
◆ star_outline_render()
Definition at line 134 of file star_outline.c.
134 {
137
142
145}
#define queue_render_task
@ RENDER_TASK_FLAG_REFLECT_FLOOR
@ RENDER_MODE_CLOUD_NO_ZCMP
void star_outline_appendGfx(void *effect)
void(* appendGfx)(void *)
Referenced by star_outline_main().
◆ star_outline_appendGfx()
void star_outline_appendGfx |
( |
void * | effect | ) |
|
Definition at line 147 of file star_outline.c.
147 {
149 s32 unk_18 = data->
unk_18;
150 s32 unk_1C = data->
unk_1C;
151 s32 unk_20 = data->
unk_20;
152 s32 unk_24 = data->
unk_24;
153 s32 unk_28 = data->
unk_28;
154 s32 unk_2C = data->
unk_2C;
155 s32 unk_30 = data->
unk_30;
156 s32 unk_34 = data->
unk_34;
159
160 if (unk_18 > 255) {
161 unk_18 = 255;
162 }
163 if (unk_1C > 255) {
164 unk_1C = 255;
165 }
166 if (unk_20 > 255) {
167 unk_20 = 255;
168 }
169 if (unk_24 > 255) {
170 unk_24 = 255;
171 }
172 if (unk_28 > 255) {
173 unk_28 = 255;
174 }
175 if (unk_2C > 255) {
176 unk_2C = 255;
177 }
178 if (unk_30 > 255) {
179 unk_30 = 255;
180 }
181 if (unk_34 > 255) {
182 unk_34 = 255;
183 }
184 if (unk_18 < 0) {
185 unk_18 = 0;
186 }
187 if (unk_1C < 0) {
188 unk_1C = 0;
189 }
190 if (unk_20 < 0) {
191 unk_20 = 0;
192 }
193 if (unk_24 < 0) {
194 unk_24 = 0;
195 }
196 if (unk_28 < 0) {
197 unk_28 = 0;
198 }
199 if (unk_2C < 0) {
200 unk_2C = 0;
201 }
202 if (unk_30 < 0) {
203 unk_30 = 0;
204 }
205 if (unk_34 < 0) {
206 unk_34 = 0;
207 }
208
212
213 if (unk_34 != 0) {
218
220
223 } else {
225 }
226
231 }
232
237
239
240 if (unk_34 != 0) {
243 } else {
245 }
247 }
248
251 } else {
253 }
254
259}
#define VIRTUAL_TO_PHYSICAL(addr)
DisplayContext * gDisplayContext
Referenced by star_outline_render().
◆ star_outline_main()
Definition at line 17 of file star_outline.c.
17 {
21 s32 numParts = 1;
22
29
32
35
41 } else {
43 }
59
60 return effect;
61}
#define general_heap_malloc
#define create_effect_instance
#define ASSERT(condition)
void star_outline_render(EffectInstance *effect)
void star_outline_init(EffectInstance *effect)
void star_outline_update(EffectInstance *effect)
◆ D_09000800_4147A0
◆ D_09000B20_414AC0
◆ D_09000B90_414B30
◆ D_E0126BC0
◆ D_E0126BC4
◆ D_E0126BC8