Go to the source code of this file.
◆ breaking_junk_init()
◆ breaking_junk_update()
Definition at line 86 of file breaking_junk.c.
86 {
88 s32 i;
89
91 effect->
flags &= ~FX_INSTANCE_FLAG_DISMISS;
93 }
96 }
97
101 return;
102 }
103
106 }
107
108 for (i = 0; i < effect->
numParts; i++, data++) {
113 if (data->
pos.
y < 0.0f && data->
vel.
y < 0.0f) {
116 }
117 data->
rot += (((i & 1) * 2) - 1) * 14;
118 }
119}
struct BreakingJunkFXData * breakingJunk
@ FX_INSTANCE_FLAG_DISMISS
Referenced by breaking_junk_main().
◆ breaking_junk_render()
Definition at line 121 of file breaking_junk.c.
121 {
124
127 renderTask.
dist = 10;
129
132}
void breaking_junk_appendGfx(void *effect)
#define queue_render_task
@ RENDER_TASK_FLAG_REFLECT_FLOOR
@ RENDER_MODE_CLOUD_NO_ZCMP
void(* appendGfx)(void *)
Referenced by breaking_junk_main().
◆ breaking_junk_appendGfx()
void breaking_junk_appendGfx |
( |
void * | effect | ) |
|
◆ breaking_junk_main()
EffectInstance * breaking_junk_main |
( |
s32 | arg0, |
|
|
f32 | x, |
|
|
f32 | y, |
|
|
f32 | z, |
|
|
f32 | scale, |
|
|
s32 | time ) |
Definition at line 19 of file breaking_junk.c.
19 {
24 s32 numParts = 6;
25 u32 g;
26 s32 i;
27
34
37
39
41
44 if (time <= 0) {
46 } else {
48 }
50
51 for (i = 0; i < effect->
numParts; i++, data++) {
66 if (data->
primR > 255) {
68 }
69 if (data->
primG > 255) {
71 }
72 if (data->
primB > 255) {
74 }
79 }
80 return effect;
81}
void breaking_junk_update(EffectInstance *effect)
void breaking_junk_init(EffectInstance *effect)
void breaking_junk_render(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)
◆ D_09000400_403FF0
◆ D_090005A8_404198
◆ D_090005C8_4041B8
◆ D_090005E8_4041D8
◆ D_09000608_4041F8
◆ D_E01187B0
◆ D_E01187C0