-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtree2dark.h
193 lines (184 loc) · 8.83 KB
/
tree2dark.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_tree2dark[] = {
{-2, 2, 0, 0, 0, 0, -105, 50, -51, 255}, /* 0 */
{2, 2, 0, 0, 0, 0, 91, 78, -42, 255}, /* 1 */
{1, -3, 0, 0, 0, 0, 16, -119, -40, 255}, /* 2 */
{0, -1, 4, 0, 0, 0, -8, -117, 49, 255}, /* 3 */
{1, 1, 3, 0, 0, 0, 118, 44, 11, 255}, /* 4 */
{-1, 1, 3, 0, 0, 0, -100, 69, 36, 255}, /* 5 */
{1, 1, 10, 0, 0, 0, 80, -98, 0, 255}, /* 6 */
{1, 3, 10, 0, 0, 0, 55, 115, 6, 255}, /* 7 */
{-1, 2, 10, 0, 0, 0, -126, 6, -14, 255}, /* 8 */
{1, 1, 15, 0, 0, 0, 121, 30, -26, 255}, /* 9 */
{-1, 1, 16, 0, 0, 0, -88, 87, -28, 255}, /* 10 */
{-1, 0, 15, 0, 0, 0, -55, -111, -29, 255}, /* 11 */
{0, 6, 21, 0, 0, 0, 86, 29, -89, 255}, /* 12 */
{5, -3, 18, 0, 0, 0, 51, 86, -78, 255}, /* 13 */
{-5, 0, 23, 0, 0, 0, -4, 113, -58, 255}, /* 14 */
{5, -3, 19, 0, 0, 0, -81, 60, 78, 255}, /* 15 */
{0, 1, 17, 0, 0, 0, 47, -19, 116, 255}, /* 16 */
{-1, 6, 21, 0, 0, 0, -126, 6, -11, 255}, /* 17 */
{5, -3, 19, 0, 0, 0, -3, -123, -30, 255}, /* 18 */
{-6, -1, 23, 0, 0, 0, -9, -104, -72, 255}, /* 19 */
{5, -3, 19, 0, 0, 0, 56, 70, 90, 255}, /* 20 */
{-5, 0, 23, 0, 0, 0, 69, -3, 107, 255}, /* 21 */
{4, -2, 24, 0, 0, 0, 108, 67, 4, 255}, /* 22 */
{3, -2, 24, 0, 0, 0, -105, 39, -59, 255}, /* 23 */
{10, -2, 20, 0, 0, 0, -26, 53, 112, 255}, /* 24 */
{10, -3, 20, 0, 0, 0, 3, -127, -10, 255}, /* 25 */
{10, -2, 20, 0, 0, 0, 28, 93, -81, 255}, /* 26 */
{17, -5, 22, 0, 0, 0, 25, -124, -14, 255}, /* 27 */
{18, -5, 22, 0, 0, 0, 41, -2, 120, 255}, /* 28 */
{18, -5, 22, 0, 0, 0, 116, 43, -28, 255}, /* 29 */
{4, -3, 24, 0, 0, 0, -19, -123, -27, 255}, /* 30 */
{3, -3, 24, 0, 0, 0, -106, -43, 55, 255}, /* 31 */
{4, -2, 24, 0, 0, 0, 108, 67, 4, 255}, /* 32 */
{5, -4, 26, 0, 0, 0, 15, -86, -92, 255}, /* 33 */
{4, -3, 24, 0, 0, 0, -19, -123, -27, 255}, /* 34 */
{3, -3, 24, 0, 0, 0, -106, -43, 55, 255}, /* 35 */
{3, -2, 24, 0, 0, 0, -105, 39, -59, 255}, /* 36 */
{4, 2, 28, 0, 0, 0, 126, -16, -8, 255}, /* 37 */
{3, 2, 27, 0, 0, 0, -95, 55, -63, 255}, /* 38 */
{5, -4, 27, 0, 0, 0, 94, 79, 33, 255}, /* 39 */
{3, 2, 28, 0, 0, 0, -66, -43, 100, 255}, /* 40 */
{4, 5, 28, 0, 0, 0, -27, 122, -24, 255}, /* 41 */
{4, 5, 28, 0, 0, 0, -65, -5, 109, 255}, /* 42 */
{4, 5, 29, 0, 0, 0, 88, 57, 72, 255}, /* 43 */
{5, -4, 27, 0, 0, 0, -93, 27, 82, 255}, /* 44 */
{7, -11, 30, 0, 0, 0, 99, 0, 80, 255}, /* 45 */
{6, -11, 30, 0, 0, 0, 23, -100, -74, 255}, /* 46 */
{6, -11, 30, 0, 0, 0, -58, -82, 78, 255}, /* 47 */
{0, 1, 17, 0, 0, 0, 47, -19, 116, 255}, /* 48 */
{0, 6, 21, 0, 0, 0, 40, -90, 80, 255}, /* 49 */
{-1, 6, 21, 0, 0, 0, -126, 6, -11, 255}, /* 50 */
{0, 6, 21, 0, 0, 0, 86, 29, -89, 255}, /* 51 */
{-2, 7, 24, 0, 0, 0, -126, 3, 12, 255}, /* 52 */
{-2, 6, 25, 0, 0, 0, 10, -65, 108, 255}, /* 53 */
{-2, 7, 24, 0, 0, 0, 23, 103, 70, 255}, /* 54 */
{0, 7, 21, 0, 0, 0, 17, 102, 73, 255}, /* 55 */
{6, 6, 22, 0, 0, 0, -27, -105, 66, 255}, /* 56 */
{-1, 11, 18, 0, 0, 0, 69, 39, 99, 255}, /* 57 */
{-1, 11, 18, 0, 0, 0, -121, -28, -28, 255}, /* 58 */
{6, 7, 22, 0, 0, 0, -18, 123, 25, 255}, /* 59 */
{-1, 11, 18, 0, 0, 0, 73, -2, -104, 255}, /* 60 */
{-2, 17, 19, 0, 0, 0, 68, 91, -57, 255}, /* 61 */
{-3, 17, 19, 0, 0, 0, -115, 50, -20, 255}, /* 62 */
{-2, 17, 19, 0, 0, 0, 19, 67, 106, 255}, /* 63 */
{0, 6, 21, 0, 0, 0, 86, 29, -89, 255}, /* 64 */
{6, 7, 22, 0, 0, 0, -18, 123, 25, 255}, /* 65 */
{6, 7, 22, 0, 0, 0, 58, 4, -113, 255}, /* 66 */
{6, 6, 22, 0, 0, 0, -27, -105, 66, 255}, /* 67 */
{11, 7, 27, 0, 0, 0, 126, -1, -15, 255}, /* 68 */
{10, 7, 27, 0, 0, 0, 23, 105, 67, 255}, /* 69 */
{10, 7, 27, 0, 0, 0, -14, -59, 112, 255}, /* 70 */
{-10, 6, 22, 0, 0, 0, 94, 27, 81, 255}, /* 71 */
{-11, 8, 28, 0, 0, 0, -102, -31, 69, 255}, /* 72 */
{-10, 6, 22, 0, 0, 0, -105, -68, -22, 255}, /* 73 */
{-11, 8, 28, 0, 0, 0, 54, 2, 115, 255}, /* 74 */
{-11, 8, 28, 0, 0, 0, -38, 121, -10, 255}, /* 75 */
{-10, 6, 22, 0, 0, 0, -14, 67, -107, 255}, /* 76 */
{-5, 0, 23, 0, 0, 0, -4, 113, -58, 255}, /* 77 */
{-6, 0, 23, 0, 0, 0, -111, 53, 33, 255}, /* 78 */
{-5, 0, 23, 0, 0, 0, 69, -3, 107, 255}, /* 79 */
{-6, -1, 23, 0, 0, 0, -9, -104, -72, 255}, /* 80 */
{-13, -4, 25, 0, 0, 0, -102, 76, -3, 255}, /* 81 */
{-12, -4, 26, 0, 0, 0, 44, 9, 119, 255}, /* 82 */
{-12, -4, 25, 0, 0, 0, 26, -57, -110, 255}, /* 83 */
{-14, -8, 25, 0, 0, 0, 25, -91, 86, 255}, /* 84 */
{-14, -8, 24, 0, 0, 0, 40, -63, -103, 255}, /* 85 */
{-14, -8, 25, 0, 0, 0, -113, -53, -24, 255}, /* 86 */
};
static Gfx gfx_tree2dark[] = {
gsSPVertex(vtx_tree2dark+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, 20, 20, 20, 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_tree2dark+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_tree2dark+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(),
};