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

Go to the source code of this file.

Functions

 INCLUDE_IMG ("entity/model/Hammer3Block_face.png", D_0A000280_E321B0)
 
 INCLUDE_PAL ("entity/model/Hammer3Block_face.pal", D_0A000380_E322B0)
 

Variables

Gfx Entity_Hammer3Block_LoadTexture []
 
Gfx Entity_Hammer3Block_RenderBlock []
 
Gfx Entity_Hammer3Block_Render []
 

Function Documentation

◆ INCLUDE_IMG()

INCLUDE_IMG ( "entity/model/Hammer3Block_face.png" ,
D_0A000280_E321B0  )

◆ INCLUDE_PAL()

INCLUDE_PAL ( "entity/model/Hammer3Block_face.pal" ,
D_0A000380_E322B0  )

Variable Documentation

◆ Entity_Hammer3Block_LoadTexture

Gfx Entity_Hammer3Block_LoadTexture[]
Initial value:
= {
gsDPSetTextureLUT(G_TT_RGBA16),
gsDPLoadTLUT_pal16(0, D_0A000380_E322B0),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPLoadTextureBlock_4b(D_0A000280_E321B0, G_IM_FMT_CI, 16, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_CLAMP, 4, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureFilter(G_TF_BILERP),
gsSPEndDisplayList(),
}

Definition at line 8 of file Hammer3Block.c.

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

◆ Entity_Hammer3Block_RenderBlock

Gfx Entity_Hammer3Block_RenderBlock[]
Initial value:
= {
gsDPPipeSync(),
gsSPClearGeometryMode(G_LIGHTING),
gsSPVertex(D_0A000000_E31F30, 30, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(4, 0, 3, 0, 4, 3, 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),
gsSP2Triangles(16, 18, 19, 0, 16, 19, 17, 0),
gsSP2Triangles(18, 20, 21, 0, 18, 21, 19, 0),
gsSP2Triangles(22, 23, 4, 0, 22, 4, 5, 0),
gsSP2Triangles(24, 25, 26, 0, 24, 26, 27, 0),
gsSP2Triangles(26, 28, 29, 0, 26, 29, 27, 0),
gsSPVertex(&D_0A000000_E31F30[28], 12, 0),
gsSP2Triangles(0, 2, 6, 0, 0, 6, 1, 0),
gsSP2Triangles(3, 7, 4, 0, 3, 4, 8, 0),
gsSP2Triangles(4, 5, 9, 0, 4, 9, 8, 0),
gsSP2Triangles(5, 10, 11, 0, 5, 11, 9, 0),
gsSPEndDisplayList(),
}
Gfx Entity_Hammer3Block_LoadTexture[]
Definition Hammer3Block.c:8

Definition at line 20 of file Hammer3Block.c.

20 {
21 gsDPPipeSync(),
22 gsSPDisplayList(Entity_Hammer3Block_LoadTexture),
23 gsSPClearGeometryMode(G_LIGHTING),
24 gsSPVertex(D_0A000000_E31F30, 30, 0),
25 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
26 gsSP2Triangles(4, 0, 3, 0, 4, 3, 5, 0),
27 gsSP2Triangles(6, 7, 8, 0, 6, 8, 9, 0),
28 gsSP2Triangles(10, 11, 12, 0, 10, 12, 13, 0),
29 gsSP2Triangles(14, 15, 16, 0, 14, 16, 17, 0),
30 gsSP2Triangles(16, 18, 19, 0, 16, 19, 17, 0),
31 gsSP2Triangles(18, 20, 21, 0, 18, 21, 19, 0),
32 gsSP2Triangles(22, 23, 4, 0, 22, 4, 5, 0),
33 gsSP2Triangles(24, 25, 26, 0, 24, 26, 27, 0),
34 gsSP2Triangles(26, 28, 29, 0, 26, 29, 27, 0),
35 gsSPVertex(&D_0A000000_E31F30[28], 12, 0),
36 gsSP2Triangles(0, 2, 6, 0, 0, 6, 1, 0),
37 gsSP2Triangles(3, 7, 4, 0, 3, 4, 8, 0),
38 gsSP2Triangles(4, 5, 9, 0, 4, 9, 8, 0),
39 gsSP2Triangles(5, 10, 11, 0, 5, 11, 9, 0),
40 gsSPEndDisplayList(),
41};

◆ Entity_Hammer3Block_Render

Gfx Entity_Hammer3Block_Render[]
Initial value:
= {
gsSPEndDisplayList(),
}
Gfx Entity_Hammer3Block_RenderBlock[]

Definition at line 43 of file Hammer3Block.c.

43 {
44 gsSPDisplayList(Entity_Hammer3Block_RenderBlock),
45 gsSPEndDisplayList(),
46};