19 f32 startX, f32 startY, f32 startZ,
20 f32 endX, f32 endY, f32 endZ,
21 s32 numExtra, s32 spawnDelay, s32 duration
122 data->
velY += (f32) lifetime * 0.01;
147 data->
alpha = timeLeft * 25;
152 data->
alpha = (timeLeft * 224) / duration;
157 data->
alpha = (timeLeft * 224) / duration;
171 renderTask.
dist = data->
pos.
z + 1000.0f;
185 s32 type = data->
type;
197 guMtxCatF(tempMtx, transformMtx, transformMtx);
201 G_MTX_PUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
210 gDPSetTileSize(
gMainGfxPos++, G_TX_RENDERTILE, ((imgFrame * 32) + 0) * 4, 0, ((imgFrame * 32) + 32) * 4, 128);
211 gDPSetTileSize(
gMainGfxPos++, 1, ((imgFrame * 32) + 32) * 4, 0, ((imgFrame * 32) + 64) * 4, 128);
215 guMtxCatF(tempMtx, transformMtx, transformMtx);
217 guMtxCatF(tempMtx, transformMtx, transformMtx);
221 G_MTX_PUSH | G_MTX_MUL | G_MTX_MODELVIEW);
#define general_heap_malloc
#define queue_render_task
#define create_effect_instance
struct FireBreathFXData * fireBreath
s32 effect_simple_rand(s32, s32)
#define ASSERT(condition)
@ RENDER_TASK_FLAG_REFLECT_FLOOR
@ RENDER_MODE_CLOUD_NO_ZCMP
void fire_breath_appendGfx(void *effect)
void fire_breath_update(EffectInstance *effect)
EffectInstance * fire_breath_main(s32 type, f32 startX, f32 startY, f32 startZ, f32 endX, f32 endY, f32 endZ, s32 numExtra, s32 spawnDelay, s32 duration)
void fire_breath_render(EffectInstance *effect)
void fire_breath_init(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 *)
GameStatus * gGameStatusPtr
DisplayContext * gDisplayContext