Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
UltraBlock.c
Go to the documentation of this file.
1#include "common.h"
2#include "include_asset.h"
3
4#include "entity/model/UltraBlock.vtx.inc.c"
5
6INCLUDE_IMG("entity/model/UltraBlock_tex.png", D_0A000480_E45590);
7INCLUDE_PAL("entity/model/UltraBlock_tex.pal", D_0A000580_E45690);
20
22 1.000000, 0.000000, 0.000000, 0.000000,
23 0.000000, 1.000000, 0.000000, 0.000000,
24 0.000000, 0.000000, 1.000000, 0.000000,
25 0.000000, 0.000000, 0.000000, 1.000000
26);
27
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};
49
60
71
82
93
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};
108
120
BSS s32 PopupMenu_SelectedIndex
Gfx Entity_UltraBlock_RenderLeftBackEdge[]
Definition UltraBlock.c:83
Gfx Entity_UltraBlock_RenderLeftFrontEdge[]
Definition UltraBlock.c:61
Gfx Entity_UltraBlock_RenderRightFrontEdge[]
Definition UltraBlock.c:50
Gfx Entity_UltraBlock_Render[]
Definition UltraBlock.c:121
Gfx Entity_UltraBlock_RenderBottom[]
Definition UltraBlock.c:94
Gfx Entity_UltraBlock_RenderTop[]
Definition UltraBlock.c:28
Gfx Entity_UltraBlock_RenderRightBackEdge[]
Definition UltraBlock.c:72
Gfx Entity_UltraBlock_LoadTexture[]
Definition UltraBlock.c:8
Mtx Entity_UltraBlock_mtx
Definition UltraBlock.c:21
Gfx Entity_UltraBlock_RenderBlock[]
Definition UltraBlock.c:109
#define INCLUDE_PAL(FILENAME, SYMBOLNAME)
#define INCLUDE_IMG(FILENAME, SYMBOLNAME)
#define RDP_MATRIX( Ax, Bx, Cx, Dx, Ay, By, Cy, Dy, Az, Bz, Cz, Dz, Aw, Bw, Cw, Dw)
Definition macros.h:237