-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtree1dark.h
193 lines (184 loc) · 8.8 KB
/
tree1dark.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
// Generated by Arabiki64 V1.2
// By Buu342
// Custom combine mode to allow mixing primitive and vertex colors
#ifndef G_CC_PRIMLITE
#define G_CC_PRIMLITE SHADE,0,PRIMITIVE,0,0,0,0,PRIMITIVE
#endif
/*********************************
Models
*********************************/
static Vtx vtx_tree1dark[] = {
{-3, 2, 0, 0, 0, 0, -108, 52, -43, 255}, /* 0 */
{2, 2, 0, 0, 0, 0, 93, 81, -32, 255}, /* 1 */
{1, -3, 0, 0, 0, 0, 16, -122, -32, 255}, /* 2 */
{0, 0, 3, 0, 0, 0, -6, -117, 49, 255}, /* 3 */
{1, 1, 2, 0, 0, 0, 114, 43, 36, 255}, /* 4 */
{-1, 1, 2, 0, 0, 0, -90, 75, 49, 255}, /* 5 */
{0, -1, 8, 0, 0, 0, 65, -109, -3, 255}, /* 6 */
{0, 2, 8, 0, 0, 0, 49, 117, -5, 255}, /* 7 */
{-2, 1, 8, 0, 0, 0, -127, -8, 2, 255}, /* 8 */
{1, 1, 12, 0, 0, 0, 118, 37, -28, 255}, /* 9 */
{0, 2, 12, 0, 0, 0, -70, 105, -19, 255}, /* 10 */
{0, 0, 12, 0, 0, 0, -43, -120, -2, 255}, /* 11 */
{0, 7, 18, 0, 0, 0, 118, 17, -45, 255}, /* 12 */
{4, -2, 14, 0, 0, 0, 63, 97, -53, 255}, /* 13 */
{-4, 0, 15, 0, 0, 0, -17, 121, -36, 255}, /* 14 */
{4, -2, 15, 0, 0, 0, -69, 61, 87, 255}, /* 15 */
{0, 1, 13, 0, 0, 0, 25, -30, 121, 255}, /* 16 */
{0, 7, 18, 0, 0, 0, -100, 46, -64, 255}, /* 17 */
{4, -2, 14, 0, 0, 0, -9, -116, -51, 255}, /* 18 */
{-4, 0, 15, 0, 0, 0, -10, -70, -105, 255}, /* 19 */
{4, -2, 15, 0, 0, 0, 39, 60, 105, 255}, /* 20 */
{-4, 0, 16, 0, 0, 0, 42, -23, 118, 255}, /* 21 */
{2, -4, 17, 0, 0, 0, 106, 42, 55, 255}, /* 22 */
{2, -4, 17, 0, 0, 0, -99, 54, -59, 255}, /* 23 */
{8, -3, 15, 0, 0, 0, -40, 21, 119, 255}, /* 24 */
{8, -3, 15, 0, 0, 0, 2, -120, -41, 255}, /* 25 */
{8, -3, 14, 0, 0, 0, 44, 83, -86, 255}, /* 26 */
{13, -3, 18, 0, 0, 0, 73, -102, 18, 255}, /* 27 */
{13, -2, 18, 0, 0, 0, -14, 16, 125, 255}, /* 28 */
{13, -2, 18, 0, 0, 0, 92, 87, 9, 255}, /* 29 */
{2, -4, 17, 0, 0, 0, -6, -96, -83, 255}, /* 30 */
{2, -4, 17, 0, 0, 0, -116, -48, 18, 255}, /* 31 */
{2, -4, 17, 0, 0, 0, 106, 42, 55, 255}, /* 32 */
{3, -6, 19, 0, 0, 0, 33, -59, -107, 255}, /* 33 */
{2, -4, 17, 0, 0, 0, -6, -96, -83, 255}, /* 34 */
{2, -4, 17, 0, 0, 0, -116, -48, 18, 255}, /* 35 */
{2, -4, 17, 0, 0, 0, -99, 54, -59, 255}, /* 36 */
{2, -1, 21, 0, 0, 0, 121, 26, 27, 255}, /* 37 */
{1, -1, 21, 0, 0, 0, -60, 93, -62, 255}, /* 38 */
{3, -6, 19, 0, 0, 0, 86, 59, 73, 255}, /* 39 */
{1, -2, 21, 0, 0, 0, -79, -98, 19, 255}, /* 40 */
{0, -1, 23, 0, 0, 0, -78, 98, 22, 255}, /* 41 */
{0, -1, 23, 0, 0, 0, -84, -87, 40, 255}, /* 42 */
{1, -1, 23, 0, 0, 0, 42, 1, 120, 255}, /* 43 */
{3, -6, 19, 0, 0, 0, -108, 11, 65, 255}, /* 44 */
{3, -12, 20, 0, 0, 0, 78, -30, 95, 255}, /* 45 */
{3, -12, 20, 0, 0, 0, 37, -78, -93, 255}, /* 46 */
{3, -12, 20, 0, 0, 0, -76, -95, 38, 255}, /* 47 */
{0, 1, 13, 0, 0, 0, 25, -30, 121, 255}, /* 48 */
{0, 7, 19, 0, 0, 0, -15, -106, 69, 255}, /* 49 */
{0, 7, 18, 0, 0, 0, -100, 46, -64, 255}, /* 50 */
{0, 7, 18, 0, 0, 0, 118, 17, -45, 255}, /* 51 */
{-3, 7, 20, 0, 0, 0, -116, 33, -41, 255}, /* 52 */
{-2, 7, 20, 0, 0, 0, -51, -85, 79, 255}, /* 53 */
{-2, 7, 20, 0, 0, 0, 3, 79, 100, 255}, /* 54 */
{0, 7, 19, 0, 0, 0, -4, 78, 100, 255}, /* 55 */
{3, 5, 21, 0, 0, 0, -70, -105, 16, 255}, /* 56 */
{1, 11, 17, 0, 0, 0, 20, 1, 125, 255}, /* 57 */
{0, 11, 17, 0, 0, 0, -97, 10, -82, 255}, /* 58 */
{3, 6, 21, 0, 0, 0, -9, 117, 50, 255}, /* 59 */
{1, 11, 17, 0, 0, 0, 112, -1, -61, 255}, /* 60 */
{0, 15, 19, 0, 0, 0, 99, 80, 4, 255}, /* 61 */
{0, 15, 19, 0, 0, 0, -84, 81, -50, 255}, /* 62 */
{0, 15, 19, 0, 0, 0, -22, 38, 119, 255}, /* 63 */
{0, 7, 18, 0, 0, 0, 118, 17, -45, 255}, /* 64 */
{3, 6, 21, 0, 0, 0, -9, 117, 50, 255}, /* 65 */
{4, 6, 21, 0, 0, 0, 104, 10, -73, 255}, /* 66 */
{3, 5, 21, 0, 0, 0, -70, -105, 16, 255}, /* 67 */
{5, 5, 26, 0, 0, 0, 117, -31, 38, 255}, /* 68 */
{5, 5, 26, 0, 0, 0, 4, 81, 98, 255}, /* 69 */
{4, 4, 26, 0, 0, 0, -73, -73, 74, 255}, /* 70 */
{-7, 4, 17, 0, 0, 0, 67, -23, 106, 255}, /* 71 */
{-9, 6, 20, 0, 0, 0, -123, -25, 20, 255}, /* 72 */
{-7, 4, 17, 0, 0, 0, -104, -55, -47, 255}, /* 73 */
{-9, 6, 20, 0, 0, 0, 1, -3, 127, 255}, /* 74 */
{-9, 6, 20, 0, 0, 0, -23, 123, -21, 255}, /* 75 */
{-7, 5, 16, 0, 0, 0, 21, 92, -85, 255}, /* 76 */
{-4, 0, 15, 0, 0, 0, -17, 121, -36, 255}, /* 77 */
{-4, 0, 15, 0, 0, 0, -120, 34, -25, 255}, /* 78 */
{-4, 0, 16, 0, 0, 0, 42, -23, 118, 255}, /* 79 */
{-4, 0, 15, 0, 0, 0, -10, -70, -105, 255}, /* 80 */
{-9, -5, 17, 0, 0, 0, -50, 116, -12, 255}, /* 81 */
{-9, -5, 17, 0, 0, 0, 59, -77, 83, 255}, /* 82 */
{-9, -5, 17, 0, 0, 0, -12, -81, -97, 255}, /* 83 */
{-12, -5, 18, 0, 0, 0, -16, -45, 117, 255}, /* 84 */
{-12, -5, 18, 0, 0, 0, -95, -63, -56, 255}, /* 85 */
{-12, -5, 18, 0, 0, 0, -86, 90, 23, 255}, /* 86 */
};
static Gfx gfx_tree1dark[] = {
gsSPVertex(vtx_tree1dark+0, 32, 0),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
gsDPSetCombineMode(G_CC_PRIMLITE, G_CC_PRIMLITE),
gsDPSetTextureFilter(G_TF_BILERP),
gsSPClearGeometryMode(0xFFFFFFFF),
gsSPSetGeometryMode(G_SHADE | G_ZBUFFER | G_CULL_BACK | G_SHADING_SMOOTH | G_LIGHTING),
gsDPSetPrimColor(0, 0, 10, 10, 10, 255),
gsDPPipeSync(),
gsSP2Triangles(0, 1, 2, 0, 1, 3, 2, 0),
gsSP2Triangles(3, 0, 2, 0, 0, 4, 1, 0),
gsSP2Triangles(1, 4, 3, 0, 3, 5, 0, 0),
gsSP2Triangles(0, 5, 4, 0, 4, 6, 3, 0),
gsSP2Triangles(5, 3, 6, 0, 5, 7, 4, 0),
gsSP2Triangles(4, 7, 6, 0, 5, 8, 7, 0),
gsSP2Triangles(5, 6, 8, 0, 7, 9, 6, 0),
gsSP2Triangles(7, 8, 10, 0, 7, 10, 9, 0),
gsSP2Triangles(8, 6, 11, 0, 10, 8, 11, 0),
gsSP2Triangles(11, 6, 9, 0, 10, 12, 9, 0),
gsSP2Triangles(11, 9, 13, 0, 11, 14, 10, 0),
gsSP2Triangles(9, 15, 13, 0, 16, 10, 14, 0),
gsSP2Triangles(9, 16, 15, 0, 16, 9, 12, 0),
gsSP2Triangles(11, 15, 16, 0, 10, 17, 12, 0),
gsSP2Triangles(16, 17, 10, 0, 11, 18, 15, 0),
gsSP2Triangles(11, 13, 18, 0, 16, 19, 11, 0),
gsSP2Triangles(11, 19, 14, 0, 13, 15, 20, 0),
gsSP2Triangles(16, 21, 19, 0, 16, 14, 21, 0),
gsSP2Triangles(15, 22, 20, 0, 18, 20, 22, 0),
gsSP2Triangles(18, 23, 15, 0, 15, 23, 22, 0),
gsSP2Triangles(18, 24, 20, 0, 13, 20, 24, 0),
gsSP2Triangles(13, 25, 18, 0, 18, 25, 24, 0),
gsSP2Triangles(13, 26, 25, 0, 13, 24, 26, 0),
gsSP2Triangles(24, 25, 27, 0, 26, 27, 25, 0),
gsSP2Triangles(26, 24, 28, 0, 24, 27, 28, 0),
gsSP2Triangles(26, 29, 27, 0, 26, 28, 29, 0),
gsSP2Triangles(27, 29, 28, 0, 18, 30, 23, 0),
gsSP2Triangles(18, 22, 30, 0, 23, 30, 31, 0),
gsSPVertex(vtx_tree1dark+32, 32, 0),
gsSP2Triangles(0, 1, 2, 0, 3, 2, 1, 0),
gsSP2Triangles(4, 5, 0, 0, 3, 0, 5, 0),
gsSP2Triangles(3, 6, 4, 0, 4, 6, 5, 0),
gsSP2Triangles(3, 7, 0, 0, 0, 7, 1, 0),
gsSP2Triangles(3, 8, 6, 0, 3, 5, 8, 0),
gsSP2Triangles(8, 9, 6, 0, 5, 6, 9, 0),
gsSP2Triangles(5, 10, 8, 0, 8, 10, 9, 0),
gsSP2Triangles(5, 11, 10, 0, 5, 9, 11, 0),
gsSP2Triangles(11, 9, 10, 0, 3, 12, 7, 0),
gsSP2Triangles(3, 1, 12, 0, 1, 7, 13, 0),
gsSP2Triangles(12, 13, 7, 0, 12, 1, 14, 0),
gsSP2Triangles(1, 13, 14, 0, 12, 15, 13, 0),
gsSP2Triangles(12, 14, 15, 0, 14, 13, 15, 0),
gsSP2Triangles(16, 17, 18, 0, 16, 19, 17, 0),
gsSP2Triangles(17, 20, 18, 0, 17, 21, 20, 0),
gsSP2Triangles(20, 21, 22, 0, 17, 22, 21, 0),
gsSP2Triangles(18, 20, 22, 0, 17, 23, 22, 0),
gsSP2Triangles(18, 22, 23, 0, 23, 17, 24, 0),
gsSP2Triangles(19, 24, 17, 0, 18, 23, 25, 0),
gsSP2Triangles(19, 25, 23, 0, 19, 18, 26, 0),
gsSP2Triangles(18, 25, 26, 0, 19, 23, 27, 0),
gsSP2Triangles(23, 24, 27, 0, 19, 26, 28, 0),
gsSP2Triangles(19, 28, 25, 0, 26, 29, 28, 0),
gsSP2Triangles(25, 28, 29, 0, 25, 30, 26, 0),
gsSP2Triangles(26, 30, 29, 0, 25, 31, 30, 0),
gsSP2Triangles(25, 29, 31, 0, 29, 30, 31, 0),
gsSPVertex(vtx_tree1dark+64, 23, 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSP2Triangles(1, 4, 2, 0, 3, 2, 4, 0),
gsSP2Triangles(3, 5, 1, 0, 1, 5, 4, 0),
gsSP2Triangles(3, 6, 5, 0, 3, 4, 6, 0),
gsSP2Triangles(6, 4, 5, 0, 7, 8, 9, 0),
gsSP2Triangles(7, 10, 8, 0, 10, 11, 8, 0),
gsSP2Triangles(9, 8, 11, 0, 7, 11, 10, 0),
gsSP2Triangles(9, 11, 12, 0, 7, 12, 11, 0),
gsSP2Triangles(13, 9, 12, 0, 13, 12, 7, 0),
gsSP2Triangles(13, 14, 9, 0, 14, 7, 9, 0),
gsSP2Triangles(13, 7, 15, 0, 14, 15, 7, 0),
gsSP2Triangles(13, 16, 14, 0, 15, 14, 17, 0),
gsSP2Triangles(16, 17, 14, 0, 16, 15, 18, 0),
gsSP2Triangles(15, 17, 18, 0, 16, 18, 19, 0),
gsSP2Triangles(16, 19, 17, 0, 19, 18, 20, 0),
gsSP2Triangles(17, 20, 18, 0, 17, 19, 21, 0),
gsSP2Triangles(19, 20, 21, 0, 17, 22, 20, 0),
gsSP2Triangles(17, 21, 22, 0, 21, 20, 22, 0),
gsSPEndDisplayList(),
};