Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
InertYellowBlock.c File Reference

Go to the source code of this file.

Functions

 INCLUDE_IMG ("entity/model/InertYellowBlock_face.png", D_0A000180_E423C0)
 
 INCLUDE_PAL ("entity/model/InertYellowBlock_face.pal", D_0A000380_E425C0)
 

Variables

Gfx Entity_InertYellowBlock_LoadTexture []
 
Gfx Entity_InertYellowBlock_RenderTopBottom []
 
Gfx Entity_InertYellowBlock_RenderFaces []
 
Gfx Entity_InertYellowBlock_Render []
 

Function Documentation

◆ INCLUDE_IMG()

INCLUDE_IMG ( "entity/model/InertYellowBlock_face.png" ,
D_0A000180_E423C0  )

◆ INCLUDE_PAL()

INCLUDE_PAL ( "entity/model/InertYellowBlock_face.pal" ,
D_0A000380_E425C0  )

Variable Documentation

◆ Entity_InertYellowBlock_LoadTexture

Gfx Entity_InertYellowBlock_LoadTexture[]
Initial value:
= {
gsDPSetTextureLUT(G_TT_RGBA16),
gsDPLoadTLUT_pal16(0, D_0A000380_E425C0),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPLoadTextureBlock_4b(D_0A000180_E423C0, G_IM_FMT_CI, 32, 32, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureFilter(G_TF_BILERP),
gsSPEndDisplayList(),
}

Definition at line 9 of file InertYellowBlock.c.

9 {
10 gsDPSetTextureLUT(G_TT_RGBA16),
11 gsDPLoadTLUT_pal16(0, D_0A000380_E425C0),
12 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
13 gsDPSetTextureDetail(G_TD_CLAMP),
14 gsDPSetTextureLOD(G_TL_TILE),
15 gsDPLoadTextureBlock_4b(D_0A000180_E423C0, G_IM_FMT_CI, 32, 32, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
16 gsDPSetTexturePersp(G_TP_PERSP),
17 gsDPSetTextureFilter(G_TF_BILERP),
18 gsSPEndDisplayList(),
19};

◆ Entity_InertYellowBlock_RenderTopBottom

Gfx Entity_InertYellowBlock_RenderTopBottom[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsSPTexture(0x0080, 0x0080, 0, G_TX_RENDERTILE, G_OFF),
gsSPClearGeometryMode(G_LIGHTING | G_SHADING_SMOOTH),
gsSPSetGeometryMode(G_CULL_BACK),
gsSPVertex(D_0A000100_E42340, 8, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
gsSPEndDisplayList(),
}

Definition at line 21 of file InertYellowBlock.c.

21 {
22 gsDPPipeSync(),
23 gsDPSetCycleType(G_CYC_1CYCLE),
24 gsSPTexture(0x0080, 0x0080, 0, G_TX_RENDERTILE, G_OFF),
25 gsSPClearGeometryMode(G_LIGHTING | G_SHADING_SMOOTH),
26 gsSPSetGeometryMode(G_CULL_BACK),
27 gsSPVertex(D_0A000100_E42340, 8, 0),
28 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
29 gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
30 gsSPEndDisplayList(),
31};

◆ Entity_InertYellowBlock_RenderFaces

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

Definition at line 33 of file InertYellowBlock.c.

33 {
34 gsDPPipeSync(),
35 gsDPSetCycleType(G_CYC_1CYCLE),
37 gsSPClearGeometryMode(G_LIGHTING | G_SHADING_SMOOTH),
38 gsSPSetGeometryMode(G_CULL_BACK),
39 gsSPVertex(D_0A000000_E42240, 16, 0),
40 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
41 gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
42 gsSP2Triangles(8, 9, 10, 0, 8, 10, 11, 0),
43 gsSP2Triangles(12, 13, 14, 0, 12, 14, 15, 0),
44 gsSPEndDisplayList(),
45};

◆ Entity_InertYellowBlock_Render

Gfx Entity_InertYellowBlock_Render[]
Initial value:
= {
gsSPEndDisplayList(),
}
Gfx Entity_InertYellowBlock_RenderFaces[]
Gfx Entity_InertYellowBlock_RenderTopBottom[]

Definition at line 47 of file InertYellowBlock.c.

47 {
50 gsSPEndDisplayList(),
51};