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

Go to the source code of this file.

Functions

 INCLUDE_IMG ("entity/model/SuperBlock_tex.png", D_0A000480_E44C80)
 
 INCLUDE_PAL ("entity/model/SuperBlock_tex.pal", D_0A000580_E44D80)
 

Variables

Gfx Entity_SuperBlock_LoadTexture []
 
Mtx Entity_SuperBlock_mtx
 
Gfx Entity_SuperBlock_RenderTop []
 
Gfx Entity_SuperBlock_RenderRightFrontEdge []
 
Gfx Entity_SuperBlock_RenderLeftFrontEdge []
 
Gfx Entity_SuperBlock_RenderRightBackEdge []
 
Gfx Entity_SuperBlock_RenderLeftBackEdge []
 
Gfx Entity_SuperBlock_RenderBottom []
 
Gfx Entity_SuperBlock_RenderBlock []
 
Gfx Entity_SuperBlock_Render []
 

Function Documentation

◆ INCLUDE_IMG()

INCLUDE_IMG ( "entity/model/SuperBlock_tex.png" ,
D_0A000480_E44C80  )

◆ INCLUDE_PAL()

INCLUDE_PAL ( "entity/model/SuperBlock_tex.pal" ,
D_0A000580_E44D80  )

Variable Documentation

◆ Entity_SuperBlock_LoadTexture

◆ Entity_SuperBlock_mtx

Mtx Entity_SuperBlock_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 SuperBlock.c.

◆ Entity_SuperBlock_RenderTop

Gfx Entity_SuperBlock_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_SuperBlock_LoadTexture[]
Definition SuperBlock.c:8

Definition at line 28 of file SuperBlock.c.

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

◆ Entity_SuperBlock_RenderRightFrontEdge

◆ Entity_SuperBlock_RenderLeftFrontEdge

◆ Entity_SuperBlock_RenderRightBackEdge

◆ Entity_SuperBlock_RenderLeftBackEdge

◆ Entity_SuperBlock_RenderBottom

Gfx Entity_SuperBlock_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 99 of file SuperBlock.c.

99 {
100 gsDPPipeSync(),
105 gsSPVertex(&D_0A000000_E44800[0], 24, 0),
106 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
107 gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
108 gsSP2Triangles(8, 9, 10, 0, 8, 10, 11, 0),
109 gsSP2Triangles(12, 13, 14, 0, 12, 14, 15, 0),
110 gsSP2Triangles(16, 17, 18, 0, 16, 18, 19, 0),
111 gsSP2Triangles(20, 21, 22, 0, 20, 22, 23, 0),
113};

◆ Entity_SuperBlock_RenderBlock

Gfx Entity_SuperBlock_RenderBlock[]
Initial value:

Definition at line 115 of file SuperBlock.c.

◆ Entity_SuperBlock_Render

Gfx Entity_SuperBlock_Render[]
Initial value:

Definition at line 127 of file SuperBlock.c.