Go to the source code of this file.
◆ dust_init()
◆ dust_render()
Definition at line 115 of file dust.c.
115 {
118
123
126}
void dust_appendGfx(void *effect)
#define queue_render_task
@ RENDER_TASK_FLAG_REFLECT_FLOOR
@ RENDER_MODE_SURFACE_XLU_LAYER1
void(* appendGfx)(void *)
Referenced by dust_main().
◆ dust_update()
Definition at line 87 of file dust.c.
87 {
88 s32 i;
89 s32 unk00;
91
95 return;
96 }
97
101 }
102
103 part++;
104 for (i = 1; i < effect->
numParts; i++, part++) {
107 if (unk00 < 2) {
109 }
112 }
113}
Referenced by dust_main().
◆ dust_appendGfx()
void dust_appendGfx |
( |
void * | effect | ) |
|
Definition at line 128 of file dust.c.
128 {
130 s32 unk_00;
134 Mtx* matrix;
135 s32 i;
136
141
145
147 part++;
148 for (i = 1; i < ((
EffectInstance*)effect)->numParts; i++, part++) {
150
156
158 gSPMatrix(
gMainGfxPos++, matrix, G_MTX_NOPUSH | G_MTX_MUL | G_MTX_MODELVIEW);
159
160 if (unk_00 < 2) {
162 } else {
164 }
165
167 }
168}
#define VIRTUAL_TO_PHYSICAL(addr)
DisplayContext * gDisplayContext
Referenced by dust_render().
◆ dust_main()
EffectInstance * dust_main |
( |
s32 | arg0, |
|
|
f32 | arg1, |
|
|
f32 | arg2, |
|
|
f32 | arg3, |
|
|
s32 | arg4 ) |
Definition at line 15 of file dust.c.
15 {
20 s32 numParts;
21 s32 i;
22
23 if (arg0 < 2) {
24 numParts = 5;
25 } else {
26 numParts = 4;
27 }
28
35
40
53
54 part++;
55 for (i = 1; i < numParts; i++, part++) {
64 switch (arg0) {
65 case 0:
67 break;
68 case 1:
70 break;
71 default:
77 break;
78 }
79 }
80
81 return effect;
82}
void dust_init(EffectInstance *effect)
void dust_update(EffectInstance *effect)
void dust_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)
Referenced by chomp_drop_update(), and floating_rock_update().
◆ D_09000CC0_33FCC0
◆ D_09000D68_33FD68
◆ D_09000E18_33FE18
◆ D_09000E38_33FE38
◆ D_09000E58_33FE58