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

Functions

void entity_ArrowSign_setupGfx (s32 entityIndex)
 
void entity_ArrowSign_idle (void)
 
void entity_ArrowSign_init (Entity *entity)
 
s32 entity_ArrowSign_handle_collision (Entity *entity)
 

Variables

Gfx Entity_ArrowSign_Render []
 
Gfx Entity_ArrowSign_RenderRotatedSign []
 
Mtx Entity_ArrowSign_mtxSign
 
EntityScript Entity_ArrowSign_Script
 
EntityModelScript Entity_ArrowSign_RenderScript = STANDARD_ENTITY_MODEL_SCRIPT(Entity_ArrowSign_Render, RENDER_MODE_SURFACE_OPA)
 
EntityBlueprint Entity_ArrowSign
 

Function Documentation

◆ entity_ArrowSign_handle_collision()

s32 entity_ArrowSign_handle_collision ( Entity * entity)

◆ entity_ArrowSign_idle()

void entity_ArrowSign_idle ( void )

◆ entity_ArrowSign_init()

void entity_ArrowSign_init ( Entity * entity)

◆ entity_ArrowSign_setupGfx()

void entity_ArrowSign_setupGfx ( s32 entityIndex)

Referenced by entity_ArrowSign_init().

Variable Documentation

◆ Entity_ArrowSign

EntityBlueprint Entity_ArrowSign
Initial value:
= {
.typeDataSize = sizeof(ArrowSignData),
.renderCommandList = Entity_ArrowSign_RenderScript,
.modelAnimationNodes = 0,
.updateEntityScript = Entity_ArrowSign_Script,
.fpHandleCollision = entity_ArrowSign_handle_collision,
{ .dma = ENTITY_ROM(ArrowSign) },
.aabbSize = { 18, 50, 10 }
}
#define ENTITY_ROM(name)
Definition entity.h:65
Definition entity.h:382
@ ENTITY_TYPE_RED_ARROW_SIGNS
Definition enums.h:2590
@ ENTITY_FLAG_400
Definition enums.h:2624
@ ENTITY_FLAG_FIXED_SHADOW_SIZE
Definition enums.h:2623
@ ENTITY_FLAG_CIRCULAR_SHADOW
Definition enums.h:2625
EntityScript Entity_ArrowSign_Script
Definition ArrowSign.c:48
void entity_ArrowSign_init(Entity *entity)
Definition ArrowSign.c:32
EntityModelScript Entity_ArrowSign_RenderScript
Definition ArrowSign.c:53
s32 entity_ArrowSign_handle_collision(Entity *entity)
Definition ArrowSign.c:41

◆ Entity_ArrowSign_mtxSign

Mtx Entity_ArrowSign_mtxSign
extern

◆ Entity_ArrowSign_Render

Gfx Entity_ArrowSign_Render[]
extern

◆ Entity_ArrowSign_RenderRotatedSign

Gfx Entity_ArrowSign_RenderRotatedSign[]
extern

◆ Entity_ArrowSign_RenderScript

◆ Entity_ArrowSign_Script

EntityScript Entity_ArrowSign_Script
Initial value:
= {
}
#define es_SetCallback(func, time)
Definition entity.h:38
#define es_End
Definition entity.h:35
void entity_ArrowSign_idle(void)
Definition ArrowSign.c:29