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

Functions

 INCLUDE_IMG ("ui/battle/cursor_hand.png", ui_battle_cursor_hand_png)
 
 INCLUDE_PAL ("ui/battle/cursor_hand.pal", ui_battle_cursor_hand_pal)
 

Variables

IMG_BIN ui_battle_menu_spirits_png []
 
PAL_BIN ui_battle_menu_spirits_pal []
 
IMG_BIN ui_battle_solid_star_png []
 
PAL_BIN ui_battle_solid_star_pal []
 
Vtx BtlCursorModelVtx []
 
Gfx BtlCursorModelGfx []
 
EntityModelScript EMS_CursorIcon = STANDARD_ENTITY_MODEL_SCRIPT(BtlCursorModelGfx, RENDER_MODE_ALPHATEST)
 
Vtx BtlBonkModelVtx []
 
Gfx BtlBonkModelGfx []
 
EntityModelScript EMS_BonkIcon = STANDARD_ENTITY_MODEL_SCRIPT(BtlBonkModelGfx, RENDER_MODE_CLOUD_NO_ZCMP)
 
Vtx BtlStarModelVtx []
 
Gfx BtlStarModelGfx []
 
EntityModelScript EMS_StarIcon = STANDARD_ENTITY_MODEL_SCRIPT(BtlStarModelGfx, RENDER_MODE_ALPHATEST)
 

Function Documentation

◆ INCLUDE_IMG()

INCLUDE_IMG ( "ui/battle/cursor_hand.png" ,
ui_battle_cursor_hand_png  )

◆ INCLUDE_PAL()

INCLUDE_PAL ( "ui/battle/cursor_hand.pal" ,
ui_battle_cursor_hand_pal  )

Variable Documentation

◆ BtlBonkModelGfx

Gfx BtlBonkModelGfx[]
Initial value:
= {
gsDPPipeSync(),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPSetCombineMode(PM_CC_01, PM_CC_02),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPSetTextureLUT(G_TT_NONE),
gsDPSetTextureFilter(G_TF_AVERAGE),
gsDPSetTextureConvert(G_TC_FILT),
gsDPSetTextureLUT(G_TT_RGBA16),
gsDPLoadTLUT_pal16(0, ui_battle_menu_spirits_pal),
gsDPLoadTextureTile_4b(ui_battle_menu_spirits_png, G_IM_FMT_CI, 32, 0, 0, 0, 31, 31, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD),
gsSPClearGeometryMode(G_LIGHTING),
gsSPClearGeometryMode(G_SHADING_SMOOTH),
gsSPVertex(BtlBonkModelVtx, 4, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(0, 2, 3, 0),
gsDPPipeSync(),
gsSPEndDisplayList(),
}
IMG_BIN ui_battle_menu_spirits_png[]
PAL_BIN ui_battle_menu_spirits_pal[]
Vtx BtlBonkModelVtx[]
Definition entity_model_icons.c:43
#define PM_CC_01
Definition macros.h:287
#define PM_CC_02
Definition macros.h:288

◆ BtlBonkModelVtx

Vtx BtlBonkModelVtx[]
Initial value:
= {
{{{ -16, -16, 0 }, 0, { 0, 0 }, { 0, 0, 0, 255 }}},
{{{ 15, -16, 0 }, 0, { 1024, 0 }, { 0, 0, 0, 255 }}},
{{{ 15, 15, 0 }, 0, { 1024, 1024 }, { 0, 0, 0, 255 }}},
{{{ -16, 15, 0 }, 0, { 0, 1024 }, { 0, 0, 0, 255 }}},
}

◆ BtlCursorModelGfx

Gfx BtlCursorModelGfx[]
Initial value:
= {
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPSetTextureLUT(G_TT_NONE),
gsDPSetTextureFilter(G_TF_AVERAGE),
gsDPSetTextureConvert(G_TC_FILT),
gsDPSetTextureLUT(G_TT_RGBA16),
gsDPLoadTLUT_pal16(0, ui_battle_cursor_hand_pal),
gsDPLoadTextureTile_4b(ui_battle_cursor_hand_png, G_IM_FMT_CI, 32, 0, 0, 0, 31, 31, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD),
gsSPClearGeometryMode(G_LIGHTING),
gsSPClearGeometryMode(G_SHADING_SMOOTH),
gsSPVertex(BtlCursorModelVtx, 4, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(0, 2, 3, 0),
gsSPEndDisplayList(),
}
Vtx BtlCursorModelVtx[]
Definition entity_model_icons.c:13

◆ BtlCursorModelVtx

Vtx BtlCursorModelVtx[]
Initial value:
= {
{{{ -22, -6, 0 }, 0, { 1024, 1024 }, { 0, 0, 0, 255 }}},
{{{ 9, -6, 0 }, 0, { 0, 1024 }, { 0, 0, 0, 255 }}},
{{{ 9, 25, 0 }, 0, { 0, 0 }, { 0, 0, 0, 255 }}},
{{{ -22, 25, 0 }, 0, { 1024, 0 }, { 0, 0, 0, 255 }}},
}

◆ BtlStarModelGfx

Gfx BtlStarModelGfx[]
Initial value:
= {
gsDPPipeSync(),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPSetTextureLUT(G_TT_NONE),
gsDPSetTextureFilter(G_TF_AVERAGE),
gsDPSetTextureConvert(G_TC_FILT),
gsDPSetTextureLUT(G_TT_RGBA16),
gsDPLoadTLUT_pal16(0, ui_battle_solid_star_pal),
gsDPLoadTextureTile_4b(ui_battle_solid_star_png, G_IM_FMT_CI, 32, 0, 0, 0, 31, 31, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD),
gsSPClearGeometryMode(G_LIGHTING),
gsSPClearGeometryMode(G_SHADING_SMOOTH),
gsSPVertex(BtlStarModelVtx, 4, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSP1Triangle(0, 2, 3, 0),
gsDPPipeSync(),
gsSPEndDisplayList(),
}
PAL_BIN ui_battle_solid_star_pal[]
IMG_BIN ui_battle_solid_star_png[]
Vtx BtlStarModelVtx[]
Definition entity_model_icons.c:74

◆ BtlStarModelVtx

Vtx BtlStarModelVtx[]
Initial value:
= {
{{{ -16, -16, 0 }, 0, { 0, 1024 }, { 0, 0, 0, 255 }}},
{{{ 15, -16, 0 }, 0, { 1024, 1024 }, { 0, 0, 0, 255 }}},
{{{ 15, 15, 0 }, 0, { 1024, 0 }, { 0, 0, 0, 255 }}},
{{{ -16, 15, 0 }, 0, { 0, 0 }, { 0, 0, 0, 255 }}},
}

◆ EMS_BonkIcon

◆ EMS_CursorIcon

◆ EMS_StarIcon

◆ ui_battle_menu_spirits_pal

PAL_BIN ui_battle_menu_spirits_pal[]
extern

◆ ui_battle_menu_spirits_png

IMG_BIN ui_battle_menu_spirits_png[]
extern

◆ ui_battle_solid_star_pal

PAL_BIN ui_battle_solid_star_pal[]
extern

◆ ui_battle_solid_star_png

IMG_BIN ui_battle_solid_star_png[]
extern