45 gSPPopMatrix(gfxPos++, G_MTX_MODELVIEW);
47 gDPPipeSync(gfxPos++);
48 gDPSetTextureLUT(gfxPos++, G_TT_RGBA16);
50 gSPTexture(gfxPos++, 0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON);
51 gDPSetCombineMode(gfxPos++, G_CC_MODULATEIA, G_CC_MODULATEIA);
52 gDPSetTextureDetail(gfxPos++, G_TD_CLAMP);
53 gDPSetTextureLOD(gfxPos++, G_TL_TILE);
54 gDPLoadTextureBlock_4b(gfxPos++,
D_0A000508_E55F48, G_IM_FMT_CI, 128, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, 7, 5, G_TX_NOLOD, G_TX_NOLOD);
55 gDPSetTexturePersp(gfxPos++, G_TP_PERSP);
56 gDPSetTextureFilter(gfxPos++, G_TF_BILERP);
71 x = playerStatus->
pos.
x;
72 y = playerStatus->
pos.
y + 5.0f;
73 z = playerStatus->
pos.
z;
94 entity->
pos.
y -= 2.0f;
133 switch (data->
state) {
144 temp = entity->
pos.
y;
204 entity->
rot.
z = 0.0f;
208 if (--data->
timer == 0) {
213 entity->
pos.
y -= 8.0f;
235 if (data->
flags & 1) {
267 .modelAnimationNodes = 0,
270 .fpHandleCollision = NULL,
273 .aabbSize = { 35, 35, 35 }
struct StarBoxLauncherData * starBoxLauncher
#define npc_raycast_down_sides
#define STANDARD_ENTITY_MODEL_SCRIPT(gfx, renderMode)
#define ENTITY_ADDR(entity, type, data)
#define es_SetCallback(func, time)
@ COLLIDER_FLAG_IGNORE_PLAYER
@ ENTITY_TYPE_STAR_BOX_LAUNCHER
@ ENTITY_COLLISION_PLAYER_HAMMER
@ ENTITY_COLLISION_PLAYER_TOUCH_FLOOR
@ SOUND_STAR_BOX_LAUNCHER
@ RENDER_MODE_SURFACE_OPA
@ ACTION_STATE_SPIN_POUND
@ ACTION_STATE_TORNADO_POUND
Entity * get_entity_by_index(s32 index)
s32 entity_start_script(Entity *entity)
s32 disable_player_static_collisions(void)
f32 player_get_side_angle(void)
u32 get_entity_type(s32 arg0)
void exec_entity_commandlist(Entity *entity)
s32 enable_player_static_collisions(void)
void add_vec2D_polar(f32 *x, f32 *y, f32 r, f32 theta)
void sfx_play_sound(s32 soundID)
void entity_StarBoxLauncher_init(Entity *entity)
Gfx Entity_StarBoxLauncher_RenderTop[]
EntityModelScript Entity_StarBoxLauncher_RenderScript
void entity_StarBoxLauncher_shake_box(Entity *entity)
void entity_StarBoxLauncher_setupGfx(s32 entityIndex)
void func_802BC99C_E312EC(Entity *entity)
void entity_StarBoxLauncher_launch(Entity *entity)
void entity_StarBoxLauncher_update_face_anim(Entity *entity)
void entity_StarBoxLauncher_start_script(Entity *entity)
unsigned char D_0A000508_E55F48[]
unsigned char D_0A000D08_E56748[]
void entity_StarBoxLauncher_restore_pos(Entity *entity)
EntityScript Entity_StarBoxLauncher_Script
void entity_StarBoxLauncher_check_launch(Entity *entity)
EntityBlueprint Entity_StarBoxLauncher
Gfx Entity_StarBoxLauncher_RenderBottom[]
#define COLLISION_WITH_ENTITY_BIT
void(* renderSetupFunc)(s32)
CollisionStatus gCollisionStatus
s32 NpcHitQueryColliderID
PlayerStatus gPlayerStatus
DisplayContext * gDisplayContext
void fx_damage_stars(s32, f32, f32, f32, f32, f32, f32, s32)