Go to the source code of this file.
◆ energy_shockwave_init()
◆ energy_shockwave_update()
Definition at line 64 of file energy_shockwave.c.
64 {
66 s32 unk_28;
67 s32 unk_2C;
68 f32 angle;
69
72
75
76 if (unk_28 < 0) {
78 return;
79 }
80
81 if (unk_2C % 2) {
87 }
88
90
91 if (unk_28 < 10) {
92 data->
unk_24 = unk_28 * 25;
93 }
94
99
100 if (data->
unk_30 > 128.0f) {
102 }
103 if (data->
unk_34 > 128.0f) {
105 }
106 if (data->
unk_38 > 128.0f) {
108 }
109 if (data->
unk_3C > 128.0f) {
111 }
112
113 if (data->
unk_30 < 0.0f) {
115 }
116 if (data->
unk_34 < 0.0f) {
118 }
119 if (data->
unk_38 < 0.0f) {
121 }
122 if (data->
unk_3C < 0.0f) {
124 }
125}
struct EnergyShockwaveFXData * energyShockwave
s32 effect_simple_rand(s32, s32)
EffectInstance * shimmer_wave_main(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, s32 arg6, s32 arg7)
Referenced by energy_shockwave_main().
◆ energy_shockwave_render()
Definition at line 127 of file energy_shockwave.c.
127 {
130
133 renderTask.
dist = 10;
135
138}
#define queue_render_task
void energy_shockwave_appendGfx(void *effect)
@ RENDER_TASK_FLAG_REFLECT_FLOOR
@ RENDER_MODE_SURFACE_XLU_LAYER3
void(* appendGfx)(void *)
Referenced by energy_shockwave_main().
◆ energy_shockwave_appendGfx()
void energy_shockwave_appendGfx |
( |
void * | effect | ) |
|
Definition at line 140 of file energy_shockwave.c.
140 {
144 s32 uls;
145 s32 ult;
146 s32 uls2;
147 s32 ult2;
148
154
159
160 gDPSetTileSize(
gMainGfxPos++, G_TX_RENDERTILE, uls, ult, uls + 252, ult + 252);
161 gDPSetTileSize(
gMainGfxPos++, 1, uls2, ult2, uls2 + 124, ult2 + 124);
162
167
172}
#define VIRTUAL_TO_PHYSICAL(addr)
DisplayContext * gDisplayContext
Referenced by energy_shockwave_render().
◆ energy_shockwave_main()
void energy_shockwave_main |
( |
s32 | arg0, |
|
|
f32 | arg1, |
|
|
f32 | arg2, |
|
|
f32 | arg3, |
|
|
f32 | arg4, |
|
|
s32 | arg5 ) |
Definition at line 12 of file energy_shockwave.c.
19 {
23 s32 numParts = 31;
24
30 bp.
effectID = EFFECT_ENERGY_SHOCKWAVE;
31
36
57}
#define general_heap_malloc
#define create_effect_instance
#define ASSERT(condition)
void energy_shockwave_init(EffectInstance *effect)
void energy_shockwave_update(EffectInstance *effect)
void energy_shockwave_render(EffectInstance *effect)
void(* renderUI)(EffectInstance *effectInst)
void(* init)(EffectInstance *effectInst)
void(* update)(EffectInstance *effectInst)
void(* renderWorld)(EffectInstance *effectInst)
◆ EFFECT_DEF_SHIMMER_WAVE()
◆ D_09000DC0_3762D0
◆ D_09000E60_376370