Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
UnusedBlock.c
Go to the documentation of this file.
1#include "common.h"
2#include "include_asset.h"
3
4#include "entity/model/UnusedBlock.vtx.inc.c"
5
6INCLUDE_IMG("entity/model/UnusedBlock_img1.png", D_0A0003C0_E3D190);
8 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
9 gsDPPipeSync(),
10 gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
11 gsDPSetTextureDetail(G_TD_CLAMP),
12 gsDPSetTextureLOD(G_TL_TILE),
13 gsDPLoadTextureBlock(D_0A0003C0_E3D190, G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 4, 5, G_TX_NOLOD, G_TX_NOLOD),
14 gsDPSetTexturePersp(G_TP_PERSP),
15 gsDPSetTextureLUT(G_TT_NONE),
16 gsDPSetTextureFilter(G_TF_BILERP),
17 gsDPSetTextureConvert(G_TC_FILT),
18 gsSPEndDisplayList(),
19};
20
21INCLUDE_IMG("entity/model/UnusedBlock_img2.png", D_0A000848_E3D618);
22INCLUDE_PAL("entity/model/UnusedBlock_img2.pal", D_0A000948_E3D718);
24 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
25 gsDPPipeSync(),
26 gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
27 gsDPSetTextureDetail(G_TD_CLAMP),
28 gsDPSetTextureLOD(G_TL_TILE),
29 gsDPLoadTextureBlock_4b(D_0A000848_E3D618, 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),
30 gsDPSetTexturePersp(G_TP_PERSP),
31 gsDPSetTextureLUT(G_TT_RGBA16),
32 gsDPLoadTLUT_pal16(0, D_0A000948_E3D718),
33 gsDPSetTextureFilter(G_TF_BILERP),
34 gsDPSetTextureConvert(G_TC_FILT),
35 gsSPEndDisplayList(),
36};
37
39 1.000000, 0.000000, 0.000000, 0.000000,
40 0.000000, 1.000000, 0.000000, 0.000000,
41 0.000000, 0.000000, 1.000000, 0.000000,
42 0.000000, 0.000000, 0.000000, 1.000000
43);
44
46 gsDPPipeSync(),
47 gsDPSetCycleType(G_CYC_1CYCLE),
48 gsDPSetRenderMode(G_RM_AA_ZB_XLU_SURF, G_RM_AA_ZB_XLU_SURF2),
49 gsSPDisplayList(D_0A0007C0_E3D590),
50 gsSPClearGeometryMode(G_CULL_BACK | G_LIGHTING),
51 gsSPSetGeometryMode(G_SHADING_SMOOTH),
52 gsSPVertex(&D_0A000000_E3CDD0[4], 4, 0),
53 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
54 gsSPEndDisplayList(),
55};
56
58 gsDPPipeSync(),
59 gsDPSetCycleType(G_CYC_1CYCLE),
60 gsDPSetRenderMode(G_RM_AA_ZB_XLU_SURF, G_RM_AA_ZB_XLU_SURF2),
61 gsSPDisplayList(D_0A0007C0_E3D590),
62 gsSPClearGeometryMode(G_CULL_BACK | G_LIGHTING),
63 gsSPSetGeometryMode(G_SHADING_SMOOTH),
64 gsSPEndDisplayList(),
65};
66
68 gsSPDisplayList(D_0A000AA8_E3D878),
69 gsSPVertex(&D_0A000000_E3CDD0[8], 28, 0),
70 gsSP2Triangles(8, 9, 10, 0, 8, 10, 11, 0),
71 gsSP2Triangles(12, 13, 14, 0, 12, 14, 15, 0),
72 gsSP2Triangles(16, 17, 18, 0, 16, 18, 19, 0),
73 gsSP2Triangles(20, 21, 22, 0, 20, 22, 23, 0),
74 gsSPVertex(&D_0A000000_E3CDD0[36], 16, 0),
75 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
76 gsSPEndDisplayList(),
77};
78
80 gsSPDisplayList(D_0A000AA8_E3D878),
81 gsSPVertex(&D_0A000000_E3CDD0[8], 28, 0),
82 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
83 gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
84 gsSP2Triangles(24, 25, 26, 0, 24, 26, 27, 0),
85 gsSPVertex(&D_0A000000_E3CDD0[56], 4, 0),
86 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
87 gsSPVertex(&D_0A000000_E3CDD0[36], 16, 0),
88 gsSP2Triangles(12, 13, 14, 0, 12, 14, 15, 0),
89 gsSPEndDisplayList(),
90};
91
93 gsSPDisplayList(D_0A000AA8_E3D878),
94 gsSPVertex(&D_0A000000_E3CDD0[8], 28, 0),
95 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
96 gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
97 gsSP2Triangles(8, 9, 10, 0, 8, 10, 11, 0),
98 gsSP2Triangles(12, 13, 14, 0, 12, 14, 15, 0),
99 gsSPVertex(&D_0A000000_E3CDD0[36], 16, 0),
100 gsSP2Triangles(8, 9, 10, 0, 8, 10, 11, 0),
101 gsSPEndDisplayList(),
102};
103
105 gsSPDisplayList(D_0A000AA8_E3D878),
106 gsSPVertex(&D_0A000000_E3CDD0[8], 28, 0),
107 gsSP2Triangles(16, 17, 18, 0, 16, 18, 19, 0),
108 gsSP2Triangles(20, 21, 22, 0, 20, 22, 23, 0),
109 gsSP2Triangles(24, 25, 26, 0, 24, 26, 27, 0),
110 gsSPVertex(&D_0A000000_E3CDD0[56], 4, 0),
111 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
112 gsSPVertex(&D_0A000000_E3CDD0[36], 16, 0),
113 gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0),
114 gsSPEndDisplayList(),
115};
116
118 gsSPDisplayList(D_0A000AA8_E3D878),
119 gsSPVertex(&D_0A000000_E3CDD0[52], 4, 0),
120 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
121 gsSPEndDisplayList(),
122};
123
125 gsSPDisplayList(D_0A000A60_E3D830),
126 gsSPEndDisplayList(),
127};
128
130 gsSPDisplayList(D_0A000C10_E3D9E0),
131 gsSPEndDisplayList(),
132};
133
135 gsSPDisplayList(D_0A000AE0_E3D8B0),
136 gsSPEndDisplayList(),
137};
138
140 gsSPDisplayList(D_0A000B28_E3D8F8),
141 gsSPEndDisplayList(),
142};
143
145 gsSPDisplayList(D_0A000BC0_E3D990),
146 gsSPEndDisplayList(),
147};
148
150 gsSPDisplayList(D_0A000B78_E3D948),
151 gsSPEndDisplayList(),
152};
Gfx D_0A000A60_E3D830[]
Definition UnusedBlock.c:45
Gfx D_0A000C80_E3DA50[]
Gfx D_0A000968_E3D738[]
Definition UnusedBlock.c:23
Gfx D_0A000BC0_E3D990[]
Gfx D_0A000C50_E3DA20[]
Gfx D_0A000C40_E3DA10[]
Gfx D_0A000AA8_E3D878[]
Definition UnusedBlock.c:57
Gfx D_0A000C30_E3DA00[]
Gfx D_0A0007C0_E3D590[]
Definition UnusedBlock.c:7
Gfx D_0A000C10_E3D9E0[]
Gfx D_0A000C60_E3DA30[]
Gfx D_0A000B78_E3D948[]
Definition UnusedBlock.c:92
Gfx D_0A000AE0_E3D8B0[]
Definition UnusedBlock.c:67
Gfx D_0A000C70_E3DA40[]
Gfx D_0A000B28_E3D8F8[]
Definition UnusedBlock.c:79
Mtx D_0A000A20_E3D7F0
Definition UnusedBlock.c:38
#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:233