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

Go to the source code of this file.

Functions

 INCLUDE_IMG ("entity/model/BellbellPlant.png", D_0A001090_E6C240)
 

Variables

unsigned char D_0A001090_E6C240 []
 
Gfx Entity_BellbellPlant_RenderNode5 []
 
Gfx Entity_BellbellPlant_RenderNode4 []
 
Gfx Entity_BellbellPlant_RenderNode3 []
 
Gfx Entity_BellbellPlant_RenderNode2 []
 
Gfx Entity_BellbellPlant_RenderNode1 []
 

Function Documentation

◆ INCLUDE_IMG()

INCLUDE_IMG ( "entity/model/BellbellPlant.png" ,
D_0A001090_E6C240  )

Variable Documentation

◆ D_0A001090_E6C240

unsigned char D_0A001090_E6C240[]
extern

◆ Entity_BellbellPlant_RenderNode5

Gfx Entity_BellbellPlant_RenderNode5[]
Initial value:
= {
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
gsDPLoadTextureBlock(D_0A001090_E6C240, G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 16, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, 4, 4, G_TX_NOLOD, G_TX_NOLOD),
gsSPClearGeometryMode(G_LIGHTING),
gsSPVertex(D_0A000A10_E6BBC0, 14, 0),
gsSP2Triangles(0, 1, 2, 0, 1, 0, 3, 0),
gsSP2Triangles(4, 5, 6, 0, 5, 4, 7, 0),
gsSP2Triangles(8, 9, 10, 0, 11, 12, 13, 0),
gsDPPipeSync(),
gsDPSetCombineMode(PM_CC_04, PM_CC_04),
gsSPTexture(0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF),
gsSPEndDisplayList(),
}
unsigned char D_0A001090_E6C240[]
#define PM_CC_04
Definition macros.h:279

Definition at line 12 of file BellbellPlant_gfx.c.

12 {
13 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
14 gsDPPipeSync(),
15 gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
16 gsDPLoadTextureBlock(D_0A001090_E6C240, G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 16, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, 4, 4, G_TX_NOLOD, G_TX_NOLOD),
17 gsSPClearGeometryMode(G_LIGHTING),
18 gsSPVertex(D_0A000A10_E6BBC0, 14, 0),
19 gsSP2Triangles(0, 1, 2, 0, 1, 0, 3, 0),
20 gsSP2Triangles(4, 5, 6, 0, 5, 4, 7, 0),
21 gsSP2Triangles(8, 9, 10, 0, 11, 12, 13, 0),
22 gsDPPipeSync(),
23 gsDPSetCombineMode(PM_CC_04, PM_CC_04),
24 gsSPTexture(0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF),
25 gsSPEndDisplayList(),
26};

◆ Entity_BellbellPlant_RenderNode4

Gfx Entity_BellbellPlant_RenderNode4[]

Definition at line 28 of file BellbellPlant_gfx.c.

28 {
29 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
30 gsDPPipeSync(),
31 gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
32 gsDPLoadTextureBlock(D_0A001090_E6C240, G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 16, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, 4, 4, G_TX_NOLOD, G_TX_NOLOD),
33 gsSPClearGeometryMode(G_LIGHTING),
34 gsSPVertex(D_0A000720_E6B8D0, 32, 0),
35 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
36 gsSP2Triangles(3, 2, 4, 0, 3, 4, 5, 0),
37 gsSP2Triangles(3, 6, 7, 0, 3, 7, 0, 0),
38 gsSP2Triangles(7, 6, 8, 0, 7, 8, 9, 0),
39 gsSP2Triangles(9, 8, 10, 0, 9, 10, 11, 0),
40 gsSP2Triangles(11, 10, 12, 0, 5, 4, 13, 0),
41 gsSP2Triangles(5, 13, 14, 0, 14, 13, 15, 0),
42 gsSP2Triangles(14, 15, 16, 0, 5, 17, 6, 0),
43 gsSP2Triangles(5, 6, 3, 0, 6, 17, 18, 0),
44 gsSP2Triangles(6, 18, 8, 0, 8, 18, 19, 0),
45 gsSP2Triangles(8, 19, 10, 0, 10, 19, 12, 0),
46 gsSP2Triangles(16, 15, 20, 0, 16, 20, 21, 0),
47 gsSP2Triangles(21, 20, 22, 0, 21, 22, 23, 0),
48 gsSP2Triangles(14, 24, 17, 0, 14, 17, 5, 0),
49 gsSP2Triangles(17, 24, 25, 0, 17, 25, 18, 0),
50 gsSP2Triangles(18, 25, 26, 0, 18, 26, 19, 0),
51 gsSP2Triangles(19, 26, 12, 0, 27, 28, 12, 0),
52 gsSP2Triangles(29, 30, 28, 0, 29, 28, 27, 0),
53 gsSP2Triangles(16, 31, 24, 0, 16, 24, 14, 0),
54 gsSPVertex(&D_0A000720_E6B8D0[32], 15, 0),
55 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
56 gsSP2Triangles(3, 2, 4, 0, 3, 4, 5, 0),
57 gsSP2Triangles(5, 4, 6, 0, 7, 8, 9, 0),
58 gsSP2Triangles(7, 9, 10, 0, 11, 8, 7, 0),
59 gsSP2Triangles(11, 7, 12, 0, 12, 7, 1, 0),
60 gsSP2Triangles(12, 1, 13, 0, 1, 7, 10, 0),
61 gsSP2Triangles(1, 10, 2, 0, 2, 10, 14, 0),
62 gsSP2Triangles(2, 14, 4, 0, 4, 14, 6, 0),
63 gsDPPipeSync(),
64 gsDPSetCombineMode(PM_CC_04, PM_CC_04),
65 gsSPTexture(0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF),
66 gsSPEndDisplayList(),
67};

◆ Entity_BellbellPlant_RenderNode3

Gfx Entity_BellbellPlant_RenderNode3[]
Initial value:
= {
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
gsDPLoadTextureBlock(D_0A001090_E6C240, G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 16, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, 4, 4, G_TX_NOLOD, G_TX_NOLOD),
gsSPClearGeometryMode(G_LIGHTING),
gsSPVertex(D_0A000640_E6B7F0, 14, 0),
gsSP2Triangles(0, 1, 2, 0, 1, 0, 3, 0),
gsSP2Triangles(4, 5, 6, 0, 5, 4, 7, 0),
gsSP2Triangles(8, 9, 10, 0, 11, 12, 13, 0),
gsDPPipeSync(),
gsDPSetCombineMode(PM_CC_04, PM_CC_04),
gsSPTexture(0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF),
gsSPEndDisplayList(),
}

Definition at line 69 of file BellbellPlant_gfx.c.

69 {
70 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
71 gsDPPipeSync(),
72 gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
73 gsDPLoadTextureBlock(D_0A001090_E6C240, G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 16, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, 4, 4, G_TX_NOLOD, G_TX_NOLOD),
74 gsSPClearGeometryMode(G_LIGHTING),
75 gsSPVertex(D_0A000640_E6B7F0, 14, 0),
76 gsSP2Triangles(0, 1, 2, 0, 1, 0, 3, 0),
77 gsSP2Triangles(4, 5, 6, 0, 5, 4, 7, 0),
78 gsSP2Triangles(8, 9, 10, 0, 11, 12, 13, 0),
79 gsDPPipeSync(),
80 gsDPSetCombineMode(PM_CC_04, PM_CC_04),
81 gsSPTexture(0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF),
82 gsSPEndDisplayList(),
83};

◆ Entity_BellbellPlant_RenderNode2

Gfx Entity_BellbellPlant_RenderNode2[]

Definition at line 85 of file BellbellPlant_gfx.c.

85 {
86 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
87 gsDPPipeSync(),
88 gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
89 gsDPLoadTextureBlock(D_0A001090_E6C240, G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 16, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, 4, 4, G_TX_NOLOD, G_TX_NOLOD),
90 gsSPClearGeometryMode(G_LIGHTING),
91 gsSPVertex(D_0A000390_E6B540, 32, 0),
92 gsSP2Triangles(0, 1, 2, 0, 3, 4, 1, 0),
93 gsSP2Triangles(3, 1, 0, 0, 5, 6, 7, 0),
94 gsSP2Triangles(5, 7, 8, 0, 7, 6, 9, 0),
95 gsSP2Triangles(7, 9, 4, 0, 4, 9, 10, 0),
96 gsSP2Triangles(4, 10, 1, 0, 1, 10, 2, 0),
97 gsSP2Triangles(11, 7, 4, 0, 11, 4, 3, 0),
98 gsSP2Triangles(8, 7, 11, 0, 8, 11, 12, 0),
99 gsSP2Triangles(13, 14, 15, 0, 13, 15, 16, 0),
100 gsSP2Triangles(15, 14, 17, 0, 15, 17, 18, 0),
101 gsSP2Triangles(18, 17, 19, 0, 18, 19, 20, 0),
102 gsSP2Triangles(20, 19, 2, 0, 21, 0, 2, 0),
103 gsSP2Triangles(22, 3, 0, 0, 22, 0, 21, 0),
104 gsSP2Triangles(23, 24, 14, 0, 23, 14, 13, 0),
105 gsSP2Triangles(14, 24, 25, 0, 14, 25, 17, 0),
106 gsSP2Triangles(17, 25, 26, 0, 17, 26, 19, 0),
107 gsSP2Triangles(19, 26, 2, 0, 27, 11, 3, 0),
108 gsSP2Triangles(27, 3, 22, 0, 12, 11, 27, 0),
109 gsSP2Triangles(12, 27, 28, 0, 28, 27, 24, 0),
110 gsSP2Triangles(28, 24, 23, 0, 24, 27, 22, 0),
111 gsSP2Triangles(24, 22, 25, 0, 25, 22, 21, 0),
112 gsSP2Triangles(25, 21, 26, 0, 26, 21, 2, 0),
113 gsSP2Triangles(16, 29, 30, 0, 16, 30, 13, 0),
114 gsSPVertex(&D_0A000390_E6B540[31], 12, 0),
115 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
116 gsSP2Triangles(4, 5, 1, 0, 4, 1, 0, 0),
117 gsSP2Triangles(6, 7, 5, 0, 6, 5, 4, 0),
118 gsSP2Triangles(8, 9, 7, 0, 8, 7, 6, 0),
119 gsSP2Triangles(10, 11, 9, 0, 10, 9, 8, 0),
120 gsDPPipeSync(),
121 gsDPSetCombineMode(PM_CC_04, PM_CC_04),
122 gsSPTexture(0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF),
123 gsSPEndDisplayList(),
124};

◆ Entity_BellbellPlant_RenderNode1

Gfx Entity_BellbellPlant_RenderNode1[]

Definition at line 126 of file BellbellPlant_gfx.c.

126 {
127 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
128 gsDPPipeSync(),
129 gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
130 gsDPLoadTextureBlock(D_0A001090_E6C240, G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 16, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, 4, 4, G_TX_NOLOD, G_TX_NOLOD),
131 gsSPClearGeometryMode(G_LIGHTING),
132 gsSPVertex(D_0A000000_E6B1B0, 32, 0),
133 gsSP2Triangles(0, 1, 2, 0, 0, 3, 4, 0),
134 gsSP2Triangles(0, 4, 1, 0, 5, 4, 6, 0),
135 gsSP2Triangles(2, 1, 7, 0, 1, 4, 5, 0),
136 gsSP2Triangles(1, 5, 7, 0, 6, 4, 3, 0),
137 gsSP2Triangles(8, 9, 10, 0, 8, 10, 11, 0),
138 gsSP2Triangles(12, 13, 9, 0, 12, 9, 8, 0),
139 gsSP2Triangles(14, 15, 16, 0, 14, 16, 17, 0),
140 gsSP2Triangles(17, 16, 18, 0, 17, 18, 19, 0),
141 gsSP2Triangles(19, 18, 20, 0, 19, 20, 13, 0),
142 gsSP2Triangles(13, 20, 21, 0, 13, 21, 9, 0),
143 gsSP2Triangles(9, 21, 22, 0, 9, 22, 10, 0),
144 gsSP2Triangles(23, 14, 17, 0, 23, 17, 24, 0),
145 gsSP2Triangles(25, 19, 13, 0, 25, 13, 12, 0),
146 gsSP2Triangles(15, 23, 24, 0, 15, 24, 16, 0),
147 gsSP2Triangles(16, 24, 25, 0, 16, 25, 18, 0),
148 gsSP2Triangles(18, 25, 12, 0, 18, 12, 20, 0),
149 gsSP2Triangles(20, 12, 8, 0, 20, 8, 21, 0),
150 gsSP2Triangles(21, 8, 11, 0, 21, 11, 22, 0),
151 gsSP2Triangles(26, 17, 19, 0, 24, 19, 25, 0),
152 gsSP2Triangles(27, 28, 29, 0, 27, 29, 30, 0),
153 gsSP2Triangles(2, 31, 15, 0, 2, 15, 14, 0),
154 gsSPVertex(&D_0A000000_E6B1B0[32], 25, 0),
155 gsSP2Triangles(0, 1, 2, 0, 3, 2, 4, 0),
156 gsSP2Triangles(4, 2, 5, 0, 4, 5, 6, 0),
157 gsSP2Triangles(6, 5, 7, 0, 6, 7, 8, 0),
158 gsSP2Triangles(8, 7, 9, 0, 8, 9, 10, 0),
159 gsSP2Triangles(10, 9, 11, 0, 10, 11, 12, 0),
160 gsSP2Triangles(13, 8, 10, 0, 13, 10, 14, 0),
161 gsSP2Triangles(15, 16, 17, 0, 15, 17, 1, 0),
162 gsSP2Triangles(1, 17, 18, 0, 1, 18, 2, 0),
163 gsSP2Triangles(2, 18, 19, 0, 2, 19, 5, 0),
164 gsSP2Triangles(5, 19, 13, 0, 5, 13, 7, 0),
165 gsSP2Triangles(7, 13, 14, 0, 7, 14, 9, 0),
166 gsSP2Triangles(9, 14, 20, 0, 9, 20, 11, 0),
167 gsSP2Triangles(16, 21, 0, 0, 16, 0, 17, 0),
168 gsSP2Triangles(22, 23, 4, 0, 17, 4, 18, 0),
169 gsSP2Triangles(18, 4, 24, 0, 18, 6, 19, 0),
170 gsSP2Triangles(19, 6, 8, 0, 19, 8, 13, 0),
171 gsDPPipeSync(),
172 gsDPSetCombineMode(PM_CC_04, PM_CC_04),
173 gsSPTexture(0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF),
174 gsSPEndDisplayList(),
175};