Go to the source code of this file.
◆ stars_orbiting_init()
◆ stars_orbiting_update()
Definition at line 72 of file stars_orbiting.c.
72 {
74 f32 radius;
75 s32 i;
76
81
82 part++;
83 for (i = 1; i < effect->
numParts; i++, part++) {
90 if (part->
yaw > 360) {
92 }
93 }
94 }
95}
struct StarsOrbitingFXData * starsOrbiting
Referenced by stars_orbiting_main().
◆ stars_orbiting_render()
◆ func_E005E318()
◆ func_E005E334()
Definition at line 104 of file stars_orbiting.c.
104 {
109 s32 i;
110
114
118
123
125 gDPSetPrimColor(
gMainGfxPos++, 0, 0, 220, 220, 40, 255);
126
127 part++;
128 for (i = 1; i < effect->
numParts; i++, part++) {
133
137 }
138
140 }
141}
#define VIRTUAL_TO_PHYSICAL(addr)
DisplayContext * gDisplayContext
Referenced by func_E005E318().
◆ stars_orbiting_main()
void stars_orbiting_main |
( |
s32 | type, |
|
|
f32 | posX, |
|
|
f32 | posY, |
|
|
f32 | posZ, |
|
|
f32 | radius, |
|
|
s32 | numStars, |
|
|
EffectInstance ** | outEffect ) |
Definition at line 16 of file stars_orbiting.c.
24 {
28 s32 i;
29
30 numStars++;
31
38
43
44 mem_clear(part, numStars *
sizeof(*part));
45
54
55 part++;
56 for (i = 1; i < numStars; i++, part++) {
60 part->
roll = (i - 1) * 360 / (numStars - 1);
63 part->
yaw = (i - 1) * 360 / (numStars - 1);
64 }
65
66 *outEffect = effect;
67}
#define general_heap_malloc
#define create_effect_instance
#define ASSERT(condition)
void stars_orbiting_render(EffectInstance *effect)
void stars_orbiting_update(EffectInstance *effect)
void func_E005E318(EffectInstance *effect)
void stars_orbiting_init(EffectInstance *effect)
void(* renderUI)(EffectInstance *effectInst)
void(* init)(EffectInstance *effectInst)
void(* update)(EffectInstance *effectInst)
void(* renderWorld)(EffectInstance *effectInst)
◆ D_09000440_363090
◆ D_090004F0_363140
◆ D_E005E670
◆ D_E005E674