Go to the source code of this file.
◆ floating_rock_init()
◆ floating_rock_update()
Definition at line 67 of file floating_rock.c.
67 {
69 s32 time;
70
75 return;
76 }
77
90 }
91 }
92
93 if (time < 10) {
95 }
96}
EffectInstance * dust_main(s32 arg0, f32 arg1, f32 arg2, f32 arg3, s32 arg4)
struct FloatingRockFXData * floatingRock
Referenced by floating_rock_main().
◆ floating_rock_render()
Definition at line 98 of file floating_rock.c.
98 {
102
107
110}
#define queue_render_task
@ RENDER_TASK_FLAG_REFLECT_FLOOR
@ RENDER_MODE_CLOUD_NO_ZCMP
void floating_rock_appendGfx(void *effect)
void(* appendGfx)(void *)
Referenced by floating_rock_main().
◆ floating_rock_appendGfx()
void floating_rock_appendGfx |
( |
void * | effect | ) |
|
Definition at line 112 of file floating_rock.c.
112 {
114 s32 alpha = data->
alpha;
116
119
122
124 gDPSetPrimColor(
gMainGfxPos++, 0, 0, 215, 215, 110, alpha);
125
126 if (alpha != 255) {
127 gDPSetRenderMode(
gMainGfxPos++, G_RM_AA_ZB_XLU_SURF, G_RM_AA_ZB_XLU_SURF2);
128 } else {
129 gDPSetRenderMode(
gMainGfxPos++, G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2);
130 }
131
136}
#define VIRTUAL_TO_PHYSICAL(addr)
DisplayContext * gDisplayContext
Referenced by floating_rock_render().
◆ floating_rock_main()
EffectInstance * floating_rock_main |
( |
s32 | type, |
|
|
f32 | posX, |
|
|
f32 | posY, |
|
|
f32 | posZ, |
|
|
f32 | floorY, |
|
|
f32 | fallVelocity, |
|
|
f32 | fallAccel, |
|
|
f32 | scale, |
|
|
s32 | duration ) |
Definition at line 19 of file floating_rock.c.
19 {
23 s32 numParts = 1;
24
31
36
42 data->
vel.
y = fallVelocity;
54
55 data->
scale = 2.0f * scale;
58
59 return effect;
60}
#define general_heap_malloc
#define create_effect_instance
#define ASSERT(condition)
void floating_rock_render(EffectInstance *effect)
void floating_rock_init(EffectInstance *effect)
void floating_rock_update(EffectInstance *effect)
void(* renderUI)(EffectInstance *effectInst)
void(* init)(EffectInstance *effectInst)
void(* update)(EffectInstance *effectInst)
void(* renderWorld)(EffectInstance *effectInst)
◆ EFFECT_DEF_DUST()
◆ D_090003A0_396490
◆ D_090003E0_3964D0
◆ D_09000410_396500
◆ D_09000450_396540
◆ D_E0098510