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

Go to the source code of this file.

Functions

 INCLUDE_IMG ("entity/model/UltraBlock_tex.png", D_0A000480_E45590)
 
 INCLUDE_PAL ("entity/model/UltraBlock_tex.pal", D_0A000580_E45690)
 

Variables

Gfx Entity_UltraBlock_LoadTexture []
 
Mtx Entity_UltraBlock_mtx
 
Gfx Entity_UltraBlock_RenderTop []
 
Gfx Entity_UltraBlock_RenderRightFrontEdge []
 
Gfx Entity_UltraBlock_RenderLeftFrontEdge []
 
Gfx Entity_UltraBlock_RenderRightBackEdge []
 
Gfx Entity_UltraBlock_RenderLeftBackEdge []
 
Gfx Entity_UltraBlock_RenderBottom []
 
Gfx Entity_UltraBlock_RenderBlock []
 
Gfx Entity_UltraBlock_Render []
 

Function Documentation

◆ INCLUDE_IMG()

INCLUDE_IMG ( "entity/model/UltraBlock_tex.png" ,
D_0A000480_E45590  )

◆ INCLUDE_PAL()

INCLUDE_PAL ( "entity/model/UltraBlock_tex.pal" ,
D_0A000580_E45690  )

Variable Documentation

◆ Entity_UltraBlock_LoadTexture

◆ Entity_UltraBlock_mtx

Mtx Entity_UltraBlock_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:237

Definition at line 21 of file UltraBlock.c.

◆ Entity_UltraBlock_RenderTop

Gfx Entity_UltraBlock_RenderTop[]
Initial value:
= {
gsSP2Triangles(8, 9, 0, 0, 8, 0, 5, 0),
gsSP2Triangles(10, 11, 2, 0, 10, 2, 1, 0),
gsSP2Triangles(6, 3, 12, 0, 6, 12, 13, 0),
gsSP2Triangles(4, 7, 14, 0, 4, 14, 15, 0),
gsSP2Triangles(16, 17, 18, 0, 16, 18, 19, 0),
gsSP2Triangles(20, 21, 22, 0, 20, 22, 23, 0),
}
Gfx Entity_UltraBlock_LoadTexture[]
Definition UltraBlock.c:8

Definition at line 28 of file UltraBlock.c.

28 {
33 gsSPVertex(&D_0A000000_E45110[24], 1, 0),
34 gsSPVertex(&D_0A000000_E45110[28], 1, 1),
35 gsSPVertex(&D_0A000000_E45110[35], 1, 2),
36 gsSPVertex(&D_0A000000_E45110[39], 1, 3),
37 gsSPVertex(&D_0A000000_E45110[43], 1, 4),
38 gsSPVertex(&D_0A000000_E45110[47], 2, 5),
39 gsSPVertex(&D_0A000000_E45110[52], 1, 7),
40 gsSPVertex(&D_0A000000_E45110[56], 16, 8),
41 gsSP2Triangles(8, 9, 0, 0, 8, 0, 5, 0),
42 gsSP2Triangles(10, 11, 2, 0, 10, 2, 1, 0),
43 gsSP2Triangles(6, 3, 12, 0, 6, 12, 13, 0),
44 gsSP2Triangles(4, 7, 14, 0, 4, 14, 15, 0),
45 gsSP2Triangles(16, 17, 18, 0, 16, 18, 19, 0),
46 gsSP2Triangles(20, 21, 22, 0, 20, 22, 23, 0),
48};

◆ Entity_UltraBlock_RenderRightFrontEdge

Gfx Entity_UltraBlock_RenderRightFrontEdge[]

◆ Entity_UltraBlock_RenderLeftFrontEdge

Gfx Entity_UltraBlock_RenderLeftFrontEdge[]

◆ Entity_UltraBlock_RenderRightBackEdge

Gfx Entity_UltraBlock_RenderRightBackEdge[]

◆ Entity_UltraBlock_RenderLeftBackEdge

Gfx Entity_UltraBlock_RenderLeftBackEdge[]

◆ Entity_UltraBlock_RenderBottom

Gfx Entity_UltraBlock_RenderBottom[]
Initial value:
= {
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),
gsSP2Triangles(16, 17, 18, 0, 16, 18, 19, 0),
gsSP2Triangles(20, 21, 22, 0, 20, 22, 23, 0),
}

Definition at line 94 of file UltraBlock.c.

94 {
99 gsSPVertex(&D_0A000000_E45110[0], 24, 0),
100 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
101 gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
102 gsSP2Triangles(8, 9, 10, 0, 8, 10, 11, 0),
103 gsSP2Triangles(12, 13, 14, 0, 12, 14, 15, 0),
104 gsSP2Triangles(16, 17, 18, 0, 16, 18, 19, 0),
105 gsSP2Triangles(20, 21, 22, 0, 20, 22, 23, 0),
107};

◆ Entity_UltraBlock_RenderBlock

Gfx Entity_UltraBlock_RenderBlock[]
Initial value:

Definition at line 109 of file UltraBlock.c.

◆ Entity_UltraBlock_Render

Gfx Entity_UltraBlock_Render[]
Initial value:

Definition at line 121 of file UltraBlock.c.