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

Functions

 INCLUDE_IMG ("entity/model/GreenStompSwitch_tex.png", D_0A000280_E625F0)
 
 INCLUDE_PAL ("entity/model/GreenStompSwitch_tex.pal", D_0A000300_E62670)
 
 INCLUDE_IMG ("entity/model/GreenStompSwitch_exclamationMark.png", D_0A0003D8_E62748)
 
 INCLUDE_PAL ("entity/model/GreenStompSwitch_exclamationMark.pal", D_0A0004D8_E62848)
 

Variables

Gfx Entity_GreenStompSwitch_LoadTexture []
 
Gfx Entity_GreenStompSwitch_LoadExclMark []
 
Mtx Entity_GreenStompSwitch_mtx
 
Gfx Entity_GreenStompSwitch_RenderBase []
 
Gfx Entity_GreenStompSwitch_RenderExclMark []
 
Gfx Entity_GreenStompSwitch_RenderMain []
 
Gfx Entity_GreenStompSwitch_Render []
 

Function Documentation

◆ INCLUDE_IMG() [1/2]

INCLUDE_IMG ( "entity/model/GreenStompSwitch_exclamationMark.png" ,
D_0A0003D8_E62748  )

◆ INCLUDE_IMG() [2/2]

INCLUDE_IMG ( "entity/model/GreenStompSwitch_tex.png" ,
D_0A000280_E625F0  )

◆ INCLUDE_PAL() [1/2]

INCLUDE_PAL ( "entity/model/GreenStompSwitch_exclamationMark.pal" ,
D_0A0004D8_E62848  )

◆ INCLUDE_PAL() [2/2]

INCLUDE_PAL ( "entity/model/GreenStompSwitch_tex.pal" ,
D_0A000300_E62670  )

Variable Documentation

◆ Entity_GreenStompSwitch_LoadExclMark

Gfx Entity_GreenStompSwitch_LoadExclMark[]
Initial value:
= {
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPLoadTextureBlock_4b(D_0A0003D8_E62748, 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),
gsDPSetTextureLUT(G_TT_RGBA16),
gsDPLoadTLUT_pal16(0, D_0A0004D8_E62848),
gsDPSetTextureFilter(G_TF_BILERP),
gsDPSetTextureConvert(G_TC_FILT),
gsSPEndDisplayList(),
}

◆ Entity_GreenStompSwitch_LoadTexture

Gfx Entity_GreenStompSwitch_LoadTexture[]
Initial value:
= {
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPLoadTextureBlock_4b(D_0A000280_E625F0, G_IM_FMT_CI, 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),
gsDPSetTextureLUT(G_TT_RGBA16),
gsDPLoadTLUT_pal16(0, D_0A000300_E62670),
gsDPSetTextureFilter(G_TF_BILERP),
gsDPSetTextureConvert(G_TC_FILT),
gsSPEndDisplayList(),
}

◆ Entity_GreenStompSwitch_mtx

Mtx Entity_GreenStompSwitch_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_GreenStompSwitch_Render

Gfx Entity_GreenStompSwitch_Render[]
Initial value:
= {
gsSPEndDisplayList(),
}
Gfx Entity_GreenStompSwitch_RenderMain[]
Definition GreenStompSwitch.c:91

◆ Entity_GreenStompSwitch_RenderBase

Gfx Entity_GreenStompSwitch_RenderBase[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
gsSPClearGeometryMode(G_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(D_0A000080_E623F0, 30, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(4, 5, 1, 0, 4, 1, 0, 0),
gsSP2Triangles(3, 2, 6, 0, 3, 6, 7, 0),
gsSP2Triangles(8, 9, 5, 0, 8, 5, 4, 0),
gsSP2Triangles(10, 11, 9, 0, 10, 9, 8, 0),
gsSP2Triangles(12, 13, 11, 0, 12, 11, 10, 0),
gsSP2Triangles(14, 15, 13, 0, 14, 13, 12, 0),
gsSP2Triangles(7, 6, 15, 0, 7, 15, 14, 0),
gsSP2Triangles(16, 17, 18, 0, 16, 18, 19, 0),
gsSP2Triangles(17, 16, 20, 0, 17, 20, 21, 0),
gsSP2Triangles(21, 20, 22, 0, 21, 22, 23, 0),
gsSP2Triangles(19, 18, 24, 0, 19, 24, 25, 0),
gsSP2Triangles(25, 24, 26, 0, 25, 26, 27, 0),
gsSP2Triangles(28, 27, 26, 0, 28, 26, 29, 0),
gsSPVertex(&D_0A000080_E623F0[22], 2, 0),
gsSPVertex(&D_0A000080_E623F0[28], 4, 2),
gsSP2Triangles(1, 0, 4, 0, 1, 4, 5, 0),
gsSP2Triangles(5, 4, 2, 0, 5, 2, 3, 0),
gsSPEndDisplayList(),
}
Gfx Entity_GreenStompSwitch_LoadTexture[]
Definition GreenStompSwitch.c:9

◆ Entity_GreenStompSwitch_RenderExclMark

Gfx Entity_GreenStompSwitch_RenderExclMark[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
gsSPClearGeometryMode(G_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(D_0A000000_E62370, 8, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(0, 3, 4, 0, 0, 4, 5, 0),
gsSP2Triangles(0, 5, 6, 0, 0, 6, 7, 0),
gsSPEndDisplayList(),
}
Gfx Entity_GreenStompSwitch_LoadExclMark[]
Definition GreenStompSwitch.c:26

◆ Entity_GreenStompSwitch_RenderMain

Gfx Entity_GreenStompSwitch_RenderMain[]
Initial value:
= {
gsSPMatrix(&Entity_GreenStompSwitch_mtx, G_MTX_PUSH | G_MTX_MUL | G_MTX_MODELVIEW),
gsSPPopMatrix(G_MTX_MODELVIEW),
gsSPEndDisplayList(),
}
Gfx Entity_GreenStompSwitch_RenderBase[]
Definition GreenStompSwitch.c:48
Mtx Entity_GreenStompSwitch_mtx
Definition GreenStompSwitch.c:41
Gfx Entity_GreenStompSwitch_RenderExclMark[]
Definition GreenStompSwitch.c:77