Go to the source code of this file.
◆ waterfall_init()
◆ waterfall_update()
Definition at line 64 of file waterfall.c.
64 {
68
72 }
73
76 }
77
79
82 return;
83 }
84
86
89 }
90
93 }
94
95 for (i = 0; i < 12; i++) {
98 if (data->
unk_5C[i] > 5.0f) {
100 }
101 }
102}
BSS s32 PopupMenu_SelectedIndex
struct WaterfallFXData * waterfall
EffectInstanceDataPtr data
@ FX_INSTANCE_FLAG_DISMISS
Referenced by waterfall_main().
◆ waterfall_render()
Definition at line 104 of file waterfall.c.
104 {
107
112
114}
#define queue_render_task
@ RENDER_MODE_CLOUD_NO_ZCMP
void(* appendGfx)(void *)
void waterfall_appendGfx(void *effect)
Referenced by waterfall_main().
◆ waterfall_appendGfx()
| void waterfall_appendGfx |
( |
void * | effect | ) |
|
Definition at line 119 of file waterfall.c.
119 {
131
134
139
145
148
150
152 vtx->ob[0] = i * 50 - 300;
153 vtx->ob[1] = 600;
154 vtx->ob[2] = 0;
155 vtx->tc[0] = (
unk_14 + i * 4) * 32;
157 vtx->cn[0] = 255;
158 vtx->cn[1] = 255;
159 vtx->cn[2] = 255;
160 vtx->cn[3] = -i * 20 - 1;
161 vtx++;
162
163 vtx->ob[0] = i * 50 - 300;
164 vtx->ob[1] = (data->
unk_2C[i] + 60.0f) * 10.0f;
165 vtx->ob[2] = 0;
166 vtx->tc[0] = (
unk_14 + i * 4) * 32;
167 vtx->tc[1] = 1024;
168 vtx->cn[0] = 255;
169 vtx->cn[1] = 255;
170 vtx->cn[2] = 255;
171 vtx->cn[3] = -i * 20 - 1;
172 vtx++;
173 }
174
176
178
179 for (i = 0; i <
savedIdx - 1; i++) {
184 }
185
187}
#define VIRTUAL_TO_PHYSICAL(addr)
DisplayContext * gDisplayContext
Referenced by waterfall_render().
◆ waterfall_main()
Definition at line 11 of file waterfall.c.
18 {
24
31
36
41 } else {
43 }
52
53 for (i = 0; i < 12; i++) {
56 }
57
58 return effect;
59}
#define general_heap_malloc
#define create_effect_instance
#define ASSERT(condition)
void waterfall_init(EffectInstance *effect)
void waterfall_render(EffectInstance *effect)
void waterfall_update(EffectInstance *effect)
◆ func_E00B62D8()
◆ D_09000200_3B7AD0