23 bp.
effectID = EFFECT_MERLIN_HOUSE_STARS;
55 effect->
flags &= ~FX_INSTANCE_FLAG_DISMISS;
82 data->
alpha = unk_04 * 16;
87 }
else if (data->
unk_1C > 128.0f) {
94 }
else if (data->
unk_20 > 128.0f) {
101 }
else if (data->
unk_24 > 128.0f) {
106 if (data->
unk_28 < 0.0f) {
108 }
else if (data->
unk_28 > 128.0f) {
129#define PM_CC1_MERLIN_STARS 0, 0, 0, 1, TEXEL1, 0, PRIMITIVE, TEXEL0
130#define PM_CC2_MERLIN_STARS 0, 0, 0, COMBINED, COMBINED, 0, ENVIRONMENT, 0
134 s32 envAlpha = data->
alpha;
144 guScaleF(sp50, 0.96f, 0.96f, 0.96f);
149 gDPSetPrimColor(
gMainGfxPos++, 0, 0, 0, 0, 0, 127);
154 uls = data->
unk_1C * 4.0f;
155 ult = data->
unk_20 * 4.0f;
156 gDPSetTileSize(
gMainGfxPos++, G_TX_RENDERTILE, uls, ult, uls + 252, ult + 252);
158 uls = data->
unk_24 * 4.0f;
159 ult = data->
unk_28 * 4.0f;
160 gDPSetTileSize(
gMainGfxPos++, 1, uls, ult, uls + 252, ult + 252);
#define general_heap_malloc
#define queue_render_task
#define create_effect_instance
struct MerlinHouseStarsFXData * merlinHouseStars
#define ASSERT(condition)
@ FX_INSTANCE_FLAG_DISMISS
@ RENDER_TASK_FLAG_REFLECT_FLOOR
@ RENDER_MODE_CLOUD_NO_ZCMP
EffectInstance * merlin_house_stars_main(s32 arg0, f32 arg1, f32 arg2, f32 arg3)
void merlin_house_stars_appendGfx(void *effect)
#define PM_CC1_MERLIN_STARS
#define PM_CC2_MERLIN_STARS
void merlin_house_stars_init(EffectInstance *effect)
void merlin_house_stars_render(EffectInstance *effect)
void merlin_house_stars_update(EffectInstance *effect)
#define VIRTUAL_TO_PHYSICAL(addr)
void(* renderUI)(EffectInstance *effectInst)
void(* init)(EffectInstance *effectInst)
void(* update)(EffectInstance *effectInst)
void(* renderWorld)(EffectInstance *effectInst)
void(* appendGfx)(void *)
DisplayContext * gDisplayContext