Go to the source code of this file.
◆ effect_75_init()
◆ effect_75_update()
Definition at line 78 of file effect_75.c.
78 {
81
83 effect->
flags &= ~FX_INSTANCE_FLAG_DISMISS;
85 }
86
89 }
90
92 if (data->
unk_14 > 108000) {
94 }
95
98 return;
99 }
100
102
105 }
106
109 }
110
117
122
123 if (data->
unk_40 < 0.0f) {
125 }
126 if (data->
unk_44 < 0.0f) {
128 }
129 if (data->
unk_50 < 0.0f) {
131 }
132 if (data->
unk_54 < 0.0f) {
134 }
135
136 if (data->
unk_40 > 256.0f) {
138 }
139 if (data->
unk_44 > 256.0f) {
141 }
142 if (data->
unk_50 > 256.0f) {
144 }
145 if (data->
unk_54 > 256.0f) {
147 }
148
152}
struct Effect75FXData * unk_75
@ FX_INSTANCE_FLAG_DISMISS
Referenced by effect_75_main().
◆ effect_75_render()
Definition at line 154 of file effect_75.c.
154 {
159 s32 outDist;
160 f32 outX;
161 f32 outY;
162 f32 outZ;
163 f32 outS;
164
167 &outX, &outY, &outZ, &outS);
168
169 outDist = outZ + 5000;
170 if (outDist < 0) {
171 outDist = 0;
172 } else if (outDist > 10000) {
173 outDist = 10000;
174 }
175
176 if (outS < 0.01 && -0.01 < outS) {
177 outDist = 0;
178 }
179
181 renderTaskPtr->
dist = -outDist;
184
187}
void effect_75_appendGfx(void *effect)
#define queue_render_task
@ RENDER_TASK_FLAG_REFLECT_FLOOR
@ RENDER_MODE_SURFACE_XLU_LAYER1
void(* appendGfx)(void *)
Referenced by effect_75_main().
◆ effect_75_appendGfx()
void effect_75_appendGfx |
( |
void * | effect | ) |
|
Definition at line 192 of file effect_75.c.
192 {
195 s32 type = data->
type;
196 s32 uls0 = data->
unk_40 * 4.0f;
197 s32 ult0 = data->
unk_44 * 4.0f;
198 s32 uls1 = data->
unk_50 * 4.0f;
199 s32 ult1 = data->
unk_54 * 4.0f;
202
205
208 guMtxCatF(mtxTemp, mtxTransfrom, mtxTransfrom);
209 if (type == 1) {
210 guRotateF(mtxTemp, 180.0f, 0.0f, 0.0f, 1.0f);
211 guMtxCatF(mtxTemp, mtxTransfrom, mtxTransfrom);
212 }
214
220 gDPSetTileSize(
gMainGfxPos++, G_TX_RENDERTILE, uls0, ult0, uls0 + 252, ult0 + 252);
221 gDPSetTileSize(
gMainGfxPos++, 1, uls1, ult1, uls1 + 252, ult1 + 252);
224}
#define VIRTUAL_TO_PHYSICAL(addr)
DisplayContext * gDisplayContext
Referenced by effect_75_render().
◆ effect_75_main()
EffectInstance * effect_75_main |
( |
s32 | arg0, |
|
|
f32 | posX, |
|
|
f32 | posY, |
|
|
f32 | posZ, |
|
|
f32 | scale, |
|
|
s32 | arg5 ) |
Definition at line 16 of file effect_75.c.
16 {
20 s32 numParts = 1;
21 s32 i;
22
29
34
37 if (arg5 <= 0) {
39 } else {
41 }
71
72 return effect;
73}
void effect_75_init(EffectInstance *effect)
void effect_75_update(EffectInstance *effect)
void effect_75_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)
◆ func_E00EA664()
void func_E00EA664 |
( |
void | | ) |
|
◆ D_09001910_3E4270
◆ D_09001A00_3E4360
◆ D_09001A20_3E4380
◆ D_E00EAA50
◆ D_E00EAA58