Go to the source code of this file.
◆ debuff_init()
◆ debuff_update()
Definition at line 85 of file debuff.c.
85 {
87 s32 time;
88 s32 i;
89
94 return;
95 }
96
98
99 if (time > 10) {
101 }
102
103 data++;
104 for (i = 1; i < effect->
numParts; i++, data++) {
105 if (time > 10) {
109 }
110 if (time < 10) {
114 }
117 }
118}
struct DebuffFXData * debuff
Referenced by debuff_main().
◆ debuff_render()
Definition at line 120 of file debuff.c.
120 {
123
128
131}
void debuff_appendGfx(void *effect)
#define queue_render_task
@ RENDER_TASK_FLAG_REFLECT_FLOOR
@ RENDER_MODE_PASS_THROUGH
void(* appendGfx)(void *)
Referenced by debuff_main().
◆ debuff_appendGfx()
void debuff_appendGfx |
( |
void * | effect | ) |
|
Definition at line 133 of file debuff.c.
133 {
141 s32 i;
142
146
149 guMtxCatF(mtxRotate, mtxTranslate, mtxTransform);
151
156
157 data++;
158 for (i = 1; i < eff->
numParts; i++, data++) {
161 guMtxCatF(mtxRotate, mtxTranslate, mtxTranslate);
163 guMtxCatF(mtxRotate, mtxTranslate, mtxTranslate);
165
170 }
171
174}
struct EffectGraphics * graphics
#define VIRTUAL_TO_PHYSICAL(addr)
DisplayContext * gDisplayContext
Referenced by debuff_render().
◆ debuff_main()
Definition at line 15 of file debuff.c.
15 {
19 s32 numParts = 8;
20 s32 i;
21
28
31
33
35
36 mem_clear(data, numParts *
sizeof(*data));
37
45
46 if (type == 0) {
53 } else {
60 }
61
62 data++;
63 for (i = 1; i < numParts; i++, data++) {
64 s32 angle = ((i - 1) * 360) / (numParts - 1);
65 f32 temp2 = 1.0f;
66
77 }
78
79 return effect;
80}
void debuff_init(EffectInstance *effect)
void debuff_render(EffectInstance *effect)
void debuff_update(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)
◆ D_09000240_364E40
◆ D_090002E8_364EE8
◆ D_E00628C0
◆ D_E00628C4