Go to the source code of this file.
◆ stars_burst_init()
◆ stars_burst_update()
Definition at line 88 of file stars_burst.c.
88 {
90 s32 unk_30;
91 s32 i;
92
95
98 return;
99 }
100
102 if (unk_30 < 10) {
104 }
105
106 part++;
107 for (i = 1; i < effect->
numParts; i++, part++) {
112 if (unk_30 < 10) {
114 }
115 }
116}
struct StarsBurstFXData * starsBurst
Referenced by stars_burst_main().
◆ stars_burst_render()
Definition at line 118 of file stars_burst.c.
118 {
121
126
129}
#define queue_render_task
@ RENDER_TASK_FLAG_REFLECT_FLOOR
@ RENDER_MODE_CLOUD_NO_ZCMP
void stars_burst_appendGfx(void *effect)
void(* appendGfx)(void *)
Referenced by stars_burst_main().
◆ stars_burst_appendGfx()
void stars_burst_appendGfx |
( |
void * | effect | ) |
|
Definition at line 131 of file stars_burst.c.
131 {
134 s32 unk_2C;
137 s32 baseIdx;
138 s32 i;
139
143
145
146 baseIdx = (part->
unk_34 - 1) * 3;
147 baseIdx %= 36;
148
149 part++;
150 for (i = 1; i < ((
EffectInstance*)effect)->numParts; i++, part++) {
151 s32 rIdx = baseIdx + i * 3;
152 s32 gIdx = baseIdx + 1 + i * 3;
153 s32 bIdx = baseIdx + 2 + i * 3;
154
156
163
167 }
168}
#define VIRTUAL_TO_PHYSICAL(addr)
DisplayContext * gDisplayContext
Referenced by stars_burst_render().
◆ stars_burst_main()
void stars_burst_main |
( |
s32 | arg0, |
|
|
f32 | arg1, |
|
|
f32 | arg2, |
|
|
f32 | arg3, |
|
|
f32 | arg4, |
|
|
f32 | arg5, |
|
|
s32 | arg6 ) |
Definition at line 27 of file stars_burst.c.
35 {
41 s32 numParts = arg6;
42 f32 temp;
43 s32 i;
44
45 if (arg6 != 0) {
46 numParts++;
47
53 bpPtr->
effectID = EFFECT_STARS_BURST;
54
59
67
68 part++;
69 for (i = 1; i < numParts; i++, part++) {
71
80 part->
unk_24 = temp / 10.0;
81 }
82 }
83}
#define general_heap_malloc
#define create_effect_instance
#define ASSERT(condition)
void stars_burst_render(EffectInstance *effect)
void stars_burst_init(EffectInstance *effect)
void stars_burst_update(EffectInstance *effect)
void(* renderUI)(EffectInstance *effectInst)
void(* init)(EffectInstance *effectInst)
void(* update)(EffectInstance *effectInst)
void(* renderWorld)(EffectInstance *effectInst)
◆ D_090004C0_343500
◆ D_090005E0_343620
◆ D_E0042780
Initial value:= {
254, 172, 172,
254, 172, 213,
254, 180, 154,
213, 180, 254,
180, 180, 254,
180, 221, 254,
180, 254, 254,
180, 254, 213,
180, 254, 180,
213, 254, 180,
254, 254, 180,
254, 213, 172,
}
Definition at line 7 of file stars_burst.c.
7 {
8 254, 172, 172,
9 254, 172, 213,
10 254, 180, 154,
11 213, 180, 254,
12 180, 180, 254,
13 180, 221, 254,
14 180, 254, 254,
15 180, 254, 213,
16 180, 254, 180,
17 213, 254, 180,
18 254, 254, 180,
19 254, 213, 172,
20};
Referenced by stars_burst_appendGfx().