4s8
D_E000E660[16] = { 0, 1, 2, 2, 3, 3, 4, 4, 5, 5, 5, 6, 6, 6, -1, 0 };
6s8
D_E000E670[20] = { 0, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 6, 7, 7, 7, -1, 0, 0, 0 };
42 mem_clear(data, numParts *
sizeof(*data));
47 for (i = 0; i < numParts; i++, data++) {
54 data->
unk_58 = 0.33333334f;
73 for (i = 0; i < effect->
numParts; i++, data++) {
98 s32 temp_t3 = data->
unk_04;
99 s32 temp_t4 = data->
unk_74;
129 if ((data->
unk_6C == 0 && temp_t4 == 6) || (data->
unk_6C == 1 && temp_t4 == 7)) {
137 gDPSetPrimColor(
gMainGfxPos++, 0, 0, 230, 222, 222, 110);
145 temp_lo = temp_t4 * phi_t1;
146 temp_a0 = temp_lo + phi_t1;
148 gDPSetTileSize(
gMainGfxPos++, G_TX_RENDERTILE, temp_lo * 4, 0, (temp_a0 - 1) * 4, ((phi_t1 - 1) * 4));
151 gDPSetTileSize(
gMainGfxPos++, 1, temp_a0 * 4, 0, ((temp_lo + (phi_t1 * 2)) - 1) * 4, 0);
153 gDPSetTileSize(
gMainGfxPos++, 1, temp_a0 * 4, 0, ((temp_lo + (phi_t1 * 2)) - 1) * 4, (phi_t1 - 1) * 4);
156 for (i = 0; i < effectTemp->
numParts; i++, data++) {
162 G_MTX_PUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
#define general_heap_malloc
#define queue_render_task
#define create_effect_instance
struct WalkingDustFXData * walkingDust
struct EffectGraphics * graphics
#define ASSERT(condition)
@ RENDER_TASK_FLAG_REFLECT_FLOOR
@ RENDER_MODE_PASS_THROUGH
#define VIRTUAL_TO_PHYSICAL(addr)
void(* renderUI)(EffectInstance *effectInst)
void(* init)(EffectInstance *effectInst)
void(* update)(EffectInstance *effectInst)
void(* renderWorld)(EffectInstance *effectInst)
void(* appendGfx)(void *)
DisplayContext * gDisplayContext
void walking_dust_init(EffectInstance *effect)
void walking_dust_render(EffectInstance *effect)
void walking_dust_main(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5)
void walking_dust_appendGfx(void *effect)
void walking_dust_update(EffectInstance *effect)