Go to the source code of this file.
◆ ending_decals_init()
◆ ending_decals_update()
Definition at line 86 of file ending_decals.c.
86 {
88
90 effect->
flags &= ~FX_INSTANCE_FLAG_DISMISS;
92 }
93
96 }
97
99
102 return;
103 }
104
109 }
110 }
111}
struct EndingDecalsFXData * endingDecals
@ FX_INSTANCE_FLAG_DISMISS
Referenced by ending_decals_main().
◆ ending_decals_render()
Definition at line 113 of file ending_decals.c.
113 {
118
121 renderTask.
dist = 10;
122 if (data->
type == 0) {
124 } else {
126 }
127
130}
#define queue_render_task
void ending_decals_appendGfx(void *effect)
@ RENDER_TASK_FLAG_REFLECT_FLOOR
@ RENDER_MODE_SURFACE_OPA
@ RENDER_MODE_CLOUD_NO_ZCMP
void(* appendGfx)(void *)
Referenced by ending_decals_main().
◆ ending_decals_appendGfx()
void ending_decals_appendGfx |
( |
void * | effect | ) |
|
Definition at line 132 of file ending_decals.c.
132 {
134 Gfx* dlist1;
135 Gfx* dlist2;
136 u32 unk_20;
137 s32 alpha;
138 f64 temp_f64;
140
144
147
150
152
154 if (unk_20 % 2 == 0) {
155 alpha = temp_f64 * 0.97;
156 } else {
157 alpha = temp_f64;
158 }
159
166
169 }
170
177}
#define VIRTUAL_TO_PHYSICAL(addr)
DisplayContext * gDisplayContext
Referenced by ending_decals_render().
◆ ending_decals_main()
void ending_decals_main |
( |
s32 | type, |
|
|
f32 | posX, |
|
|
f32 | posY, |
|
|
f32 | posZ, |
|
|
f32 | arg4, |
|
|
EffectInstance ** | outEffect ) |
Definition at line 31 of file ending_decals.c.
31 {
35 s32 numParts = 1;
36
43
48
58
59 switch (type) {
60 case 0:
61 case 1:
68 break;
69 case 2:
70 default:
77 break;
78 }
79
80 *outEffect = effect;
81}
#define general_heap_malloc
#define create_effect_instance
#define ASSERT(condition)
void ending_decals_update(EffectInstance *effect)
void ending_decals_render(EffectInstance *effect)
void ending_decals_init(EffectInstance *effect)
void(* renderUI)(EffectInstance *effectInst)
void(* init)(EffectInstance *effectInst)
void(* update)(EffectInstance *effectInst)
void(* renderWorld)(EffectInstance *effectInst)
◆ D_09001E40_36CD20
◆ D_09001EA8_36CD88
◆ D_09001F10_36CDF0
◆ D_09001F78_36CE58
◆ D_09002058_36CF38
◆ D_09002078_36CF58
◆ D_E00685B0
◆ D_E00685BC
◆ D_E00685F4