Go to the source code of this file.
◆ cloud_puff_init()
◆ cloud_puff_update()
Definition at line 62 of file cloud_puff.c.
62 {
64 s32 cond = FALSE;
65 s32 i;
66
67 for (i = 0; i < effect->
numParts; i++, part++) {
72 } else {
73 cond = TRUE;
85
88 }
89
92 }
93 }
94 }
95 }
96
97 if (!cond) {
99 }
100}
struct CloudPuffFXData * cloudPuff
Referenced by cloud_puff_main().
◆ cloud_puff_render()
Definition at line 102 of file cloud_puff.c.
102 {
105
110
113}
void cloud_puff_appendGfx(void *effect)
#define queue_render_task
@ RENDER_TASK_FLAG_REFLECT_FLOOR
@ RENDER_MODE_PASS_THROUGH
void(* appendGfx)(void *)
Referenced by cloud_puff_main().
◆ cloud_puff_appendGfx()
void cloud_puff_appendGfx |
( |
void * | effect | ) |
|
Definition at line 115 of file cloud_puff.c.
115 {
120 s32 i;
121
125
126 for (i = 0; i < effectTemp->
numParts; i++, part++) {
133
136 G_MTX_PUSH | G_MTX_MUL | G_MTX_MODELVIEW);
139 }
140 }
142}
struct EffectGraphics * graphics
#define VIRTUAL_TO_PHYSICAL(addr)
DisplayContext * gDisplayContext
Referenced by cloud_puff_render().
◆ cloud_puff_main()
void cloud_puff_main |
( |
f32 | x, |
|
|
f32 | y, |
|
|
f32 | z, |
|
|
f32 | angle ) |
Definition at line 12 of file cloud_puff.c.
12 {
15 f32 radialAngle;
17 s32 numParts = 8;
18 s32 i;
19
26
32
33 mem_clear(part, numParts *
sizeof(*part));
34
35 for (i = 0; i < numParts; i++, part++) {
51 part->
jerkY = 0.00005f;
56 }
57}
void cloud_puff_update(EffectInstance *effect)
void cloud_puff_render(EffectInstance *effect)
void cloud_puff_init(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_090000E0_32ED30
◆ D_090001B8_32EE08