papermario
Decompilation of Paper Mario
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Loading...
Searching...
No Matches
StarBoxLauncher.c File Reference

Functions

void entity_StarBoxLauncher_setupGfx (s32 entityIndex)
 
void entity_StarBoxLauncher_check_launch (Entity *entity)
 
void entity_StarBoxLauncher_update_face_anim (Entity *entity)
 
void entity_StarBoxLauncher_shake_box (Entity *entity)
 
void entity_StarBoxLauncher_restore_pos (Entity *entity)
 
void entity_StarBoxLauncher_launch (Entity *entity)
 
void func_802BC99C_E312EC (Entity *entity)
 
void entity_StarBoxLauncher_start_script (Entity *entity)
 
void entity_StarBoxLauncher_init (Entity *entity)
 

Variables

Gfx Entity_StarBoxLauncher_RenderBottom []
 
Gfx Entity_StarBoxLauncher_RenderTop []
 
unsigned char D_0A000D08_E56748 []
 
unsigned char D_0A000508_E55F48 []
 
u8 D_802BCAA0_E313F0 []
 
EntityScript Entity_StarBoxLauncher_Script
 
EntityModelScript Entity_StarBoxLauncher_RenderScript = STANDARD_ENTITY_MODEL_SCRIPT(Entity_StarBoxLauncher_RenderTop, RENDER_MODE_SURFACE_OPA)
 
EntityBlueprint Entity_StarBoxLauncher
 

Function Documentation

◆ entity_StarBoxLauncher_check_launch()

void entity_StarBoxLauncher_check_launch ( Entity * entity)

◆ entity_StarBoxLauncher_init()

void entity_StarBoxLauncher_init ( Entity * entity)

◆ entity_StarBoxLauncher_launch()

void entity_StarBoxLauncher_launch ( Entity * entity)

◆ entity_StarBoxLauncher_restore_pos()

void entity_StarBoxLauncher_restore_pos ( Entity * entity)

◆ entity_StarBoxLauncher_setupGfx()

void entity_StarBoxLauncher_setupGfx ( s32 entityIndex)

◆ entity_StarBoxLauncher_shake_box()

void entity_StarBoxLauncher_shake_box ( Entity * entity)

◆ entity_StarBoxLauncher_start_script()

void entity_StarBoxLauncher_start_script ( Entity * entity)

◆ entity_StarBoxLauncher_update_face_anim()

void entity_StarBoxLauncher_update_face_anim ( Entity * entity)

◆ func_802BC99C_E312EC()

void func_802BC99C_E312EC ( Entity * entity)

Variable Documentation

◆ D_0A000508_E55F48

unsigned char D_0A000508_E55F48[]
extern

◆ D_0A000D08_E56748

unsigned char D_0A000D08_E56748[]
extern

◆ D_802BCAA0_E313F0

u8 D_802BCAA0_E313F0[]
Initial value:
= {
0x00, 0x02,
0xE0, 0x02,
0xC0, 0x02,
0xA0, 0x02,
0x00, 0x02,
0xE0, 0x02,
0xC0, 0x02,
0xA0, 0x02,
0x00, 0x02,
0xE0, 0x02,
0xC0, 0x02,
0xA0, 0x02,
0x00, 0x02,
0xE0, 0x02,
0xC0, 0x02,
0xA0, 0x02,
0x00, 0x02,
0xFF, 0x00
}

Referenced by entity_StarBoxLauncher_launch(), and entity_StarBoxLauncher_update_face_anim().

◆ Entity_StarBoxLauncher

EntityBlueprint Entity_StarBoxLauncher
Initial value:
= {
.flags = ENTITY_FLAG_8000,
.typeDataSize = sizeof(StarBoxLauncherData),
.modelAnimationNodes = 0,
.updateEntityScript = Entity_StarBoxLauncher_Script,
.fpHandleCollision = NULL,
{ .dma = ENTITY_ROM(StarBoxLauncher) },
.aabbSize = { 35, 35, 35 }
}
#define ENTITY_ROM(name)
Definition entity.h:65
Definition entity.h:326
@ ENTITY_TYPE_STAR_BOX_LAUNCHER
Definition enums.h:2587
@ ENTITY_FLAG_8000
Definition enums.h:2629
void entity_StarBoxLauncher_init(Entity *entity)
Definition StarBoxLauncher.c:240
EntityModelScript Entity_StarBoxLauncher_RenderScript
Definition StarBoxLauncher.c:261
EntityScript Entity_StarBoxLauncher_Script
Definition StarBoxLauncher.c:248

◆ Entity_StarBoxLauncher_RenderBottom

Gfx Entity_StarBoxLauncher_RenderBottom[]
extern

◆ Entity_StarBoxLauncher_RenderScript

◆ Entity_StarBoxLauncher_RenderTop

Gfx Entity_StarBoxLauncher_RenderTop[]
extern

◆ Entity_StarBoxLauncher_Script

EntityScript Entity_StarBoxLauncher_Script
Initial value:
= {
es_SetCallback(NULL, 3)
es_SetCallback(NULL, 1)
}
#define es_Call(func)
Definition entity.h:37
#define es_Restart
Definition entity.h:40
#define es_SetCallback(func, time)
Definition entity.h:38
#define es_End
Definition entity.h:35
void entity_StarBoxLauncher_shake_box(Entity *entity)
Definition StarBoxLauncher.c:117
void func_802BC99C_E312EC(Entity *entity)
Definition StarBoxLauncher.c:227
void entity_StarBoxLauncher_launch(Entity *entity)
Definition StarBoxLauncher.c:129
void entity_StarBoxLauncher_start_script(Entity *entity)
Definition StarBoxLauncher.c:233
void entity_StarBoxLauncher_restore_pos(Entity *entity)
Definition StarBoxLauncher.c:123
void entity_StarBoxLauncher_check_launch(Entity *entity)
Definition StarBoxLauncher.c:62