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

Go to the source code of this file.

Functions

 INCLUDE_IMG ("entity/model/TrumpetPlant.png", D_0A000D40_E6E0D0)
 

Variables

unsigned char D_0A000D40_E6E0D0 []
 
Gfx Entity_TrumpetPlant_RenderNode2 []
 
Gfx Entity_TrumpetPlant_RenderNode1 []
 

Function Documentation

◆ INCLUDE_IMG()

INCLUDE_IMG ( "entity/model/TrumpetPlant.png" ,
D_0A000D40_E6E0D0  )

Variable Documentation

◆ D_0A000D40_E6E0D0

unsigned char D_0A000D40_E6E0D0[]
extern

◆ Entity_TrumpetPlant_RenderNode2

Gfx Entity_TrumpetPlant_RenderNode2[]

Definition at line 9 of file TrumpetPlant_gfx.c.

9 {
10 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
11 gsDPPipeSync(),
12 gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
13 gsDPLoadTextureBlock(D_0A000D40_E6E0D0, G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 16, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_CLAMP, 4, 4, G_TX_NOLOD, G_TX_NOLOD),
14 gsSPVertex(D_0A000240_E6D5D0, 32, 0),
15 gsSP2Triangles(0, 1, 2, 0, 1, 0, 3, 0),
16 gsSP2Triangles(1, 3, 4, 0, 4, 3, 5, 0),
17 gsSP2Triangles(4, 5, 6, 0, 6, 5, 7, 0),
18 gsSP2Triangles(6, 7, 8, 0, 8, 7, 9, 0),
19 gsSP2Triangles(8, 9, 10, 0, 10, 9, 11, 0),
20 gsSP2Triangles(10, 11, 12, 0, 12, 11, 13, 0),
21 gsSP2Triangles(12, 13, 14, 0, 15, 0, 2, 0),
22 gsSP2Triangles(0, 15, 16, 0, 0, 16, 3, 0),
23 gsSP2Triangles(3, 16, 17, 0, 3, 17, 5, 0),
24 gsSP2Triangles(5, 17, 18, 0, 5, 18, 7, 0),
25 gsSP2Triangles(7, 18, 19, 0, 7, 19, 9, 0),
26 gsSP2Triangles(9, 19, 20, 0, 9, 20, 11, 0),
27 gsSP2Triangles(11, 20, 21, 0, 11, 21, 13, 0),
28 gsSP2Triangles(22, 15, 2, 0, 15, 22, 23, 0),
29 gsSP2Triangles(15, 23, 16, 0, 16, 23, 24, 0),
30 gsSP2Triangles(16, 24, 17, 0, 17, 24, 25, 0),
31 gsSP2Triangles(17, 25, 18, 0, 18, 25, 26, 0),
32 gsSP2Triangles(18, 26, 19, 0, 19, 26, 27, 0),
33 gsSP2Triangles(19, 27, 20, 0, 20, 27, 28, 0),
34 gsSP2Triangles(20, 28, 21, 0, 29, 22, 2, 0),
35 gsSP2Triangles(22, 29, 30, 0, 22, 30, 23, 0),
36 gsSP2Triangles(23, 30, 31, 0, 23, 31, 24, 0),
37 gsSPVertex(&D_0A000240_E6D5D0[32], 32, 0),
38 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
39 gsSP2Triangles(3, 2, 4, 0, 3, 4, 5, 0),
40 gsSP2Triangles(5, 4, 6, 0, 5, 6, 7, 0),
41 gsSP2Triangles(7, 6, 8, 0, 7, 8, 9, 0),
42 gsSP2Triangles(10, 11, 12, 0, 11, 10, 13, 0),
43 gsSP2Triangles(11, 13, 14, 0, 14, 13, 15, 0),
44 gsSP2Triangles(14, 15, 16, 0, 16, 15, 17, 0),
45 gsSP2Triangles(16, 17, 18, 0, 18, 17, 19, 0),
46 gsSP2Triangles(18, 19, 20, 0, 20, 19, 21, 0),
47 gsSP2Triangles(20, 21, 22, 0, 22, 21, 23, 0),
48 gsSP2Triangles(22, 23, 24, 0, 25, 26, 27, 0),
49 gsSP2Triangles(25, 27, 28, 0, 29, 10, 12, 0),
50 gsSP2Triangles(10, 29, 30, 0, 10, 30, 13, 0),
51 gsSP2Triangles(13, 30, 31, 0, 13, 31, 15, 0),
52 gsSPVertex(&D_0A000240_E6D5D0[64], 32, 0),
53 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
54 gsSP2Triangles(3, 2, 4, 0, 3, 4, 5, 0),
55 gsSP2Triangles(5, 4, 6, 0, 5, 6, 7, 0),
56 gsSP2Triangles(7, 6, 8, 0, 7, 8, 9, 0),
57 gsSP2Triangles(10, 11, 12, 0, 11, 10, 13, 0),
58 gsSP2Triangles(11, 13, 14, 0, 14, 13, 15, 0),
59 gsSP2Triangles(14, 15, 1, 0, 1, 15, 16, 0),
60 gsSP2Triangles(1, 16, 2, 0, 2, 16, 17, 0),
61 gsSP2Triangles(2, 17, 4, 0, 4, 17, 18, 0),
62 gsSP2Triangles(4, 18, 6, 0, 6, 18, 19, 0),
63 gsSP2Triangles(6, 19, 8, 0, 20, 10, 12, 0),
64 gsSP2Triangles(10, 20, 21, 0, 10, 21, 13, 0),
65 gsSP2Triangles(13, 21, 22, 0, 13, 22, 15, 0),
66 gsSP2Triangles(15, 22, 23, 0, 15, 23, 16, 0),
67 gsSP2Triangles(16, 23, 24, 0, 16, 24, 17, 0),
68 gsSP2Triangles(17, 24, 25, 0, 17, 25, 18, 0),
69 gsSP2Triangles(18, 25, 26, 0, 18, 26, 19, 0),
70 gsSP2Triangles(27, 28, 29, 0, 27, 29, 30, 0),
71 gsSPVertex(&D_0A000240_E6D5D0[95], 24, 0),
72 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
73 gsSP2Triangles(3, 2, 4, 0, 3, 4, 5, 0),
74 gsSP2Triangles(5, 4, 6, 0, 5, 6, 7, 0),
75 gsSP2Triangles(7, 6, 8, 0, 7, 8, 9, 0),
76 gsSP2Triangles(9, 8, 10, 0, 9, 10, 11, 0),
77 gsSP2Triangles(11, 10, 12, 0, 11, 12, 13, 0),
78 gsSP2Triangles(13, 12, 14, 0, 13, 14, 15, 0),
79 gsSP2Triangles(16, 13, 15, 0, 16, 15, 17, 0),
80 gsSP2Triangles(18, 11, 13, 0, 18, 13, 16, 0),
81 gsSP2Triangles(19, 9, 11, 0, 19, 11, 18, 0),
82 gsSP2Triangles(20, 7, 9, 0, 20, 9, 19, 0),
83 gsSP2Triangles(21, 5, 7, 0, 21, 7, 20, 0),
84 gsSP2Triangles(22, 3, 5, 0, 22, 5, 21, 0),
85 gsSP2Triangles(23, 0, 3, 0, 23, 3, 22, 0),
86 gsDPPipeSync(),
87 gsDPSetCombineMode(PM_CC_04, PM_CC_04),
88 gsSPTexture(0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF),
89 gsSPEndDisplayList(),
90};
unsigned char D_0A000D40_E6E0D0[]
#define PM_CC_04
Definition macros.h:279

◆ Entity_TrumpetPlant_RenderNode1

Gfx Entity_TrumpetPlant_RenderNode1[]
Initial value:
= {
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
gsDPLoadTextureBlock(D_0A000D40_E6E0D0, 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),
gsSPVertex(D_0A000000_E6D390, 32, 0),
gsSP2Triangles(0, 1, 2, 0, 3, 4, 0, 0),
gsSP2Triangles(4, 5, 0, 0, 0, 5, 1, 0),
gsSP2Triangles(6, 7, 8, 0, 9, 10, 6, 0),
gsSP2Triangles(10, 11, 6, 0, 6, 11, 7, 0),
gsSP2Triangles(12, 13, 14, 0, 15, 16, 17, 0),
gsSP2Triangles(15, 17, 18, 0, 18, 17, 19, 0),
gsSP2Triangles(18, 19, 20, 0, 13, 21, 14, 0),
gsSP2Triangles(22, 23, 24, 0, 22, 24, 25, 0),
gsSP2Triangles(26, 27, 28, 0, 26, 28, 29, 0),
gsSP2Triangles(29, 28, 30, 0, 29, 30, 31, 0),
gsSP1Triangle(21, 12, 14, 0),
gsSPVertex(&D_0A000000_E6D390[32], 4, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsDPPipeSync(),
gsDPSetCombineMode(PM_CC_04, PM_CC_04),
gsSPTexture(0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF),
gsSPEndDisplayList(),
}

Definition at line 92 of file TrumpetPlant_gfx.c.

92 {
93 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
94 gsDPPipeSync(),
95 gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
96 gsDPLoadTextureBlock(D_0A000D40_E6E0D0, 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),
97 gsSPVertex(D_0A000000_E6D390, 32, 0),
98 gsSP2Triangles(0, 1, 2, 0, 3, 4, 0, 0),
99 gsSP2Triangles(4, 5, 0, 0, 0, 5, 1, 0),
100 gsSP2Triangles(6, 7, 8, 0, 9, 10, 6, 0),
101 gsSP2Triangles(10, 11, 6, 0, 6, 11, 7, 0),
102 gsSP2Triangles(12, 13, 14, 0, 15, 16, 17, 0),
103 gsSP2Triangles(15, 17, 18, 0, 18, 17, 19, 0),
104 gsSP2Triangles(18, 19, 20, 0, 13, 21, 14, 0),
105 gsSP2Triangles(22, 23, 24, 0, 22, 24, 25, 0),
106 gsSP2Triangles(26, 27, 28, 0, 26, 28, 29, 0),
107 gsSP2Triangles(29, 28, 30, 0, 29, 30, 31, 0),
108 gsSP1Triangle(21, 12, 14, 0),
109 gsSPVertex(&D_0A000000_E6D390[32], 4, 0),
110 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
111 gsDPPipeSync(),
112 gsDPSetCombineMode(PM_CC_04, PM_CC_04),
113 gsSPTexture(0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF),
114 gsSPEndDisplayList(),
115};