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

Go to the source code of this file.

Functions

 INCLUDE_IMG ("entity/model/SpinningFlower_img1.png", D_0A000180_E9CA80)
 
 INCLUDE_IMG ("entity/model/SpinningFlower_petal.png", D_0A0002F8_E9CBF8)
 

Variables

Gfx D_0A000280_E9CB80 []
 
Gfx D_0A000AF8_E9D3F8 []
 
Mtx D_0A000B70_E9D470
 
Gfx D_0A000BB0_E9D4B0 []
 
Gfx D_0A000C00_E9D500 []
 
Gfx D_0A000C60_E9D560 []
 
Gfx D_0A000C78_E9D578 []
 
Gfx D_0A000CC8_E9D5C8 []
 
Gfx D_0A000D18_E9D618 []
 
Gfx D_0A000D30_E9D630 []
 
Gfx Entity_SpinningFlower_Render []
 

Function Documentation

◆ INCLUDE_IMG() [1/2]

INCLUDE_IMG ( "entity/model/SpinningFlower_img1.png" ,
D_0A000180_E9CA80  )

◆ INCLUDE_IMG() [2/2]

INCLUDE_IMG ( "entity/model/SpinningFlower_petal.png" ,
D_0A0002F8_E9CBF8  )

Variable Documentation

◆ D_0A000280_E9CB80

Gfx D_0A000280_E9CB80[]
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_4b(D_0A000180_E9CA80, G_IM_FMT_IA, 16, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 4, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureFilter(G_TF_BILERP),
gsSPEndDisplayList(),
}

Definition at line 10 of file SpinningFlower.c.

10 {
11 gsDPSetTextureLUT(G_TT_NONE),
12 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
13 gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
14 gsDPSetTextureDetail(G_TD_CLAMP),
15 gsDPSetTextureLOD(G_TL_TILE),
16 gsDPLoadTextureBlock_4b(D_0A000180_E9CA80, G_IM_FMT_IA, 16, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 4, 5, G_TX_NOLOD, G_TX_NOLOD),
17 gsDPSetTexturePersp(G_TP_PERSP),
18 gsDPSetTextureFilter(G_TF_BILERP),
19 gsSPEndDisplayList(),
20};

◆ D_0A000AF8_E9D3F8

Gfx D_0A000AF8_E9D3F8[]
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_0A0002F8_E9CBF8, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
gsDPSetTexturePersp(G_TP_PERSP),
gsDPSetTextureFilter(G_TF_BILERP),
gsSPEndDisplayList(),
}

Definition at line 23 of file SpinningFlower.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_0A0002F8_E9CBF8, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
30 gsDPSetTexturePersp(G_TP_PERSP),
31 gsDPSetTextureFilter(G_TF_BILERP),
32 gsSPEndDisplayList(),
33};

◆ D_0A000B70_E9D470

Mtx D_0A000B70_E9D470
Initial value:
1.000000, 0.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 20.000000,
0.000000, 0.000000, 1.000000, 0.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 SpinningFlower.c.

Referenced by entity_SpinningFlower_setupGfx().

◆ D_0A000BB0_E9D4B0

Gfx D_0A000BB0_E9D4B0[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_AA_ZB_TEX_EDGE, G_RM_AA_ZB_TEX_EDGE2),
gsSPDisplayList(D_0A000280_E9CB80),
gsSPClearGeometryMode(G_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(D_0A000120_E9CA20, 6, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(4, 5, 0, 0, 4, 0, 3, 0),
gsSPEndDisplayList(),
}
Gfx D_0A000280_E9CB80[]

Definition at line 42 of file SpinningFlower.c.

42 {
43 gsDPPipeSync(),
44 gsDPSetCycleType(G_CYC_1CYCLE),
45 gsDPSetRenderMode(G_RM_AA_ZB_TEX_EDGE, G_RM_AA_ZB_TEX_EDGE2),
46 gsSPDisplayList(D_0A000280_E9CB80),
47 gsSPClearGeometryMode(G_LIGHTING),
48 gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
49 gsSPVertex(D_0A000120_E9CA20, 6, 0),
50 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
51 gsSP2Triangles(4, 5, 0, 0, 4, 0, 3, 0),
52 gsSPEndDisplayList(),
53};

◆ D_0A000C00_E9D500

Gfx D_0A000C00_E9D500[]
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_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(D_0A0000A0_E9C9A0, 8, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(4, 5, 1, 0, 4, 1, 0, 0),
gsSP2Triangles(6, 7, 5, 0, 6, 5, 4, 0),
gsSPEndDisplayList(),
}

Definition at line 55 of file SpinningFlower.c.

55 {
56 gsDPPipeSync(),
57 gsDPSetCycleType(G_CYC_1CYCLE),
58 gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
59 gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
60 gsSPTexture(0x0080, 0x0080, 0, G_TX_RENDERTILE, G_OFF),
61 gsSPClearGeometryMode(G_LIGHTING),
62 gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
63 gsSPVertex(D_0A0000A0_E9C9A0, 8, 0),
64 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
65 gsSP2Triangles(4, 5, 1, 0, 4, 1, 0, 0),
66 gsSP2Triangles(6, 7, 5, 0, 6, 5, 4, 0),
67 gsSPEndDisplayList(),
68};

◆ D_0A000C60_E9D560

Gfx D_0A000C60_E9D560[]
Initial value:
= {
gsSPDisplayList(D_0A000C00_E9D500),
gsSPDisplayList(D_0A000BB0_E9D4B0),
gsSPEndDisplayList(),
}
Gfx D_0A000BB0_E9D4B0[]
Gfx D_0A000C00_E9D500[]

Definition at line 70 of file SpinningFlower.c.

70 {
71 gsSPDisplayList(D_0A000C00_E9D500),
72 gsSPDisplayList(D_0A000BB0_E9D4B0),
73 gsSPEndDisplayList(),
74};

◆ D_0A000C78_E9D578

Gfx D_0A000C78_E9D578[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_AA_ZB_TEX_EDGE, G_RM_AA_ZB_TEX_EDGE2),
gsSPDisplayList(D_0A000AF8_E9D3F8),
gsSPClearGeometryMode(G_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(D_0A000050_E9C950, 5, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 3, 1, 0),
gsSP2Triangles(1, 4, 2, 0, 1, 3, 4, 0),
gsSPEndDisplayList(),
}
Gfx D_0A000AF8_E9D3F8[]

Definition at line 76 of file SpinningFlower.c.

76 {
77 gsDPPipeSync(),
78 gsDPSetCycleType(G_CYC_1CYCLE),
79 gsDPSetRenderMode(G_RM_AA_ZB_TEX_EDGE, G_RM_AA_ZB_TEX_EDGE2),
80 gsSPDisplayList(D_0A000AF8_E9D3F8),
81 gsSPClearGeometryMode(G_LIGHTING),
82 gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
83 gsSPVertex(D_0A000050_E9C950, 5, 0),
84 gsSP2Triangles(0, 1, 2, 0, 0, 3, 1, 0),
85 gsSP2Triangles(1, 4, 2, 0, 1, 3, 4, 0),
86 gsSPEndDisplayList(),
87};

◆ D_0A000CC8_E9D5C8

Gfx D_0A000CC8_E9D5C8[]
Initial value:
= {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_AA_ZB_TEX_EDGE, G_RM_AA_ZB_TEX_EDGE2),
gsSPDisplayList(D_0A000AF8_E9D3F8),
gsSPClearGeometryMode(G_LIGHTING),
gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsSPVertex(D_0A000000_E9C900, 5, 0),
gsSP2Triangles(0, 1, 2, 0, 1, 3, 2, 0),
gsSP2Triangles(2, 3, 4, 0, 0, 2, 4, 0),
gsSPEndDisplayList(),
}

Definition at line 89 of file SpinningFlower.c.

89 {
90 gsDPPipeSync(),
91 gsDPSetCycleType(G_CYC_1CYCLE),
92 gsDPSetRenderMode(G_RM_AA_ZB_TEX_EDGE, G_RM_AA_ZB_TEX_EDGE2),
93 gsSPDisplayList(D_0A000AF8_E9D3F8),
94 gsSPClearGeometryMode(G_LIGHTING),
95 gsSPSetGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
96 gsSPVertex(D_0A000000_E9C900, 5, 0),
97 gsSP2Triangles(0, 1, 2, 0, 1, 3, 2, 0),
98 gsSP2Triangles(2, 3, 4, 0, 0, 2, 4, 0),
99 gsSPEndDisplayList(),
100};

◆ D_0A000D18_E9D618

Gfx D_0A000D18_E9D618[]
Initial value:
= {
gsSPDisplayList(D_0A000CC8_E9D5C8),
gsSPDisplayList(D_0A000C78_E9D578),
gsSPEndDisplayList(),
}
Gfx D_0A000CC8_E9D5C8[]
Gfx D_0A000C78_E9D578[]

Definition at line 102 of file SpinningFlower.c.

102 {
103 gsSPDisplayList(D_0A000CC8_E9D5C8),
104 gsSPDisplayList(D_0A000C78_E9D578),
105 gsSPEndDisplayList(),
106};

Referenced by entity_SpinningFlower_setupGfx().

◆ D_0A000D30_E9D630

Gfx D_0A000D30_E9D630[]
Initial value:
= {
gsSPDisplayList(D_0A000C60_E9D560),
gsSPEndDisplayList(),
}
Gfx D_0A000C60_E9D560[]

Definition at line 108 of file SpinningFlower.c.

108 {
109 gsSPDisplayList(D_0A000C60_E9D560),
110 gsSPEndDisplayList(),
111};

◆ Entity_SpinningFlower_Render

Gfx Entity_SpinningFlower_Render[]
Initial value:
= {
gsSPDisplayList(D_0A000D30_E9D630),
gsSPEndDisplayList(),
}
Gfx D_0A000D30_E9D630[]

Definition at line 113 of file SpinningFlower.c.

113 {
114 gsSPDisplayList(D_0A000D30_E9D630),
115 gsSPEndDisplayList(),
116};