Go to the source code of this file.
◆ effect_63_init()
◆ effect_63_update()
Definition at line 131 of file effect_63.c.
131 {
133 s32 unk_00 = part->
unk_00;
134 s32 unk_24;
135 s32 i;
136
138 effect->
flags &= ~FX_INSTANCE_FLAG_DISMISS;
140 }
141
142 if (part->
unk_20 < 1000) {
144 }
145
147 if (part->
unk_20 == 1 && unk_00 == 1) {
150 }
151
154 return;
155 }
156
158
159 switch (unk_00) {
160 case 0:
161 if (!(unk_24 & (1 | 2))) {
164 }
165 break;
166 case 1:
176 break;
177 case 2:
178 for (i = 0; i < effect->
numParts; i++, part++) {
183 if (part->
unk_08 < 0.0f) {
185 if (part->
unk_64 < 0.0f) {
187 }
188 }
192 }
193 break;
194 }
195}
EffectInstance * effect_63_main(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7, s32 arg8, s32 arg9)
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
203 renderTask.
dist = 10;
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;
215 f32 unk_48 = part->
unk_48;
218 f32 angle;
219 s32 tempX;
220 s32 tempY;
221 s32 i;
222
229
230 for (i = 0; i < ((
EffectInstance*)effect)->numParts; i++, part++) {
233
237
238 if (part->
unk_4C < 0.0f) {
240 }
241
242 if (part->
unk_50 > 128.0f) {
244 }
245
246 tempX = part->
unk_4C * 4.0f;
247 tempY = part->
unk_50 * 4.0f;
248
250 guScaleF(sp58, unk_48, unk_48, unk_48);
253
256
261
263 gDPSetTileSize(
gMainGfxPos++, 1, tempX, tempY, (tempX + 0x3F) * 4, (tempY + 0xF) * 4);
266 }
267 }
268}
#define VIRTUAL_TO_PHYSICAL(addr)
DisplayContext * gDisplayContext
Referenced by effect_63_render().
◆ effect_63_main()
EffectInstance * effect_63_main |
( |
s32 | arg0, |
|
|
f32 | arg1, |
|
|
f32 | arg2, |
|
|
f32 | arg3, |
|
|
f32 | arg4, |
|
|
f32 | arg5, |
|
|
f32 | arg6, |
|
|
f32 | arg7, |
|
|
s32 | arg8, |
|
|
s32 | arg9 ) |
Definition at line 20 of file effect_63.c.
31 {
36 f32 randInt;
37 s32 numParts;
38 s32 i;
39
40 if (arg0 == 2) {
41 numParts = 8;
42 } else {
43 numParts = 1;
44 }
45
52
57
58 if (arg9 <= 0) {
60 } else {
62 }
77
78 if (arg0 != 0) {
79 if (arg0 == 1) {
96 } else {
106
107 for (i = 0; i < numParts; i++, part++) {
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)
void(* renderUI)(EffectInstance *effectInst)
void(* init)(EffectInstance *effectInst)
void(* update)(EffectInstance *effectInst)
void(* renderWorld)(EffectInstance *effectInst)
Referenced by effect_63_update().
◆ D_09001B70_3CF250
◆ D_09001C98_3CF378
◆ D_E00C6C90
◆ D_E00C6C9C