50 data->
pos.
x = offsetX;
51 data->
pos.
y = offsetY;
52 data->
pos.
z = offsetZ;
80 effect->
flags &= ~FX_INSTANCE_FLAG_DISMISS;
99 if (data->
alpha < 0) {
123 * ((
sin_deg((time * 2 + (20 * i))) * 0.01) + 0.05)
124 *
sin_deg(((f32) time * 0.25) + (
SQ(i) * 20));
141 renderTask.
dist = 10;
167 guOrthoF(mtx, -1600.0f, 1600.0f, -1200.0f, 1200.0f, -100.0f, 100.0f, 1.0f);
169 guOrthoF(mtx, 1600.0f, -1600.0f, -1200.0f, 1200.0f, -100.0f, 100.0f, 1.0f);
174 G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_PROJECTION);
178 G_MTX_PUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
186 gDPSetTileSize(
gMainGfxPos++, 1, offsetS + (44 * i), 0, offsetS + (44 * i) + 252, 124);
191 G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_PROJECTION);
#define general_heap_malloc
#define queue_render_task
#define create_effect_instance
struct EffectGraphics * graphics
#define ASSERT(condition)
@ FX_INSTANCE_FLAG_DISMISS
@ RENDER_TASK_FLAG_REFLECT_FLOOR
@ RENDER_MODE_CLOUD_NO_ZCMP
#define VIRTUAL_TO_PHYSICAL(addr)
void(* renderUI)(EffectInstance *effectInst)
void(* init)(EffectInstance *effectInst)
void(* update)(EffectInstance *effectInst)
void(* renderWorld)(EffectInstance *effectInst)
void(* appendGfx)(void *)
void sun_update(EffectInstance *effect)
void sun_render(EffectInstance *effect)
EffectInstance * sun_main(s32 shineFromRight, f32 offsetX, f32 offsetY, f32 offsetZ, f32 arg4, s32 duration)
void sun_init(EffectInstance *effect)
void sun_appendGfx(void *effect)
DisplayContext * gDisplayContext