Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
SuperBlock.c
Go to the documentation of this file.
1#include "common.h"
2#include "include_asset.h"
3
4#include "entity/model/SuperBlock.vtx.inc.c"
5
6INCLUDE_IMG("entity/model/SuperBlock_tex.png", D_0A000480_E44C80);
7INCLUDE_PAL("entity/model/SuperBlock_tex.pal", D_0A000580_E44D80);
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
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};
50
62
74
86
98
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};
114
126
BSS s32 PopupMenu_SelectedIndex
Gfx Entity_SuperBlock_Render[]
Definition SuperBlock.c:127
#define INCLUDE_PAL(FILENAME, SYMBOLNAME)
#define INCLUDE_IMG(FILENAME, SYMBOLNAME)
Gfx Entity_SuperBlock_RenderLeftBackEdge[]
Definition SuperBlock.c:87
Gfx Entity_SuperBlock_RenderBottom[]
Definition SuperBlock.c:99
Gfx Entity_SuperBlock_RenderRightBackEdge[]
Definition SuperBlock.c:75
Gfx Entity_SuperBlock_RenderBlock[]
Definition SuperBlock.c:115
Gfx Entity_SuperBlock_RenderRightFrontEdge[]
Definition SuperBlock.c:51
Gfx Entity_SuperBlock_RenderTop[]
Definition SuperBlock.c:28
Gfx Entity_SuperBlock_LoadTexture[]
Definition SuperBlock.c:8
Mtx Entity_SuperBlock_mtx
Definition SuperBlock.c:21
Gfx Entity_SuperBlock_RenderLeftFrontEdge[]
Definition SuperBlock.c:63
#define RDP_MATRIX( Ax, Bx, Cx, Dx, Ay, By, Cy, Dy, Az, Bz, Cz, Dz, Aw, Bw, Cw, Dw)
Definition macros.h:237