-
Notifications
You must be signed in to change notification settings - Fork 0
/
rook_white.h
329 lines (322 loc) · 14.4 KB
/
rook_white.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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
/*
3D model generated by Jo Map Editor v6.1
*/
#ifndef __3D_MODELRookWhite_H__
# define __3D_MODELRookWhite_H__
static POINT PointRookWhite[] =
{
{1205752, -2719168, -2088427},
{-1205754, -2719168, -2088426},
{2411507, -2719168, 0},
{1205754, -2719168, 2088426},
{-1205752, -2719168, 2088427},
{-2411507, -2719168, 0},
{1638399, -1139442, -2837794},
{-1638401, -1139442, -2837794},
{3276800, -1139442, 0},
{1638401, -1139441, 2837794},
{-1638399, -1139441, 2837794},
{-3276800, -1139442, 0},
{-1638401, 16143, -2837794},
{1638399, 16143, -2837794},
{3276800, 16143, 0},
{1638401, 16143, 2837794},
{-1638399, 16143, 2837794},
{-3276800, 16143, 0},
{967071, -10381492, -1675018},
{-967071, -10381492, -1675018},
{1934144, -10381492, 0},
{967071, -10381492, 1675018},
{-967071, -10381492, 1675019},
{-1934144, -10381492, 0},
{1376256, -10673220, -2383746},
{-1376256, -10673220, -2383746},
{2752513, -10673220, 0},
{1376256, -10673220, 2383746},
{-1376255, -10673220, 2383746},
{-2752513, -10673220, 0},
{1376256, -11491004, -2383746},
{-1376256, -11491004, -2383746},
{2752513, -11491004, 0},
{1376256, -11491004, 2383746},
{-1376255, -11491004, 2383746},
{-2752513, -11491004, 0},
{-1376256, -12513232, -2383746},
{1376256, -12513232, -2383746},
{2752513, -12513232, 0},
{1376256, -12513232, 2383746},
{-1376255, -12513232, 2383746},
{-2752513, -12513232, 0},
{963379, -12513232, -1668622},
{1926758, -12513232, 0},
{963379, -12513232, 1668622},
{-963379, -12513232, 1668623},
{-963379, -12513232, -1668622},
{-1926758, -12513232, 0},
{963379, -11491004, -1668622},
{1926758, -11491004, 0},
{-963379, -11491004, 1668623},
{963379, -11491004, 1668622},
{-1926758, -11491004, 0},
{-963379, -11491004, -1668622},
{-1205754, -2719168, -2088426},
{-1638401, -1139442, -2837794},
{-1638401, -1139442, -2837794},
{-1638401, -1139442, -2837794},
{1638399, -1139442, -2837794},
{1638399, -1139442, -2837794},
{1638399, -1139442, -2837794},
{1205752, -2719168, -2088427},
{3276800, -1139442, 0},
{3276800, -1139442, 0},
{3276800, -1139442, 0},
{2411507, -2719168, 0},
{1638401, -1139441, 2837794},
{1638401, -1139441, 2837794},
{1638401, -1139441, 2837794},
{1205754, -2719168, 2088426},
{-1638399, -1139441, 2837794},
{-1638399, -1139441, 2837794},
{-1638399, -1139441, 2837794},
{-1205752, -2719168, 2088427},
{-3276800, -1139442, 0},
{-3276800, -1139442, 0},
{-3276800, -1139442, 0},
{-2411507, -2719168, 0},
{-1638401, 16143, -2837794},
{-1638401, 16143, -2837794},
{1638399, 16143, -2837794},
{1638399, 16143, -2837794},
{3276800, 16143, 0},
{3276800, 16143, 0},
{1638401, 16143, 2837794},
{1638401, 16143, 2837794},
{-1638399, 16143, 2837794},
{-1638399, 16143, 2837794},
{-3276800, 16143, 0},
{-3276800, 16143, 0},
{967071, -10381492, -1675018},
{967071, -10381492, -1675018},
{967071, -10381492, -1675018},
{-967071, -10381492, -1675018},
{-967071, -10381492, -1675018},
{-967071, -10381492, -1675018},
{1934144, -10381492, 0},
{1934144, -10381492, 0},
{1934144, -10381492, 0},
{967071, -10381492, 1675018},
{967071, -10381492, 1675018},
{967071, -10381492, 1675018},
{-967071, -10381492, 1675019},
{-967071, -10381492, 1675019},
{-967071, -10381492, 1675019},
{-1934144, -10381492, 0},
{-1934144, -10381492, 0},
{-1934144, -10381492, 0},
{1376256, -10673220, -2383746},
{1376256, -10673220, -2383746},
{1376256, -10673220, -2383746},
{-1376256, -10673220, -2383746},
{-1376256, -10673220, -2383746},
{-1376256, -10673220, -2383746},
{2752513, -10673220, 0},
{2752513, -10673220, 0},
{2752513, -10673220, 0},
{1376256, -10673220, 2383746},
{1376256, -10673220, 2383746},
{1376256, -10673220, 2383746},
{-1376255, -10673220, 2383746},
{-1376255, -10673220, 2383746},
{-1376255, -10673220, 2383746},
{-2752513, -10673220, 0},
{-2752513, -10673220, 0},
{-2752513, -10673220, 0},
{1376256, -11491004, -2383746},
{1376256, -11491004, -2383746},
{1376256, -11491004, -2383746},
{-1376256, -11491004, -2383746},
{-1376256, -11491004, -2383746},
{-1376256, -11491004, -2383746},
{2752513, -11491004, 0},
{2752513, -11491004, 0},
{2752513, -11491004, 0},
{1376256, -11491004, 2383746},
{1376256, -11491004, 2383746},
{1376256, -11491004, 2383746},
{-1376255, -11491004, 2383746},
{-1376255, -11491004, 2383746},
{-1376255, -11491004, 2383746},
{-2752513, -11491004, 0},
{-2752513, -11491004, 0},
{-2752513, -11491004, 0},
{1376256, -12513232, -2383746},
{1376256, -12513232, -2383746},
{-1376256, -12513232, -2383746},
{-1376256, -12513232, -2383746},
{2752513, -12513232, 0},
{2752513, -12513232, 0},
{1376256, -12513232, 2383746},
{1376256, -12513232, 2383746},
{-1376255, -12513232, 2383746},
{-1376255, -12513232, 2383746},
{-2752513, -12513232, 0},
{-2752513, -12513232, 0},
{1926758, -12513232, 0},
{1926758, -12513232, 0},
{963379, -12513232, -1668622},
{963379, -12513232, -1668622},
{-963379, -12513232, 1668623},
{-963379, -12513232, 1668623},
{963379, -12513232, 1668622},
{963379, -12513232, 1668622},
{-963379, -12513232, -1668622},
{-963379, -12513232, -1668622},
{-1926758, -12513232, 0},
{-1926758, -12513232, 0},
{1926758, -11491004, 0},
{1926758, -11491004, 0},
{1926758, -11491004, 0},
{963379, -11491004, -1668622},
{963379, -11491004, -1668622},
{963379, -11491004, -1668622},
{-963379, -11491004, 1668623},
{-963379, -11491004, 1668623},
{-963379, -11491004, 1668623},
{963379, -11491004, 1668622},
{963379, -11491004, 1668622},
{963379, -11491004, 1668622},
{-963379, -11491004, -1668622},
{-963379, -11491004, -1668622},
{-963379, -11491004, -1668622},
{-1926758, -11491004, 0},
{-1926758, -11491004, 0},
{-1926758, -11491004, 0},
};
static POLYGON PolygonRookWhite[] =
{
{{0, -17130, -63257}, {61, 54, 55, 58}},
{{-63257, 0, -28087}, {65, 0, 59, 62}},
{{-28087, -59211, 54783}, {69, 2, 63, 66}},
{{54783, -17130, -31627}, {73, 3, 67, 70}},
{{-31627, 51279, -28087}, {77, 4, 71, 74}},
{{-28087, -29605, 54783}, {1, 5, 75, 56}},
{{54783, -17130, 31627}, {60, 57, 78, 80}},
{{-17130, 31627, 51279}, {64, 6, 81, 82}},
{{31627, 51279, -28087}, {68, 8, 83, 84}},
{{51279, -28087, 29605}, {72, 9, 85, 86}},
{{-28087, 29605, 0}, {76, 10, 87, 88}},
{{29605, 0, -17130}, {7, 11, 89, 79}},
{{0, -17130, 63257}, {14, 17, 16, 15}},
{{0, -17130, 63257}, {12, 17, 14, 13}},
{{0, -17130, -63257}, {54, 61, 90, 93}},
{{-63257, 0, -28087}, {0, 65, 96, 91}},
{{-28087, -59211, 54783}, {2, 69, 99, 97}},
{{54783, -17130, -31627}, {3, 73, 102, 100}},
{{-31627, 51279, -28087}, {4, 77, 105, 103}},
{{-28087, -29605, 54783}, {5, 1, 94, 106}},
{{-17130, 31627, -51279}, {95, 92, 108, 111}},
{{31627, -51279, -28087}, {18, 98, 114, 109}},
{{-51279, -28087, 29605}, {20, 101, 117, 115}},
{{-28087, 29605, -54783}, {21, 104, 120, 118}},
{{29605, -54783, -17130}, {22, 107, 123, 121}},
{{-54783, -17130, -31627}, {23, 19, 112, 124}},
{{54783, -17130, 31627}, {113, 110, 126, 129}},
{{-17130, 31627, 51279}, {24, 116, 132, 127}},
{{31627, 51279, -28087}, {26, 119, 135, 133}},
{{51279, -28087, 29605}, {27, 122, 138, 136}},
{{-28087, 29605, 0}, {28, 125, 141, 139}},
{{29605, 0, -17130}, {29, 25, 130, 142}},
{{-17130, 31627, 51279}, {127, 132, 148, 144}},
{{51279, -28087, 29605}, {136, 138, 152, 150}},
{{29605, 0, -17130}, {142, 130, 146, 154}},
{{-17130, -31627, -51279}, {145, 149, 156, 158}},
{{-17130, -31627, -51279}, {151, 153, 160, 162}},
{{-17130, -31627, -51279}, {155, 147, 164, 166}},
{{-28087, 29605, 0}, {159, 157, 168, 171}},
{{54783, -17130, 31627}, {163, 161, 174, 177}},
{{31627, 51279, -28087}, {167, 165, 180, 183}},
{{51279, -28087, 29605}, {143, 41, 47, 184}},
{{29605, 0, -17130}, {140, 175, 45, 40}},
{{-17130, -31627, -51279}, {34, 35, 185, 176}},
{{51279, -28087, 29605}, {134, 169, 43, 38}},
{{-17130, 31627, 51279}, {137, 39, 44, 178}},
{{-17130, -31627, -51279}, {32, 33, 179, 170}},
{{-17130, -31627, -51279}, {128, 172, 181, 131}},
{{-17130, -31627, -51279}, {48, 49, 52, 53}},
{{-17130, -31627, -51279}, {50, 52, 49, 51}},
{{29605, 0, -17130}, {30, 37, 42, 173}},
{{-17130, 31627, 51279}, {31, 182, 46, 36}},
};
static ATTR AttributeRookWhite[] =
{
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
ATTRIBUTE(Dual_Plane, SORT_CEN, No_Texture, 0x801f, CL32KRGB | No_Gouraud, CL32KRGB | MESHoff, sprPolygon, UseLight),
};
jo_3d_mesh MeshRookWhite =
{
.data =
{
PointRookWhite,
186,
PolygonRookWhite,
52,
AttributeRookWhite
}
};
/* Call this function in you code to display all objects */
static __jo_force_inline void display_rook_white_mesh(void)
{
jo_3d_rotate_matrix_y(180);
jo_3d_mesh_draw(&MeshRookWhite);
}
#endif /* !__3D_MODELRookWhite_H__ */