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

Functions

 INCLUDE_IMG ("entity/model/SuperBlockContent.png", D_0A000000_E4A6A0)
 
 INCLUDE_PAL ("entity/model/SuperBlockContent.pal", D_0A000200_E4A8A0)
 
 INCLUDE_PAL ("entity/model/SuperBlockContent.pal2.pal", D_0A000220_E4A8C0)
 
 INCLUDE_PAL ("entity/model/SuperBlockContent.pal3.pal", D_0A000240_E4A8E0)
 
 INCLUDE_PAL ("entity/model/SuperBlockContent.pal4.pal", D_0A000260_E4A900)
 

Variables

Vtx Entity_SuperBlockContent_vtx []
 
Gfx Entity_SuperBlockContent_Prepare []
 
Gfx Entity_SuperBlockContent_RenderImage []
 
Gfx Entity_SuperBlockContent_Render []
 
Gfx Entity_SuperBlockContent_Render2 []
 

Function Documentation

◆ INCLUDE_IMG()

INCLUDE_IMG ( "entity/model/SuperBlockContent.png" ,
D_0A000000_E4A6A0  )

◆ INCLUDE_PAL() [1/4]

INCLUDE_PAL ( "entity/model/SuperBlockContent.pal" ,
D_0A000200_E4A8A0  )

◆ INCLUDE_PAL() [2/4]

INCLUDE_PAL ( "entity/model/SuperBlockContent.pal2.pal" ,
D_0A000220_E4A8C0  )

◆ INCLUDE_PAL() [3/4]

INCLUDE_PAL ( "entity/model/SuperBlockContent.pal3.pal" ,
D_0A000240_E4A8E0  )

◆ INCLUDE_PAL() [4/4]

INCLUDE_PAL ( "entity/model/SuperBlockContent.pal4.pal" ,
D_0A000260_E4A900  )

Variable Documentation

◆ Entity_SuperBlockContent_Prepare

Gfx Entity_SuperBlockContent_Prepare[]
Initial value:
= {
gsDPSetTextureLUT(G_TT_RGBA16),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureFilter(G_TF_BILERP),
gsSPEndDisplayList(),
}

◆ Entity_SuperBlockContent_Render

Gfx Entity_SuperBlockContent_Render[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetRenderMode(G_RM_ZB_CLD_SURF, G_RM_ZB_CLD_SURF2),
gsDPLoadTextureBlock_4b(D_0A000000_E4A6A0, G_IM_FMT_CI, 32, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPEndDisplayList(),
}
Gfx Entity_SuperBlockContent_RenderImage[]
Definition SuperBlockContent.c:27

Referenced by entity_init_SuperBlockContent().

◆ Entity_SuperBlockContent_Render2

Gfx Entity_SuperBlockContent_Render2[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetRenderMode(G_RM_ZB_CLD_SURF, G_RM_ZB_CLD_SURF2),
gsDPLoadTextureBlock_4b(D_0A000000_E4A6A0, G_IM_FMT_CI, 32, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPEndDisplayList(),
}

Referenced by entity_init_SuperBlockContent().

◆ Entity_SuperBlockContent_RenderImage

Gfx Entity_SuperBlockContent_RenderImage[]
Initial value:
= {
gsDPSetCycleType(G_CYC_1CYCLE),
gsSPClearGeometryMode(G_CULL_BACK | G_LIGHTING | G_SHADING_SMOOTH),
gsSPVertex(Entity_SuperBlockContent_vtx, 4, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSPEndDisplayList(),
}
Vtx Entity_SuperBlockContent_vtx[]
Definition SuperBlockContent.c:10
Gfx Entity_SuperBlockContent_Prepare[]
Definition SuperBlockContent.c:17

◆ Entity_SuperBlockContent_vtx

Vtx Entity_SuperBlockContent_vtx[]
Initial value:
= {
{{{ 13, 13, 0 }, 0, { 0, 0 }, { 255, 255, 255, 255 }}},
{{{ -13, 13, 0 }, 0, { 1024, 0 }, { 255, 255, 255, 255 }}},
{{{ -13, -13, 0 }, 0, { 1024, 1024 }, { 255, 255, 255, 255 }}},
{{{ 13, -13, 0 }, 0, { 0, 1024 }, { 255, 255, 255, 255 }}},
}