Go to the source code of this file.
◆ effect_63_init()
◆ effect_63_update()
Definition at line 131 of file effect_63.c.
131 {
134 s32 unk_24;
135 s32 i;
136
140 }
141
142 if (
part->unk_20 < 1000) {
144 }
145
147 if (
part->unk_20 == 1 && unk_00 == 1) {
150 }
151
152 if (
part->unk_20 < 0) {
154 return;
155 }
156
157 unk_24 =
part->unk_24;
158
159 switch (unk_00) {
160 case 0:
161 if (!(unk_24 & (1 | 2))) {
164 }
165 break;
166 case 1:
167 part->unk_60 *= 0.97;
168 part->unk_68 *= 0.97;
172 part->unk_64 += (1.0f -
part->unk_64) * 0.02;
173 part->unk_70 += (1.0 -
part->unk_70) * 0.05;
174 part->unk_6C += (1.0 -
part->unk_6C) * 0.1;
176 break;
177 case 2:
183 if (
part->unk_08 < 0.0f) {
185 if (
part->unk_64 < 0.0f) {
186 part->unk_64 *= -0.6;
187 }
188 }
189 part->unk_70 += (0.0f -
part->unk_70) * 0.07;
190 part->unk_6C += (0.0f -
part->unk_6C) * 0.05;
192 }
193 break;
194 }
195}
BSS s32 PopupMenu_SelectedIndex
EffectInstance * effect_63_main(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7, s32 arg8, s32 arg9)
EffectInstanceDataPtr data
struct Effect63FXData * unk_63
@ FX_INSTANCE_FLAG_DISMISS
Referenced by effect_63_main().
◆ effect_63_render()
Definition at line 197 of file effect_63.c.
197 {
200
205
208}
void effect_63_appendGfx(void *effect)
#define queue_render_task
@ RENDER_TASK_FLAG_REFLECT_FLOOR
@ RENDER_MODE_CLOUD_NO_ZCMP
void(* appendGfx)(void *)
Referenced by effect_63_main().
◆ effect_63_appendGfx()
| void effect_63_appendGfx |
( |
void * | effect | ) |
|
Definition at line 210 of file effect_63.c.
210 {
213 s32 unk_34 =
part->unk_34;
214 s32 unk_00 =
part->unk_00;
221 s32 i;
222
223 if (
part->unk_00 != 0) {
229
233
237
238 if (
part->unk_4C < 0.0f) {
239 part->unk_4C += 128.0f;
240 }
241
242 if (
part->unk_50 > 128.0f) {
243 part->unk_50 -= 128.0f;
244 }
245
248
253
256
261
266 }
267 }
268}
#define VIRTUAL_TO_PHYSICAL(addr)
DisplayContext * gDisplayContext
Referenced by effect_63_render().
◆ effect_63_main()
Definition at line 20 of file effect_63.c.
31 {
37 s32 numParts;
38 s32 i;
39
41 numParts = 8;
42 } else {
43 numParts = 1;
44 }
45
52
57
60 } else {
62 }
77
95 part->unk_78 = -10.0f;
96 } else {
106
107 for (i = 0; i < numParts; i++,
part++) {
119 part->unk_74 = -45.0f;
120 part->unk_78 = -10.0f;
121 }
122 }
123 }
124
125 return effect;
126}
void effect_63_init(EffectInstance *effect)
void effect_63_render(EffectInstance *effect)
void effect_63_update(EffectInstance *effect)
#define general_heap_malloc
#define create_effect_instance
#define ASSERT(condition)
Referenced by effect_63_update().
◆ D_09001B70_3CF250
◆ D_09001C98_3CF378
◆ D_E00C6C90
◆ D_E00C6C9C