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

Go to the source code of this file.

Functions

 INCLUDE_IMG ("entity/model/YellowBlock_face.png", D_0A000180_E3B9F0)
 

Variables

Gfx Entity_YellowBlock_LoadTexture []
 
Gfx Entity_YellowBlock_RenderTopBottom []
 
Gfx Entity_YellowBlock_RenderSides []
 
Gfx Entity_YellowBlock_Render []
 

Function Documentation

◆ INCLUDE_IMG()

INCLUDE_IMG ( "entity/model/YellowBlock_face.png" ,
D_0A000180_E3B9F0  )

Variable Documentation

◆ Entity_YellowBlock_LoadTexture

Gfx Entity_YellowBlock_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_E3B9F0, 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 7 of file YellowBlock.c.

7 {
8 gsDPSetTextureLUT(G_TT_NONE),
9 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
10 gsDPSetTextureDetail(G_TD_CLAMP),
11 gsDPSetTextureLOD(G_TL_TILE),
12 gsDPLoadTextureBlock(D_0A000180_E3B9F0, 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),
13 gsDPSetTexturePersp(G_TP_PERSP),
14 gsDPSetTextureFilter(G_TF_BILERP),
15 gsSPEndDisplayList(),
16};

◆ Entity_YellowBlock_RenderTopBottom

Gfx Entity_YellowBlock_RenderTopBottom[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsSPClearGeometryMode(G_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(&D_0A000000_E3B870[16], 8, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
gsSPEndDisplayList(),
}
Gfx Entity_YellowBlock_LoadTexture[]
Definition YellowBlock.c:7

Definition at line 18 of file YellowBlock.c.

18 {
19 gsDPPipeSync(),
20 gsDPSetCycleType(G_CYC_1CYCLE),
21 gsSPDisplayList(Entity_YellowBlock_LoadTexture),
22 gsSPClearGeometryMode(G_LIGHTING),
23 gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
24 gsSPVertex(&D_0A000000_E3B870[16], 8, 0),
25 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
26 gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
27 gsSPEndDisplayList(),
28};

◆ Entity_YellowBlock_RenderSides

Gfx Entity_YellowBlock_RenderSides[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsSPClearGeometryMode(G_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(&D_0A000000_E3B870[0], 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 30 of file YellowBlock.c.

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

◆ Entity_YellowBlock_Render

Gfx Entity_YellowBlock_Render[]
Initial value:
= {
gsSPEndDisplayList(),
}
Gfx Entity_YellowBlock_RenderTopBottom[]
Definition YellowBlock.c:18
Gfx Entity_YellowBlock_RenderSides[]
Definition YellowBlock.c:30

Definition at line 44 of file YellowBlock.c.

44 {
45 gsSPDisplayList(Entity_YellowBlock_RenderSides),
47 gsSPEndDisplayList(),
48};