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

Go to the source code of this file.

Variables

Gfx Entity_TrumpetPlant_RenderNode1 []
 
Gfx Entity_TrumpetPlant_RenderNode2 []
 
StaticAnimatorNode Entity_TrumpetPlant_Node2
 
StaticAnimatorNode Entity_TrumpetPlant_Node1
 
StaticAnimatorNodeEntity_TrumpetPlant_Mesh []
 
AnimScript Entity_TrumpetPlant_AnimationUse
 
AnimScript Entity_TrumpetPlant_AnimationIdle
 

Variable Documentation

◆ Entity_TrumpetPlant_RenderNode1

Gfx Entity_TrumpetPlant_RenderNode1[]
extern

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};
unsigned char D_0A000D40_E6E0D0[]
#define PM_CC_04
Definition macros.h:279

◆ Entity_TrumpetPlant_RenderNode2

Gfx Entity_TrumpetPlant_RenderNode2[]
extern

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};

◆ Entity_TrumpetPlant_Node2

StaticAnimatorNode Entity_TrumpetPlant_Node2
Initial value:
= {
.rot = { 0, 0, 5461 },
.pos = { 0.0f, 15.0f, 0.0f },
.sibling = ENTITY_ANIM_NULL,
.child = ENTITY_ANIM_NULL,
}
Gfx Entity_TrumpetPlant_RenderNode2[]
#define ENTITY_ANIM_NULL

Definition at line 7 of file TrumpetPlant_anim.c.

7 {
9 .rot = { 0, 0, 5461 },
10 .pos = { 0.0f, 15.0f, 0.0f },
11 .sibling = ENTITY_ANIM_NULL,
12 .child = ENTITY_ANIM_NULL,
13};

◆ Entity_TrumpetPlant_Node1

StaticAnimatorNode Entity_TrumpetPlant_Node1
Initial value:
= {
.sibling = ENTITY_ANIM_NULL,
}
Gfx Entity_TrumpetPlant_RenderNode1[]
StaticAnimatorNode Entity_TrumpetPlant_Node2

Definition at line 15 of file TrumpetPlant_anim.c.

15 {
17 .sibling = ENTITY_ANIM_NULL,
19};

◆ Entity_TrumpetPlant_Mesh

StaticAnimatorNode* Entity_TrumpetPlant_Mesh[]
Initial value:

Definition at line 21 of file TrumpetPlant_anim.c.

◆ Entity_TrumpetPlant_AnimationUse

AnimScript Entity_TrumpetPlant_AnimationUse

Definition at line 27 of file TrumpetPlant_anim.c.

27 {
29 as_SetRotation(1, 0.0, 0.0, 0.0)
30 as_SetPos(1, 0, 0, 0)
31 as_SetScale(1, 1.0, 1.0, 1.0)
32 as_SetRotation(2, 0.0, 0.0, 30.0)
33 as_SetPos(2, 0, 15, 0)
34 as_SetScale(2, 1.0, 1.0, 1.0)
35 as_Wait(1)
36 as_SetScale(2, 1.055, 0.94, 1.055)
37 as_Wait(1)
38 as_SetScale(2, 1.2, 0.795, 1.2)
39 as_Wait(1)
40 as_SetScale(2, 1.355, 0.635, 1.355)
41 as_Wait(1)
42 as_SetScale(2, 1.48, 0.515, 1.48)
43 as_Wait(1)
44 as_SetScale(2, 1.5, 0.5, 1.5)
45 as_Wait(1)
46 as_SetScale(2, 1.37, 0.625, 1.37)
47 as_Wait(1)
48 as_SetScale(2, 1.13, 0.86, 1.13)
49 as_Wait(1)
50 as_SetScale(2, 0.855, 1.135, 0.855)
51 as_Wait(1)
52 as_SetScale(2, 0.62, 1.375, 0.62)
53 as_Wait(1)
54 as_SetScale(2, 0.5, 1.5, 0.5)
55 as_Wait(1)
56 as_SetScale(2, 0.455, 1.54, 0.455)
57 as_Wait(1)
58 as_SetScale(2, 0.425, 1.57, 0.425)
59 as_Wait(1)
60 as_SetScale(2, 0.395, 1.6, 0.395)
61 as_Wait(1)
62 as_SetScale(2, 0.375, 1.62, 0.375)
63 as_Wait(1)
64 as_SetScale(2, 0.355, 1.635, 0.355)
65 as_Wait(1)
66 as_SetScale(2, 0.345, 1.65, 0.345)
67 as_Wait(1)
68 as_SetScale(2, 0.34, 1.655, 0.34)
69 as_Wait(1)
70 as_Wait(1)
71 as_Wait(1)
72 as_SetScale(2, 0.35, 1.645, 0.35)
73 as_Wait(1)
74 as_SetScale(2, 0.355, 1.635, 0.355)
75 as_Wait(1)
76 as_SetScale(2, 0.375, 1.62, 0.375)
77 as_Wait(1)
78 as_SetScale(2, 0.39, 1.605, 0.39)
79 as_Wait(1)
80 as_SetScale(2, 0.405, 1.59, 0.405)
81 as_Wait(1)
82 as_SetScale(2, 0.43, 1.565, 0.43)
83 as_Wait(1)
84 as_SetScale(2, 0.45, 1.545, 0.45)
85 as_Wait(1)
86 as_SetScale(2, 0.47, 1.52, 0.47)
87 as_Wait(1)
88 as_SetScale(2, 0.5, 1.5, 0.5)
89 as_Wait(1)
90 as_SetScale(2, 0.71, 1.285, 0.71)
91 as_Wait(1)
92 as_SetScale(2, 1.0, 1.0, 1.0)
93 as_Wait(1)
94 as_SetScale(2, 1.175, 0.82, 1.175)
95 as_Wait(1)
96 as_SetScale(2, 1.245, 0.745, 1.245)
97 as_Wait(1)
98 as_SetScale(2, 1.13, 0.84, 1.13)
99 as_Wait(1)
100 as_SetScale(2, 0.95, 1.0, 0.95)
101 as_Wait(1)
102 as_SetScale(2, 0.845, 1.1, 0.845)
103 as_Wait(1)
104 as_SetScale(2, 0.885, 1.095, 0.885)
105 as_Wait(1)
106 as_SetScale(2, 0.985, 1.045, 0.985)
107 as_Wait(1)
108 as_SetScale(2, 1.09, 0.985, 1.09)
109 as_Wait(1)
110 as_SetScale(2, 1.15, 0.945, 1.15)
111 as_Wait(1)
112 as_SetScale(2, 1.145, 0.945, 1.145)
113 as_Wait(1)
114 as_SetScale(2, 1.105, 0.955, 1.105)
115 as_Wait(1)
116 as_SetScale(2, 1.06, 0.97, 1.06)
117 as_Wait(1)
118 as_SetScale(2, 1.015, 0.99, 1.015)
119 as_Wait(1)
120 as_SetScale(2, 1.0, 1.0, 1.0)
121 as_Wait(1)
122 as_Loop
123 as_SetRotation(1, 0.0, 0.0, 0.0)
124 as_SetPos(1, 0, 0, 0)
125 as_SetScale(1, 1.0, 1.0, 1.0)
126 as_SetRotation(2, 0.0, 0.0, 30.0)
127 as_SetPos(2, 0, 15, 0)
128 as_SetScale(2, 1.0, 1.0, 1.0)
129 as_Wait(1)
131 as_End
132};
#define as_Wait(time)
#define as_DisableMirroring
#define as_SetPos(node, x, y, z)
#define as_SetRotation(node, x, y, z)
#define as_SetScale(node, x, y, z)
#define as_End
#define as_Loop
#define as_Restart

Referenced by entity_TrumpetPlant_idle().

◆ Entity_TrumpetPlant_AnimationIdle

AnimScript Entity_TrumpetPlant_AnimationIdle
Initial value:
= {
as_SetRotation(1, 0.0, 0.0, 0.0)
as_SetPos(1, 0, 0, 0)
as_SetScale(1, 1.0, 1.0, 1.0)
as_SetRotation(2, 0.0, 0.0, 30.0)
as_SetPos(2, 0, 15, 0)
as_SetScale(2, 1.0, 1.0, 1.0)
}

Definition at line 134 of file TrumpetPlant_anim.c.

134 {
136 as_SetRotation(1, 0.0, 0.0, 0.0)
137 as_SetPos(1, 0, 0, 0)
138 as_SetScale(1, 1.0, 1.0, 1.0)
139 as_SetRotation(2, 0.0, 0.0, 30.0)
140 as_SetPos(2, 0, 15, 0)
141 as_SetScale(2, 1.0, 1.0, 1.0)
142 as_Wait(1)
144 as_End
145};