Go to the source code of this file.
◆ landing_dust_init()
◆ landing_dust_update()
Definition at line 215 of file landing_dust.c.
215 {
217
219
222 } else {
223 s32 type = data->
type;
224 s32 i;
225
226 data++;
227
228 for (i = 1; i < effect->
numParts; i++, data++) {
229 switch (type) {
230 case 0:
231 case 1:
233 break;
234 case 2:
235 break;
236 case 3:
238 break;
239 case 4:
241 break;
242 }
243 }
244 }
245}
struct LandingDustFXData * landingDust
EffectInstanceDataPtr data
void func_E000C000(LandingDustFXData *part)
void func_E000C0C8(LandingDustFXData *part)
void func_E000C094(LandingDustFXData *part)
Referenced by landing_dust_main().
◆ landing_dust_render()
Definition at line 247 of file landing_dust.c.
247 {
250
255
258}
BSS s32 PopupMenu_SelectedIndex
#define queue_render_task
@ RENDER_TASK_FLAG_REFLECT_FLOOR
@ RENDER_MODE_PASS_THROUGH
void landing_dust_appendGfx(void *effect)
void(* appendGfx)(void *)
Referenced by landing_dust_main().
◆ landing_dust_appendGfx()
void landing_dust_appendGfx |
( |
void * | effect | ) |
|
Definition at line 260 of file landing_dust.c.
260 {
275 s32 i;
276
278
281
285
288
293
296
297 switch (type) {
298 case 0:
299 case 1:
302 break;
303 case 2:
304 case 3:
305 case 4:
308 break;
309 }
310
311 if (type == 0) {
313 } else {
315 }
316
319
321
324 } else {
326 }
327
328 if (type == 2) {
330 }
331
333
341 }
342
345}
#define VIRTUAL_TO_PHYSICAL(addr)
DisplayContext * gDisplayContext
Referenced by landing_dust_render().
◆ func_E000C000()
◆ func_E000C094()
◆ func_E000C0C8()
◆ landing_dust_main()
Definition at line 72 of file landing_dust.c.
72 {
79 s32 numParts;
80 s32 i;
81
82 switch (type) {
83 case 2:
84 numParts = 1;
85 break;
86 case 3:
87 numParts = 4;
88 break;
89 case 4:
90 numParts = 9;
91 break;
92 default:
93 numParts = 3;
94 break;
95 }
96
103
106
110
111 mem_clear(data, numParts *
sizeof(*data));
112
113 switch (type) {
114 case 0:
115 case 1:
117 break;
118 case 3:
120 break;
121 case 2:
122 case 4:
124 break;
125 }
126
132
133 data++;
134
135 switch (type) {
136 case 0:
137 case 1:
138 for (i = 1; i < numParts; i++, data++) {
140 data->
unk_14 = 0.29999998f;
153 }
154 break;
155 case 2:
156 break;
157 case 3:
158 for (i = 1; i < numParts; i++, data++) {
159 switch (i - 1) {
160 case 0:
168 break;
169 case 1:
176 data->
unk_20 = 0.84999996f;
177 break;
178 case 2:
186 break;
187
188 }
191 }
192 break;
193 case 4:
194 for (i = 1; i < numParts; i++, data++) {
198 data->
unk_24 = 0.099999994f;
201 theta = angle + ((i - 1) * 360 / (numParts - 1));
207 }
208 break;
209 }
210}
#define general_heap_malloc
#define create_effect_instance
#define ASSERT(condition)
void landing_dust_render(EffectInstance *effect)
void landing_dust_init(EffectInstance *effect)
void landing_dust_update(EffectInstance *effect)
Referenced by star_update().
◆ D_09002780_32B620
◆ D_09002868_32B708
◆ D_09002950_32B7F0
◆ D_09002A38_32B8D8
◆ D_09002B20_32B9C0
◆ D_09002B40_32B9E0
◆ D_09002B60_32BA00