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

Go to the source code of this file.

Functions

 INCLUDE_IMG ("entity/model/InertRedBlock_face.png", D_0A000180_E428C0)
 

Variables

Gfx Entity_InertRedBlock_LoadTexture []
 
Gfx Entity_InertRedBlock_RenderTopBottom []
 
Gfx Entity_InertRedBlock_RenderFaces []
 
Gfx Entity_InertRedBlock_Render []
 

Function Documentation

◆ INCLUDE_IMG()

INCLUDE_IMG ( "entity/model/InertRedBlock_face.png" ,
D_0A000180_E428C0  )

Variable Documentation

◆ Entity_InertRedBlock_LoadTexture

Gfx Entity_InertRedBlock_LoadTexture[]
Initial value:
= {
gsDPSetTextureLUT(G_TT_NONE),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPLoadTextureBlock(D_0A000180_E428C0, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureFilter(G_TF_BILERP),
gsSPEndDisplayList(),
}

Definition at line 8 of file InertRedBlock.c.

8 {
9 gsDPSetTextureLUT(G_TT_NONE),
10 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
11 gsDPSetTextureDetail(G_TD_CLAMP),
12 gsDPSetTextureLOD(G_TL_TILE),
13 gsDPLoadTextureBlock(D_0A000180_E428C0, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
14 gsDPSetTexturePersp(G_TP_PERSP),
15 gsDPSetTextureFilter(G_TF_BILERP),
16 gsSPEndDisplayList(),
17};

◆ Entity_InertRedBlock_RenderTopBottom

Gfx Entity_InertRedBlock_RenderTopBottom[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsSPClearGeometryMode(G_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(D_0A000100_E42840, 8, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
gsSPEndDisplayList(),
}
Gfx Entity_InertRedBlock_LoadTexture[]

Definition at line 19 of file InertRedBlock.c.

19 {
20 gsDPPipeSync(),
21 gsDPSetCycleType(G_CYC_1CYCLE),
22 gsSPDisplayList(Entity_InertRedBlock_LoadTexture),
23 gsSPClearGeometryMode(G_LIGHTING),
24 gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
25 gsSPVertex(D_0A000100_E42840, 8, 0),
26 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
27 gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
28 gsSPEndDisplayList(),
29};

◆ Entity_InertRedBlock_RenderFaces

Gfx Entity_InertRedBlock_RenderFaces[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsSPClearGeometryMode(G_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(D_0A000000_E42740, 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(),
}

Definition at line 31 of file InertRedBlock.c.

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

◆ Entity_InertRedBlock_Render

Gfx Entity_InertRedBlock_Render[]
Initial value:
= {
gsSPEndDisplayList(),
}
Gfx Entity_InertRedBlock_RenderTopBottom[]
Gfx Entity_InertRedBlock_RenderFaces[]

Definition at line 45 of file InertRedBlock.c.

45 {
46 gsSPDisplayList(Entity_InertRedBlock_RenderFaces),
48 gsSPEndDisplayList(),
49};