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

 INCLUDE_IMG ("entity/model/StarBoxLauncher_link.png", D_0A000290_E55CD0)
 
 INCLUDE_IMG ("entity/model/StarBoxLauncher_face.png", D_0A000508_E55F48)
 
 INCLUDE_PAL ("entity/model/StarBoxLauncher_face.pal", D_0A000D08_E56748)
 
 INCLUDE_IMG ("entity/model/StarBoxLauncher_box.png", D_0A000DD0_E56810)
 
 INCLUDE_PAL ("entity/model/StarBoxLauncher_box.pal", D_0A000ED0_E56910)
 

Variables

Gfx Entity_StarBoxLauncher_LoadTextureLink []
 
Gfx Entity_StarBoxLauncher_LoadTextureFace []
 
Gfx Entity_StarBoxLauncher_LoadTextureBox []
 
Mtx Entity_StarBoxLauncher_mtx
 
Gfx Entity_StarBoxLauncher_RenderChain []
 
Gfx Entity_StarBoxLauncher_RenderFace []
 
Gfx Entity_StarBoxLauncher_RenderBoxCover []
 
Gfx Entity_StarBoxLauncher_RenderTop []
 
Gfx Entity_StarBoxLauncher_RenderBox []
 
Gfx Entity_StarBoxLauncher_RenderBottom []
 

Function Documentation

◆ INCLUDE_IMG() [1/3]

INCLUDE_IMG ( "entity/model/StarBoxLauncher_box.png" ,
D_0A000DD0_E56810  )

◆ INCLUDE_IMG() [2/3]

INCLUDE_IMG ( "entity/model/StarBoxLauncher_face.png" ,
D_0A000508_E55F48  )

◆ INCLUDE_IMG() [3/3]

INCLUDE_IMG ( "entity/model/StarBoxLauncher_link.png" ,
D_0A000290_E55CD0  )

◆ INCLUDE_PAL() [1/2]

INCLUDE_PAL ( "entity/model/StarBoxLauncher_box.pal" ,
D_0A000ED0_E56910  )

◆ INCLUDE_PAL() [2/2]

INCLUDE_PAL ( "entity/model/StarBoxLauncher_face.pal" ,
D_0A000D08_E56748  )

Variable Documentation

◆ Entity_StarBoxLauncher_LoadTextureBox

Gfx Entity_StarBoxLauncher_LoadTextureBox[]
Initial value:
= {
gsDPSetTextureLUT(G_TT_RGBA16),
gsDPLoadTLUT_pal16(0, D_0A000ED0_E56910),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPLoadTextureBlock_4b(D_0A000DD0_E56810, G_IM_FMT_CI, 16, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 4, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureFilter(G_TF_BILERP),
gsSPEndDisplayList(),
}

◆ Entity_StarBoxLauncher_LoadTextureFace

Gfx Entity_StarBoxLauncher_LoadTextureFace[]
Initial value:
= {
gsDPSetTextureLUT(G_TT_RGBA16),
gsDPLoadTLUT_pal16(0, D_0A000D08_E56748),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPLoadTextureBlock_4b(D_0A000508_E55F48, G_IM_FMT_CI, 128, 32, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, 7, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureFilter(G_TF_BILERP),
gsSPEndDisplayList(),
}
unsigned char D_0A000508_E55F48[]
unsigned char D_0A000D08_E56748[]

◆ Entity_StarBoxLauncher_LoadTextureLink

Gfx Entity_StarBoxLauncher_LoadTextureLink[]
Initial value:
= {
gsDPSetTextureLUT(G_TT_NONE),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPLoadTextureBlock(D_0A000290_E55CD0, G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 16, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 4, 4, G_TX_NOLOD, G_TX_NOLOD),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureFilter(G_TF_BILERP),
gsSPEndDisplayList(),
}

◆ Entity_StarBoxLauncher_mtx

Mtx Entity_StarBoxLauncher_mtx
Initial value:
1.000000, 0.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000,
0.000000, 0.000000, 1.000000, 0.000000,
0.000000, 0.000000, 0.000000, 1.000000
)
#define RDP_MATRIX( Ax, Bx, Cx, Dx, Ay, By, Cy, Dy, Az, Bz, Cz, Dz, Aw, Bw, Cw, Dw)
Definition macros.h:244

◆ Entity_StarBoxLauncher_RenderBottom

Gfx Entity_StarBoxLauncher_RenderBottom[]
Initial value:
= {
gsSPEndDisplayList(),
}
Gfx Entity_StarBoxLauncher_RenderBox[]
Definition StarBoxLauncher.c:105

Referenced by entity_StarBoxLauncher_setupGfx().

◆ Entity_StarBoxLauncher_RenderBox

Gfx Entity_StarBoxLauncher_RenderBox[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
gsSPClearGeometryMode(G_CULL_BACK | G_LIGHTING),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPVertex(D_0A000000_E55A40, 15, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
gsSP2Triangles(7, 8, 9, 0, 7, 9, 10, 0),
gsSP2Triangles(11, 12, 13, 0, 11, 13, 14, 0),
gsSPEndDisplayList(),
}
Gfx Entity_StarBoxLauncher_LoadTextureBox[]
Definition StarBoxLauncher.c:39

◆ Entity_StarBoxLauncher_RenderBoxCover

Gfx Entity_StarBoxLauncher_RenderBoxCover[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
gsSPClearGeometryMode(G_CULL_BACK | G_LIGHTING),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPVertex(D_0A0000F0_E55B30, 18, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(3, 2, 4, 0, 3, 4, 5, 0),
gsSP2Triangles(6, 7, 8, 0, 6, 8, 9, 0),
gsSP2Triangles(10, 11, 12, 0, 10, 12, 13, 0),
gsSP2Triangles(14, 15, 16, 0, 14, 16, 17, 0),
gsSPEndDisplayList(),
}

◆ Entity_StarBoxLauncher_RenderChain

Gfx Entity_StarBoxLauncher_RenderChain[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_AA_ZB_TEX_EDGE, G_RM_AA_ZB_TEX_EDGE2),
gsSPClearGeometryMode(G_LIGHTING | G_SHADING_SMOOTH),
gsSPSetGeometryMode(G_CULL_BACK),
gsSPVertex(D_0A000250_E55C90, 4, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSPEndDisplayList(),
}
Gfx Entity_StarBoxLauncher_LoadTextureLink[]
Definition StarBoxLauncher.c:10

◆ Entity_StarBoxLauncher_RenderFace

Gfx Entity_StarBoxLauncher_RenderFace[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_AA_ZB_TEX_EDGE, G_RM_AA_ZB_TEX_EDGE2),
gsSPClearGeometryMode(G_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(D_0A000210_E55C50, 4, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSPEndDisplayList(),
}

◆ Entity_StarBoxLauncher_RenderTop

Gfx Entity_StarBoxLauncher_RenderTop[]
Initial value:
= {
gsSPEndDisplayList(),
}
Gfx Entity_StarBoxLauncher_RenderChain[]
Definition StarBoxLauncher.c:59
Gfx Entity_StarBoxLauncher_RenderFace[]
Definition StarBoxLauncher.c:71
Gfx Entity_StarBoxLauncher_RenderBoxCover[]
Definition StarBoxLauncher.c:82