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

Go to the source code of this file.

Functions

 INCLUDE_IMG ("entity/model/PinkFlower_light.png", D_0A0005B0_E9BAB0)
 
 INCLUDE_IMG ("entity/model/PinkFlower_tex.png", D_0A000820_E9BD20)
 

Variables

Gfx D_0A0007B0_E9BCB0 []
 
Gfx D_0A001020_E9C520 []
 
Mtx D_0A001098_E9C598
 
Gfx Entity_PinkFlower_RenderNode3 []
 
Gfx Entity_PinkFlower_RenderNode2 []
 
Gfx Entity_PinkFlower_RenderNode1 []
 
Gfx Entity_PinkFlower_RenderNode5 []
 
Gfx D_0A0013B8_E9C8B8 []
 

Function Documentation

◆ INCLUDE_IMG() [1/2]

INCLUDE_IMG ( "entity/model/PinkFlower_light.png" ,
D_0A0005B0_E9BAB0  )

◆ INCLUDE_IMG() [2/2]

INCLUDE_IMG ( "entity/model/PinkFlower_tex.png" ,
D_0A000820_E9BD20  )

Variable Documentation

◆ D_0A0007B0_E9BCB0

Gfx D_0A0007B0_E9BCB0[]
Initial value:
= {
gsDPSetTextureLUT(G_TT_NONE),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPLoadTextureBlock(D_0A0005B0_E9BAB0, G_IM_FMT_IA, G_IM_SIZ_16b, 16, 16, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 4, 4, G_TX_NOLOD, G_TX_NOLOD),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureFilter(G_TF_BILERP),
gsSPEndDisplayList(),
}

Definition at line 11 of file PinkFlower_gfx.c.

11 {
12 gsDPSetTextureLUT(G_TT_NONE),
13 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
14 gsDPSetTextureDetail(G_TD_CLAMP),
15 gsDPSetTextureLOD(G_TL_TILE),
16 gsDPLoadTextureBlock(D_0A0005B0_E9BAB0, G_IM_FMT_IA, G_IM_SIZ_16b, 16, 16, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 4, 4, G_TX_NOLOD, G_TX_NOLOD),
17 gsDPSetTexturePersp(G_TP_PERSP),
18 gsDPSetTextureFilter(G_TF_BILERP),
19 gsSPEndDisplayList(),
20};

◆ D_0A001020_E9C520

Gfx D_0A001020_E9C520[]
Initial value:
= {
gsDPSetTextureLUT(G_TT_NONE),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
gsDPSetTextureDetail(G_TD_CLAMP),
gsDPSetTextureLOD(G_TL_TILE),
gsDPLoadTextureBlock(D_0A000820_E9BD20, G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 64, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 4, 6, G_TX_NOLOD, G_TX_NOLOD),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureFilter(G_TF_BILERP),
gsSPEndDisplayList(),
}

Definition at line 23 of file PinkFlower_gfx.c.

23 {
24 gsDPSetTextureLUT(G_TT_NONE),
25 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
26 gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
27 gsDPSetTextureDetail(G_TD_CLAMP),
28 gsDPSetTextureLOD(G_TL_TILE),
29 gsDPLoadTextureBlock(D_0A000820_E9BD20, G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 64, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 4, 6, G_TX_NOLOD, G_TX_NOLOD),
30 gsDPSetTexturePersp(G_TP_PERSP),
31 gsDPSetTextureFilter(G_TF_BILERP),
32 gsSPEndDisplayList(),
33};

◆ D_0A001098_E9C598

Mtx D_0A001098_E9C598
Initial value:
1.000000, 0.000000, 0.000000, -10.000000,
0.000000, 1.000000, 0.000000, 25.000000,
0.000000, 0.000000, 1.000000, 13.000000,
0.000000, 0.000000, 0.000000, 1.000000
)
#define RDP_MATRIX( Ax, Bx, Cx, Dx, Ay, By, Cy, Dy, Az, Bz, Cz, Dz, Aw, Bw, Cw, Dw)
Definition macros.h:233

Definition at line 35 of file PinkFlower_gfx.c.

Referenced by entity_PinkFlowerLight_setupGfx().

◆ Entity_PinkFlower_RenderNode3

Gfx Entity_PinkFlower_RenderNode3[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPTexture(0x0080, 0x0080, 0, G_TX_RENDERTILE, G_OFF),
gsSPClearGeometryMode(G_CULL_BACK | G_LIGHTING),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPVertex(D_0A0004B0_E9B9B0, 16, 0),
gsSP2Triangles(0, 1, 2, 0, 3, 4, 5, 0),
gsSP2Triangles(3, 5, 0, 0, 5, 6, 1, 0),
gsSP2Triangles(5, 1, 0, 0, 3, 0, 2, 0),
gsSP2Triangles(4, 7, 5, 0, 7, 6, 5, 0),
gsSP2Triangles(8, 9, 10, 0, 8, 10, 11, 0),
gsSP2Triangles(8, 11, 12, 0, 11, 13, 12, 0),
gsSP2Triangles(10, 14, 13, 0, 10, 13, 11, 0),
gsSP2Triangles(9, 15, 10, 0, 15, 14, 10, 0),
gsSPEndDisplayList(),
}

Definition at line 42 of file PinkFlower_gfx.c.

42 {
43 gsDPPipeSync(),
44 gsDPSetCycleType(G_CYC_1CYCLE),
45 gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
46 gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
47 gsSPTexture(0x0080, 0x0080, 0, G_TX_RENDERTILE, G_OFF),
48 gsSPClearGeometryMode(G_CULL_BACK | G_LIGHTING),
49 gsSPSetGeometryMode(G_SHADING_SMOOTH),
50 gsSPVertex(D_0A0004B0_E9B9B0, 16, 0),
51 gsSP2Triangles(0, 1, 2, 0, 3, 4, 5, 0),
52 gsSP2Triangles(3, 5, 0, 0, 5, 6, 1, 0),
53 gsSP2Triangles(5, 1, 0, 0, 3, 0, 2, 0),
54 gsSP2Triangles(4, 7, 5, 0, 7, 6, 5, 0),
55 gsSP2Triangles(8, 9, 10, 0, 8, 10, 11, 0),
56 gsSP2Triangles(8, 11, 12, 0, 11, 13, 12, 0),
57 gsSP2Triangles(10, 14, 13, 0, 10, 13, 11, 0),
58 gsSP2Triangles(9, 15, 10, 0, 15, 14, 10, 0),
59 gsSPEndDisplayList(),
60};

◆ Entity_PinkFlower_RenderNode2

Gfx Entity_PinkFlower_RenderNode2[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPTexture(0x0080, 0x0080, 0, G_TX_RENDERTILE, G_OFF),
gsSPClearGeometryMode(G_CULL_BACK | G_LIGHTING),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPVertex(D_0A0003B0_E9B8B0, 16, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(2, 1, 4, 0, 2, 4, 5, 0),
gsSP2Triangles(2, 5, 6, 0, 2, 6, 3, 0),
gsSP2Triangles(5, 7, 6, 0, 5, 4, 7, 0),
gsSP2Triangles(8, 9, 10, 0, 8, 10, 11, 0),
gsSP2Triangles(10, 12, 13, 0, 10, 13, 11, 0),
gsSP2Triangles(10, 9, 14, 0, 10, 14, 12, 0),
gsSP2Triangles(12, 15, 13, 0, 12, 14, 15, 0),
gsSPEndDisplayList(),
}

Definition at line 62 of file PinkFlower_gfx.c.

62 {
63 gsDPPipeSync(),
64 gsDPSetCycleType(G_CYC_1CYCLE),
65 gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
66 gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
67 gsSPTexture(0x0080, 0x0080, 0, G_TX_RENDERTILE, G_OFF),
68 gsSPClearGeometryMode(G_CULL_BACK | G_LIGHTING),
69 gsSPSetGeometryMode(G_SHADING_SMOOTH),
70 gsSPVertex(D_0A0003B0_E9B8B0, 16, 0),
71 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
72 gsSP2Triangles(2, 1, 4, 0, 2, 4, 5, 0),
73 gsSP2Triangles(2, 5, 6, 0, 2, 6, 3, 0),
74 gsSP2Triangles(5, 7, 6, 0, 5, 4, 7, 0),
75 gsSP2Triangles(8, 9, 10, 0, 8, 10, 11, 0),
76 gsSP2Triangles(10, 12, 13, 0, 10, 13, 11, 0),
77 gsSP2Triangles(10, 9, 14, 0, 10, 14, 12, 0),
78 gsSP2Triangles(12, 15, 13, 0, 12, 14, 15, 0),
79 gsSPEndDisplayList(),
80};

◆ Entity_PinkFlower_RenderNode1

Gfx Entity_PinkFlower_RenderNode1[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPTexture(0x0080, 0x0080, 0, G_TX_RENDERTILE, G_OFF),
gsSPClearGeometryMode(G_CULL_BACK | G_LIGHTING),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPVertex(D_0A000290_E9B790, 18, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(3, 2, 4, 0, 3, 4, 5, 0),
gsSP2Triangles(5, 4, 6, 0, 5, 6, 7, 0),
gsSP2Triangles(7, 6, 8, 0, 7, 8, 9, 0),
gsSP2Triangles(9, 8, 10, 0, 9, 10, 11, 0),
gsSP2Triangles(12, 13, 14, 0, 12, 14, 15, 0),
gsSP2Triangles(15, 14, 16, 0, 15, 16, 17, 0),
gsSP2Triangles(11, 10, 13, 0, 11, 13, 12, 0),
gsSPEndDisplayList(),
}

Definition at line 82 of file PinkFlower_gfx.c.

82 {
83 gsDPPipeSync(),
84 gsDPSetCycleType(G_CYC_1CYCLE),
85 gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
86 gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
87 gsSPTexture(0x0080, 0x0080, 0, G_TX_RENDERTILE, G_OFF),
88 gsSPClearGeometryMode(G_CULL_BACK | G_LIGHTING),
89 gsSPSetGeometryMode(G_SHADING_SMOOTH),
90 gsSPVertex(D_0A000290_E9B790, 18, 0),
91 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
92 gsSP2Triangles(3, 2, 4, 0, 3, 4, 5, 0),
93 gsSP2Triangles(5, 4, 6, 0, 5, 6, 7, 0),
94 gsSP2Triangles(7, 6, 8, 0, 7, 8, 9, 0),
95 gsSP2Triangles(9, 8, 10, 0, 9, 10, 11, 0),
96 gsSP2Triangles(12, 13, 14, 0, 12, 14, 15, 0),
97 gsSP2Triangles(15, 14, 16, 0, 15, 16, 17, 0),
98 gsSP2Triangles(11, 10, 13, 0, 11, 13, 12, 0),
99 gsSPEndDisplayList(),
100};

◆ Entity_PinkFlower_RenderNode5

Gfx Entity_PinkFlower_RenderNode5[]

Definition at line 102 of file PinkFlower_gfx.c.

102 {
103 gsDPPipeSync(),
104 gsDPSetCycleType(G_CYC_1CYCLE),
105 gsDPSetRenderMode(G_RM_AA_ZB_TEX_EDGE, G_RM_AA_ZB_TEX_EDGE2),
106 gsSPDisplayList(D_0A001020_E9C520),
107 gsSPClearGeometryMode(G_CULL_BACK | G_LIGHTING),
108 gsSPSetGeometryMode(G_SHADING_SMOOTH),
109 gsSPVertex(D_0A000040_E9B540, 30, 0),
110 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
111 gsSP2Triangles(3, 2, 4, 0, 3, 4, 5, 0),
112 gsSP2Triangles(6, 3, 5, 0, 6, 5, 7, 0),
113 gsSP2Triangles(8, 0, 3, 0, 8, 3, 6, 0),
114 gsSP2Triangles(2, 9, 10, 0, 2, 10, 4, 0),
115 gsSP2Triangles(1, 11, 9, 0, 1, 9, 2, 0),
116 gsSP2Triangles(5, 4, 12, 0, 5, 12, 13, 0),
117 gsSP2Triangles(4, 10, 14, 0, 4, 14, 12, 0),
118 gsSP2Triangles(7, 5, 13, 0, 7, 13, 15, 0),
119 gsSP2Triangles(16, 17, 18, 0, 16, 18, 19, 0),
120 gsSP2Triangles(16, 19, 20, 0, 19, 18, 21, 0),
121 gsSP2Triangles(19, 21, 11, 0, 20, 19, 11, 0),
122 gsSP2Triangles(20, 11, 1, 0, 22, 20, 1, 0),
123 gsSP2Triangles(22, 1, 0, 0, 23, 20, 22, 0),
124 gsSP2Triangles(11, 21, 24, 0, 11, 24, 9, 0),
125 gsSP2Triangles(9, 24, 25, 0, 9, 25, 10, 0),
126 gsSP2Triangles(10, 25, 26, 0, 10, 26, 14, 0),
127 gsSP2Triangles(27, 22, 0, 0, 27, 0, 8, 0),
128 gsSP2Triangles(23, 27, 28, 0, 23, 22, 27, 0),
129 gsSP2Triangles(28, 27, 8, 0, 28, 8, 29, 0),
130 gsSPVertex(&D_0A000040_E9B540[6], 3, 0),
131 gsSPVertex(&D_0A000040_E9B540[15], 1, 3),
132 gsSPVertex(&D_0A000040_E9B540[17], 2, 4),
133 gsSPVertex(&D_0A000040_E9B540[21], 1, 6),
134 gsSPVertex(&D_0A000040_E9B540[24], 3, 7),
135 gsSPVertex(&D_0A000040_E9B540[29], 8, 10),
136 gsSP2Triangles(10, 2, 0, 0, 10, 0, 11, 0),
137 gsSP2Triangles(11, 0, 1, 0, 11, 1, 12, 0),
138 gsSP2Triangles(12, 1, 3, 0, 12, 3, 16, 0),
139 gsSP2Triangles(6, 13, 14, 0, 6, 14, 7, 0),
140 gsSP2Triangles(7, 14, 15, 0, 7, 15, 8, 0),
141 gsSP2Triangles(8, 15, 17, 0, 8, 17, 9, 0),
142 gsSP2Triangles(5, 4, 13, 0, 5, 13, 6, 0),
143 gsSPEndDisplayList(),
144};
Gfx D_0A001020_E9C520[]

◆ D_0A0013B8_E9C8B8

Gfx D_0A0013B8_E9C8B8[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_AA_ZB_XLU_SURF, G_RM_AA_ZB_XLU_SURF2),
gsSPDisplayList(D_0A0007B0_E9BCB0),
gsSPClearGeometryMode(G_CULL_BACK | G_LIGHTING),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPVertex(D_0A000000_E9B500, 4, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSPEndDisplayList(),
}
Gfx D_0A0007B0_E9BCB0[]

Definition at line 146 of file PinkFlower_gfx.c.

146 {
147 gsDPPipeSync(),
148 gsDPSetCycleType(G_CYC_1CYCLE),
149 gsDPSetRenderMode(G_RM_AA_ZB_XLU_SURF, G_RM_AA_ZB_XLU_SURF2),
150 gsSPDisplayList(D_0A0007B0_E9BCB0),
151 gsSPClearGeometryMode(G_CULL_BACK | G_LIGHTING),
152 gsSPSetGeometryMode(G_SHADING_SMOOTH),
153 gsSPVertex(D_0A000000_E9B500, 4, 0),
154 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
155 gsSPEndDisplayList(),
156};

Referenced by entity_PinkFlowerLight_setupGfx().