Go to the source code of this file.
◆ music_note_appendGfx()
void music_note_appendGfx |
( |
void * | effect | ) |
|
Definition at line 131 of file music_note.c.
131 {
137 s32 rgbOffset;
138
139
142
148 );
151 guMtxCatF(mtxTemp, mtxTransform, mtxTransform);
153 guMtxCatF(mtxTemp, mtxTransform, mtxTransform);
159}
struct MusicNoteFXData * musicNote
#define VIRTUAL_TO_PHYSICAL(addr)
DisplayContext * gDisplayContext
Referenced by music_note_render().
◆ music_note_init()
◆ music_note_update()
Definition at line 94 of file music_note.c.
94 {
96 s32 timeLeft;
97
101 if (timeLeft < 0) {
103 return;
104 }
105 if (timeLeft >= 6) {
108 }
109 if (timeLeft < 10) {
110 part->
alpha = timeLeft * 25;
111 }
116}
Referenced by music_note_main().
◆ music_note_render()
Definition at line 118 of file music_note.c.
118 {
121
126
129}
#define queue_render_task
@ RENDER_TASK_FLAG_REFLECT_FLOOR
@ RENDER_MODE_CLOUD_NO_ZCMP
void music_note_appendGfx(void *effect)
void(* appendGfx)(void *)
Referenced by music_note_main().
◆ music_note_main()
void music_note_main |
( |
s32 | type, |
|
|
f32 | posX, |
|
|
f32 | posY, |
|
|
f32 | posZ ) |
Definition at line 36 of file music_note.c.
36 {
41 s32 numParts = 1;
42 s32 randInt;
43
50
53
55
57
67 switch (type) {
68 case 0:
73 break;
74 case 1:
76 part->
velX = (randInt * 0.1) + -5.0;
80 break;
81 default:
83 part->
velX = 5.0 - (randInt * 0.1);
87 break;
88 }
89}
#define general_heap_malloc
#define create_effect_instance
#define ASSERT(condition)
void music_note_init(EffectInstance *effect)
void music_note_update(EffectInstance *effect)
void music_note_render(EffectInstance *effect)
void(* renderUI)(EffectInstance *effectInst)
void(* init)(EffectInstance *effectInst)
void(* update)(EffectInstance *effectInst)
void(* renderWorld)(EffectInstance *effectInst)
◆ D_09000FC0_35B5A0
◆ D_09001038_35B618
◆ D_090010C0_35B6A0
◆ D_09001148_35B728
◆ D_090011D0_35B7B0
◆ D_09001258_35B838
◆ D_090012E0_35B8C0
◆ D_09001368_35B948
◆ D_E004C660
◆ D_E004C67C
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 21 of file music_note.c.
21 {
22 254, 172, 172,
23 254, 172, 213,
24 254, 180, 154,
25 213, 180, 254,
26 180, 180, 254,
27 180, 221, 254,
28 180, 254, 254,
29 180, 254, 213,
30 180, 254, 180,
31 213, 254, 180,
32 254, 254, 180,
33 254, 213, 172,
34};
Referenced by music_note_appendGfx().