mirror of
https://git.coom.tech/drummyfish/small3dlib.git
synced 2024-12-22 01:26:17 +01:00
Create pokitto subfolder
This commit is contained in:
parent
0eaf283a1b
commit
1ae90ed9bb
10 changed files with 2923 additions and 0 deletions
768
programs/pokitto/chestModel.h
Normal file
768
programs/pokitto/chestModel.h
Normal file
|
@ -0,0 +1,768 @@
|
|||
#ifndef CHEST_MODEL_H
|
||||
#define CHEST_MODEL_H
|
||||
|
||||
#define CHEST_VERTEX_COUNT 118
|
||||
const S3L_Unit chestVertices[CHEST_VERTEX_COUNT * 3] = {
|
||||
1335, -1581, 959, // 0
|
||||
1504, -822, 1122, // 3
|
||||
1504, -822, -971, // 6
|
||||
1335, -1581, -808, // 9
|
||||
1656, -822, 1273, // 12
|
||||
1656, -822, -1123, // 15
|
||||
1451, 823, 707, // 18
|
||||
1484, 549, 532, // 21
|
||||
1539, 66, 860, // 24
|
||||
1521, 214, 1160, // 27
|
||||
331, -501, -969, // 30
|
||||
1247, -501, -969, // 33
|
||||
1163, 101, -875, // 36
|
||||
287, 95, -875, // 39
|
||||
223, 647, -479, // 42
|
||||
250, 794, -562, // 45
|
||||
313, 179, -1016, // 48
|
||||
1100, 649, -479, // 51
|
||||
223, 647, 629, // 54
|
||||
287, 95, 1026, // 57
|
||||
313, 179, 1158, // 60
|
||||
250, 794, 705, // 63
|
||||
1079, 835, 75, // 66
|
||||
223, 833, 75, // 69
|
||||
1100, 649, 629, // 72
|
||||
1163, 101, 1026, // 75
|
||||
1247, -501, 1120, // 78
|
||||
331, -501, 1120, // 81
|
||||
230, 986, 71, // 84
|
||||
354, -822, -1123, // 87
|
||||
357, -502, -1123, // 90
|
||||
-357, -502, -1123, // 93
|
||||
-354, -822, -1123, // 96
|
||||
357, -502, 1265, // 99
|
||||
1334, 531, 532, // 102
|
||||
1389, 48, 860, // 105
|
||||
1156, 172, -1009, // 108
|
||||
1086, 781, -557, // 111
|
||||
1389, 48, -709, // 114
|
||||
1334, 531, -382, // 117
|
||||
1484, 549, -382, // 120
|
||||
1539, 66, -709, // 123
|
||||
1466, -509, 937, // 126
|
||||
1617, -509, 937, // 129
|
||||
1451, 823, -557, // 132
|
||||
1521, 214, -1009, // 135
|
||||
1466, -509, -787, // 138
|
||||
1617, -509, -787, // 141
|
||||
1465, 712, 75, // 144
|
||||
1428, 1028, 75, // 147
|
||||
1621, -501, 1273, // 150
|
||||
1621, -501, -1123, // 153
|
||||
1315, 695, 75, // 156
|
||||
1247, -501, -1123, // 159
|
||||
1247, -501, 1271, // 162
|
||||
1156, 172, 1160, // 165
|
||||
1086, 781, 707, // 168
|
||||
1062, 986, 75, // 171
|
||||
300, -1121, -892, // 174
|
||||
348, -822, -971, // 177
|
||||
300, -1121, -1123, // 180
|
||||
-1335, -1581, 959, // 183
|
||||
-1335, -1581, -808, // 186
|
||||
-1504, -822, -971, // 189
|
||||
-1504, -822, 1122, // 192
|
||||
-1656, -822, -1123, // 195
|
||||
-1656, -822, 1273, // 198
|
||||
-331, -501, -969, // 201
|
||||
-287, 95, -875, // 204
|
||||
-1163, 101, -875, // 207
|
||||
-1247, -501, -969, // 210
|
||||
-313, 179, -1016, // 213
|
||||
-250, 794, -562, // 216
|
||||
-223, 647, -479, // 219
|
||||
-1100, 649, -479, // 222
|
||||
-223, 647, 629, // 225
|
||||
-250, 794, 705, // 228
|
||||
-313, 179, 1158, // 231
|
||||
-287, 95, 1026, // 234
|
||||
-223, 833, 75, // 237
|
||||
-1079, 835, 75, // 240
|
||||
-1100, 649, 629, // 243
|
||||
-1163, 101, 1026, // 246
|
||||
-1247, -501, 1120, // 249
|
||||
-331, -501, 1120, // 252
|
||||
-230, 986, 71, // 255
|
||||
-1247, -501, -1123, // 258
|
||||
-1621, -501, -1123, // 261
|
||||
-357, -502, 1265, // 264
|
||||
-1334, 531, 532, // 267
|
||||
-1484, 549, 532, // 270
|
||||
-1539, 66, 860, // 273
|
||||
-1389, 48, 860, // 276
|
||||
-1086, 781, -557, // 279
|
||||
-1156, 172, -1009, // 282
|
||||
-1389, 48, -709, // 285
|
||||
-1539, 66, -709, // 288
|
||||
-1484, 549, -382, // 291
|
||||
-1334, 531, -382, // 294
|
||||
-1617, -509, 937, // 297
|
||||
-1466, -509, 937, // 300
|
||||
-1466, -509, -787, // 303
|
||||
-1617, -509, -787, // 306
|
||||
-1465, 712, 75, // 309
|
||||
-1315, 695, 75, // 312
|
||||
-1521, 214, -1009, // 315
|
||||
-1451, 823, -557, // 318
|
||||
-1247, -501, 1271, // 321
|
||||
-1621, -501, 1273, // 324
|
||||
-1521, 214, 1160, // 327
|
||||
-1156, 172, 1160, // 330
|
||||
-1451, 823, 707, // 333
|
||||
-1086, 781, 707, // 336
|
||||
-1062, 986, 75, // 339
|
||||
-1428, 1028, 75, // 342
|
||||
-300, -1121, -892, // 345
|
||||
-300, -1121, -1123, // 348
|
||||
-348, -822, -971 // 351
|
||||
}; // chestVertices
|
||||
|
||||
#define CHEST_TRIANGLE_COUNT 232
|
||||
const S3L_Index chestTriangleIndices[CHEST_TRIANGLE_COUNT * 3] = {
|
||||
1, 3, 0, // 0
|
||||
1, 5, 2, // 3
|
||||
7, 9, 6, // 6
|
||||
10, 12, 13, // 9
|
||||
14, 16, 13, // 12
|
||||
13, 17, 14, // 15
|
||||
18, 20, 21, // 18
|
||||
14, 22, 23, // 21
|
||||
18, 22, 24, // 24
|
||||
19, 24, 25, // 27
|
||||
27, 25, 26, // 30
|
||||
23, 15, 14, // 33
|
||||
30, 32, 29, // 36
|
||||
13, 30, 10, // 39
|
||||
19, 33, 20, // 42
|
||||
23, 21, 28, // 45
|
||||
34, 8, 7, // 48
|
||||
17, 36, 37, // 51
|
||||
39, 41, 38, // 54
|
||||
42, 8, 35, // 57
|
||||
40, 45, 41, // 60
|
||||
46, 41, 47, // 63
|
||||
48, 44, 40, // 66
|
||||
4, 50, 43, // 69
|
||||
5, 47, 51, // 72
|
||||
5, 43, 47, // 75
|
||||
52, 40, 39, // 78
|
||||
52, 7, 48, // 81
|
||||
53, 45, 36, // 84
|
||||
6, 48, 7, // 87
|
||||
36, 44, 37, // 90
|
||||
26, 33, 27, // 93
|
||||
30, 11, 10, // 96
|
||||
54, 9, 50, // 99
|
||||
55, 6, 9, // 102
|
||||
37, 49, 57, // 105
|
||||
56, 49, 6, // 108
|
||||
41, 51, 47, // 111
|
||||
24, 55, 25, // 114
|
||||
22, 37, 57, // 117
|
||||
12, 53, 36, // 120
|
||||
22, 56, 24, // 123
|
||||
25, 54, 26, // 126
|
||||
46, 43, 42, // 129
|
||||
35, 39, 38, // 132
|
||||
52, 39, 34, // 135
|
||||
46, 35, 38, // 138
|
||||
59, 60, 58, // 141
|
||||
62, 64, 61, // 144
|
||||
65, 64, 63, // 147
|
||||
67, 69, 70, // 150
|
||||
71, 73, 68, // 153
|
||||
68, 74, 69, // 156
|
||||
75, 77, 78, // 159
|
||||
73, 80, 74, // 162
|
||||
80, 75, 81, // 165
|
||||
81, 78, 82, // 168
|
||||
82, 84, 83, // 171
|
||||
72, 79, 73, // 174
|
||||
86, 87, 65, // 177
|
||||
72, 16, 15, // 180
|
||||
71, 30, 16, // 183
|
||||
31, 68, 67, // 186
|
||||
78, 88, 84, // 189
|
||||
79, 76, 75, // 192
|
||||
89, 91, 92, // 195
|
||||
74, 94, 69, // 198
|
||||
96, 98, 95, // 201
|
||||
91, 100, 92, // 204
|
||||
101, 96, 95, // 207
|
||||
65, 99, 66, // 210
|
||||
98, 103, 104, // 213
|
||||
103, 89, 104, // 216
|
||||
105, 86, 94, // 219
|
||||
106, 94, 93, // 222
|
||||
83, 88, 107, // 225
|
||||
70, 31, 67, // 228
|
||||
107, 109, 110, // 231
|
||||
110, 111, 112, // 234
|
||||
114, 93, 113, // 237
|
||||
111, 113, 112, // 240
|
||||
110, 81, 82, // 243
|
||||
80, 93, 74, // 246
|
||||
69, 86, 70, // 249
|
||||
112, 80, 81, // 252
|
||||
107, 82, 83, // 255
|
||||
99, 101, 100, // 258
|
||||
98, 92, 95, // 261
|
||||
104, 89, 98, // 264
|
||||
95, 100, 101, // 267
|
||||
32, 86, 65, // 270
|
||||
116, 117, 115, // 273
|
||||
15, 85, 72, // 276
|
||||
21, 85, 28, // 279
|
||||
20, 76, 21, // 282
|
||||
33, 77, 20, // 285
|
||||
29, 116, 60, // 288
|
||||
116, 58, 60, // 291
|
||||
62, 58, 115, // 294
|
||||
2, 58, 3, // 297
|
||||
63, 115, 117, // 300
|
||||
0, 64, 1, // 303
|
||||
3, 61, 0, // 306
|
||||
29, 53, 30, // 309
|
||||
53, 5, 51, // 312
|
||||
50, 4, 54, // 315
|
||||
54, 4, 33, // 318
|
||||
66, 107, 88, // 321
|
||||
108, 107, 66, // 324
|
||||
33, 66, 88, // 327
|
||||
1, 66, 4, // 330
|
||||
32, 63, 117, // 333
|
||||
2, 29, 59, // 336
|
||||
66, 99, 108, // 339
|
||||
91, 108, 99, // 342
|
||||
90, 109, 91, // 345
|
||||
103, 111, 90, // 348
|
||||
103, 106, 114, // 351
|
||||
97, 105, 106, // 354
|
||||
96, 87, 105, // 357
|
||||
87, 102, 65, // 360
|
||||
50, 8, 43, // 363
|
||||
1, 2, 3, // 366
|
||||
1, 4, 5, // 369
|
||||
7, 8, 9, // 372
|
||||
10, 11, 12, // 375
|
||||
14, 15, 16, // 378
|
||||
13, 12, 17, // 381
|
||||
18, 19, 20, // 384
|
||||
14, 17, 22, // 387
|
||||
18, 23, 22, // 390
|
||||
19, 18, 24, // 393
|
||||
27, 19, 25, // 396
|
||||
23, 28, 15, // 399
|
||||
30, 31, 32, // 402
|
||||
13, 16, 30, // 405
|
||||
19, 27, 33, // 408
|
||||
23, 18, 21, // 411
|
||||
34, 35, 8, // 414
|
||||
17, 12, 36, // 417
|
||||
39, 40, 41, // 420
|
||||
42, 43, 8, // 423
|
||||
40, 44, 45, // 426
|
||||
46, 38, 41, // 429
|
||||
48, 49, 44, // 432
|
||||
5, 4, 43, // 435
|
||||
52, 48, 40, // 438
|
||||
52, 34, 7, // 441
|
||||
53, 51, 45, // 444
|
||||
6, 49, 48, // 447
|
||||
36, 45, 44, // 450
|
||||
26, 54, 33, // 453
|
||||
30, 53, 11, // 456
|
||||
54, 55, 9, // 459
|
||||
55, 56, 6, // 462
|
||||
37, 44, 49, // 465
|
||||
56, 57, 49, // 468
|
||||
41, 45, 51, // 471
|
||||
24, 56, 55, // 474
|
||||
22, 17, 37, // 477
|
||||
12, 11, 53, // 480
|
||||
22, 57, 56, // 483
|
||||
25, 55, 54, // 486
|
||||
46, 47, 43, // 489
|
||||
35, 34, 39, // 492
|
||||
46, 42, 35, // 495
|
||||
59, 29, 60, // 498
|
||||
62, 63, 64, // 501
|
||||
65, 66, 64, // 504
|
||||
67, 68, 69, // 507
|
||||
71, 72, 73, // 510
|
||||
68, 73, 74, // 513
|
||||
75, 76, 77, // 516
|
||||
73, 79, 80, // 519
|
||||
80, 79, 75, // 522
|
||||
81, 75, 78, // 525
|
||||
82, 78, 84, // 528
|
||||
72, 85, 79, // 531
|
||||
72, 71, 16, // 534
|
||||
71, 31, 30, // 537
|
||||
31, 71, 68, // 540
|
||||
78, 77, 88, // 543
|
||||
79, 85, 76, // 546
|
||||
89, 90, 91, // 549
|
||||
74, 93, 94, // 552
|
||||
96, 97, 98, // 555
|
||||
91, 99, 100, // 558
|
||||
101, 102, 96, // 561
|
||||
65, 102, 99, // 564
|
||||
98, 97, 103, // 567
|
||||
103, 90, 89, // 570
|
||||
105, 87, 86, // 573
|
||||
106, 105, 94, // 576
|
||||
83, 84, 88, // 579
|
||||
70, 86, 31, // 582
|
||||
107, 108, 109, // 585
|
||||
110, 109, 111, // 588
|
||||
114, 106, 93, // 591
|
||||
111, 114, 113, // 594
|
||||
110, 112, 81, // 597
|
||||
80, 113, 93, // 600
|
||||
69, 94, 86, // 603
|
||||
112, 113, 80, // 606
|
||||
107, 110, 82, // 609
|
||||
99, 102, 101, // 612
|
||||
98, 89, 92, // 615
|
||||
95, 92, 100, // 618
|
||||
32, 31, 86, // 621
|
||||
116, 32, 117, // 624
|
||||
15, 28, 85, // 627
|
||||
21, 76, 85, // 630
|
||||
20, 77, 76, // 633
|
||||
33, 88, 77, // 636
|
||||
29, 32, 116, // 639
|
||||
116, 115, 58, // 642
|
||||
62, 3, 58, // 645
|
||||
2, 59, 58, // 648
|
||||
63, 62, 115, // 651
|
||||
0, 61, 64, // 654
|
||||
3, 62, 61, // 657
|
||||
29, 5, 53, // 660
|
||||
33, 4, 66, // 663
|
||||
1, 64, 66, // 666
|
||||
32, 65, 63, // 669
|
||||
2, 5, 29, // 672
|
||||
91, 109, 108, // 675
|
||||
90, 111, 109, // 678
|
||||
103, 114, 111, // 681
|
||||
103, 97, 106, // 684
|
||||
97, 96, 105, // 687
|
||||
96, 102, 87, // 690
|
||||
50, 9, 8 // 693
|
||||
}; // chestTriangleIndices
|
||||
|
||||
#define CHEST_UV_COUNT 154
|
||||
const S3L_Unit chestUVs[CHEST_UV_COUNT * 2] = {
|
||||
23, 196, // 0
|
||||
71, 313, // 2
|
||||
71, 196, // 4
|
||||
307, 495, // 6
|
||||
495, 483, // 8
|
||||
482, 495, // 10
|
||||
343, 350, // 12
|
||||
286, 392, // 14
|
||||
322, 325, // 16
|
||||
151, 185, // 18
|
||||
198, 247, // 20
|
||||
198, 185, // 22
|
||||
250, 185, // 24
|
||||
198, 172, // 26
|
||||
250, 247, // 28
|
||||
347, 185, // 30
|
||||
397, 172, // 32
|
||||
347, 172, // 34
|
||||
298, 247, // 36
|
||||
298, 185, // 38
|
||||
347, 247, // 40
|
||||
397, 185, // 42
|
||||
397, 247, // 44
|
||||
436, 185, // 46
|
||||
436, 247, // 48
|
||||
250, 172, // 50
|
||||
143, 172, // 52
|
||||
122, 124, // 54
|
||||
122, 172, // 56
|
||||
448, 172, // 58
|
||||
298, 172, // 60
|
||||
353, 360, // 62
|
||||
316, 400, // 64
|
||||
198, 260, // 66
|
||||
250, 260, // 68
|
||||
426, 358, // 70
|
||||
469, 396, // 72
|
||||
452, 400, // 74
|
||||
332, 444, // 76
|
||||
330, 402, // 78
|
||||
435, 345, // 80
|
||||
500, 385, // 82
|
||||
454, 444, // 84
|
||||
465, 456, // 86
|
||||
387, 330, // 88
|
||||
454, 317, // 90
|
||||
294, 483, // 92
|
||||
293, 460, // 94
|
||||
322, 457, // 96
|
||||
496, 459, // 98
|
||||
389, 345, // 100
|
||||
143, 260, // 102
|
||||
198, 283, // 104
|
||||
250, 283, // 106
|
||||
151, 247, // 108
|
||||
448, 260, // 110
|
||||
397, 283, // 112
|
||||
448, 283, // 114
|
||||
397, 260, // 116
|
||||
347, 283, // 118
|
||||
298, 283, // 120
|
||||
298, 260, // 122
|
||||
347, 260, // 124
|
||||
109, 178, // 126
|
||||
105, 158, // 128
|
||||
90, 162, // 130
|
||||
270, 313, // 132
|
||||
203, 495, // 134
|
||||
270, 495, // 136
|
||||
495, 483, // 138
|
||||
307, 495, // 140
|
||||
482, 495, // 142
|
||||
151, 111, // 144
|
||||
198, 51, // 146
|
||||
151, 51, // 148
|
||||
198, 124, // 150
|
||||
250, 111, // 152
|
||||
198, 111, // 154
|
||||
250, 51, // 156
|
||||
347, 111, // 158
|
||||
397, 124, // 160
|
||||
397, 111, // 162
|
||||
298, 51, // 164
|
||||
347, 51, // 166
|
||||
397, 51, // 168
|
||||
436, 111, // 170
|
||||
436, 51, // 172
|
||||
250, 124, // 174
|
||||
298, 111, // 176
|
||||
143, 40, // 178
|
||||
143, 13, // 180
|
||||
122, 13, // 182
|
||||
143, 124, // 184
|
||||
448, 124, // 186
|
||||
347, 124, // 188
|
||||
353, 360, // 190
|
||||
317, 400, // 192
|
||||
331, 402, // 194
|
||||
198, 40, // 196
|
||||
469, 396, // 198
|
||||
427, 358, // 200
|
||||
452, 400, // 202
|
||||
333, 444, // 204
|
||||
455, 444, // 206
|
||||
322, 457, // 208
|
||||
295, 483, // 210
|
||||
388, 330, // 212
|
||||
389, 345, // 214
|
||||
198, 13, // 216
|
||||
250, 13, // 218
|
||||
250, 40, // 220
|
||||
448, 40, // 222
|
||||
397, 13, // 224
|
||||
397, 40, // 226
|
||||
347, 13, // 228
|
||||
347, 40, // 230
|
||||
298, 13, // 232
|
||||
298, 40, // 234
|
||||
105, 138, // 236
|
||||
111, 119, // 238
|
||||
90, 133, // 240
|
||||
298, 124, // 242
|
||||
71, 495, // 244
|
||||
39, 385, // 246
|
||||
39, 424, // 248
|
||||
23, 313, // 250
|
||||
23, 495, // 252
|
||||
23, 427, // 254
|
||||
23, 11, // 256
|
||||
183, 495, // 258
|
||||
183, 313, // 260
|
||||
122, 283, // 262
|
||||
143, 283, // 264
|
||||
471, 283, // 266
|
||||
470, 13, // 268
|
||||
448, 13, // 270
|
||||
482, 283, // 272
|
||||
111, 26, // 274
|
||||
109, 274, // 276
|
||||
294, 460, // 278
|
||||
343, 350, // 280
|
||||
287, 392, // 282
|
||||
323, 325, // 284
|
||||
454, 317, // 286
|
||||
386, 297, // 288
|
||||
436, 345, // 290
|
||||
500, 385, // 292
|
||||
496, 459, // 294
|
||||
465, 456, // 296
|
||||
385, 297, // 298
|
||||
203, 313, // 300
|
||||
23, 382, // 302
|
||||
71, 11, // 304
|
||||
482, 13 // 306
|
||||
}; // chestUVs
|
||||
|
||||
#define CHEST_UV_INDEX_COUNT 232
|
||||
const S3L_Index chestUVIndices[CHEST_UV_INDEX_COUNT * 3] = {
|
||||
0, 1, 2, // 0
|
||||
3, 4, 5, // 3
|
||||
6, 7, 8, // 6
|
||||
9, 10, 11, // 9
|
||||
12, 13, 11, // 12
|
||||
11, 14, 12, // 15
|
||||
15, 16, 17, // 18
|
||||
12, 18, 19, // 21
|
||||
15, 18, 20, // 24
|
||||
21, 20, 22, // 27
|
||||
23, 22, 24, // 30
|
||||
19, 25, 12, // 33
|
||||
26, 27, 28, // 36
|
||||
11, 26, 9, // 39
|
||||
21, 29, 16, // 42
|
||||
19, 17, 30, // 45
|
||||
31, 32, 6, // 48
|
||||
14, 33, 34, // 51
|
||||
35, 36, 37, // 54
|
||||
38, 32, 39, // 57
|
||||
40, 41, 36, // 60
|
||||
42, 36, 43, // 63
|
||||
44, 45, 40, // 66
|
||||
46, 47, 48, // 69
|
||||
4, 43, 49, // 72
|
||||
4, 48, 43, // 75
|
||||
50, 40, 35, // 78
|
||||
50, 6, 44, // 81
|
||||
51, 52, 33, // 84
|
||||
8, 44, 6, // 87
|
||||
33, 53, 34, // 90
|
||||
24, 29, 23, // 93
|
||||
26, 54, 9, // 96
|
||||
55, 56, 57, // 99
|
||||
58, 59, 56, // 102
|
||||
34, 60, 61, // 105
|
||||
62, 60, 59, // 108
|
||||
36, 49, 43, // 111
|
||||
20, 58, 22, // 114
|
||||
18, 34, 61, // 117
|
||||
10, 51, 33, // 120
|
||||
18, 62, 20, // 123
|
||||
22, 55, 24, // 126
|
||||
42, 48, 38, // 129
|
||||
39, 35, 37, // 132
|
||||
50, 35, 31, // 135
|
||||
42, 39, 37, // 138
|
||||
63, 64, 65, // 141
|
||||
66, 67, 68, // 144
|
||||
69, 70, 71, // 147
|
||||
72, 73, 74, // 150
|
||||
75, 76, 77, // 153
|
||||
77, 78, 73, // 156
|
||||
79, 80, 81, // 159
|
||||
76, 82, 78, // 162
|
||||
82, 79, 83, // 165
|
||||
83, 81, 84, // 168
|
||||
84, 85, 86, // 171
|
||||
87, 88, 76, // 174
|
||||
89, 90, 91, // 177
|
||||
87, 13, 25, // 180
|
||||
75, 26, 13, // 183
|
||||
92, 77, 72, // 186
|
||||
81, 93, 85, // 189
|
||||
88, 94, 79, // 192
|
||||
95, 96, 97, // 195
|
||||
78, 98, 73, // 198
|
||||
99, 100, 101, // 201
|
||||
96, 102, 97, // 204
|
||||
103, 99, 101, // 207
|
||||
69, 104, 105, // 210
|
||||
100, 106, 107, // 213
|
||||
106, 95, 107, // 216
|
||||
108, 89, 98, // 219
|
||||
109, 98, 110, // 222
|
||||
86, 93, 111, // 225
|
||||
74, 92, 72, // 228
|
||||
111, 112, 113, // 231
|
||||
113, 114, 115, // 234
|
||||
116, 110, 117, // 237
|
||||
114, 117, 115, // 240
|
||||
113, 83, 84, // 243
|
||||
82, 110, 78, // 246
|
||||
73, 89, 74, // 249
|
||||
115, 82, 83, // 252
|
||||
111, 84, 86, // 255
|
||||
104, 103, 102, // 258
|
||||
100, 97, 101, // 261
|
||||
107, 95, 100, // 264
|
||||
101, 102, 103, // 267
|
||||
27, 89, 91, // 270
|
||||
118, 119, 120, // 273
|
||||
25, 121, 87, // 276
|
||||
17, 121, 30, // 279
|
||||
16, 94, 17, // 282
|
||||
29, 80, 16, // 285
|
||||
28, 118, 64, // 288
|
||||
118, 65, 64, // 291
|
||||
122, 123, 124, // 294
|
||||
125, 123, 1, // 297
|
||||
126, 124, 127, // 300
|
||||
2, 128, 0, // 303
|
||||
1, 129, 130, // 306
|
||||
28, 51, 26, // 309
|
||||
51, 131, 132, // 312
|
||||
57, 133, 55, // 315
|
||||
55, 133, 29, // 318
|
||||
134, 111, 93, // 321
|
||||
135, 111, 134, // 324
|
||||
29, 134, 93, // 327
|
||||
136, 134, 133, // 330
|
||||
27, 137, 119, // 333
|
||||
138, 28, 63, // 336
|
||||
105, 104, 139, // 339
|
||||
96, 139, 104, // 342
|
||||
140, 141, 96, // 345
|
||||
106, 142, 140, // 348
|
||||
106, 143, 144, // 351
|
||||
145, 146, 143, // 354
|
||||
99, 147, 146, // 357
|
||||
147, 148, 69, // 360
|
||||
47, 32, 48, // 363
|
||||
0, 125, 1, // 366
|
||||
3, 46, 4, // 369
|
||||
6, 32, 7, // 372
|
||||
9, 54, 10, // 375
|
||||
12, 25, 13, // 378
|
||||
11, 10, 14, // 381
|
||||
15, 21, 16, // 384
|
||||
12, 14, 18, // 387
|
||||
15, 19, 18, // 390
|
||||
21, 15, 20, // 393
|
||||
23, 21, 22, // 396
|
||||
19, 30, 25, // 399
|
||||
26, 92, 27, // 402
|
||||
11, 13, 26, // 405
|
||||
21, 23, 29, // 408
|
||||
19, 15, 17, // 411
|
||||
31, 39, 32, // 414
|
||||
14, 10, 33, // 417
|
||||
35, 40, 36, // 420
|
||||
38, 48, 32, // 423
|
||||
40, 45, 41, // 426
|
||||
42, 37, 36, // 429
|
||||
44, 149, 45, // 432
|
||||
4, 46, 48, // 435
|
||||
50, 44, 40, // 438
|
||||
50, 31, 6, // 441
|
||||
51, 132, 52, // 444
|
||||
8, 149, 44, // 447
|
||||
33, 52, 53, // 450
|
||||
24, 55, 29, // 453
|
||||
26, 51, 54, // 456
|
||||
55, 58, 56, // 459
|
||||
58, 62, 59, // 462
|
||||
34, 53, 60, // 465
|
||||
62, 61, 60, // 468
|
||||
36, 41, 49, // 471
|
||||
20, 62, 58, // 474
|
||||
18, 14, 34, // 477
|
||||
10, 54, 51, // 480
|
||||
18, 61, 62, // 483
|
||||
22, 58, 55, // 486
|
||||
42, 43, 48, // 489
|
||||
39, 31, 35, // 492
|
||||
42, 38, 39, // 495
|
||||
63, 28, 64, // 498
|
||||
66, 150, 67, // 501
|
||||
69, 105, 70, // 504
|
||||
72, 77, 73, // 507
|
||||
75, 87, 76, // 510
|
||||
77, 76, 78, // 513
|
||||
79, 94, 80, // 516
|
||||
76, 88, 82, // 519
|
||||
82, 88, 79, // 522
|
||||
83, 79, 81, // 525
|
||||
84, 81, 85, // 528
|
||||
87, 121, 88, // 531
|
||||
87, 75, 13, // 534
|
||||
75, 92, 26, // 537
|
||||
92, 75, 77, // 540
|
||||
81, 80, 93, // 543
|
||||
88, 121, 94, // 546
|
||||
95, 140, 96, // 549
|
||||
78, 110, 98, // 552
|
||||
99, 145, 100, // 555
|
||||
96, 104, 102, // 558
|
||||
103, 148, 99, // 561
|
||||
69, 148, 104, // 564
|
||||
100, 145, 106, // 567
|
||||
106, 140, 95, // 570
|
||||
108, 90, 89, // 573
|
||||
109, 108, 98, // 576
|
||||
86, 85, 93, // 579
|
||||
74, 89, 92, // 582
|
||||
111, 135, 112, // 585
|
||||
113, 112, 114, // 588
|
||||
116, 109, 110, // 591
|
||||
114, 116, 117, // 594
|
||||
113, 115, 83, // 597
|
||||
82, 117, 110, // 600
|
||||
73, 98, 89, // 603
|
||||
115, 117, 82, // 606
|
||||
111, 113, 84, // 609
|
||||
104, 148, 103, // 612
|
||||
100, 95, 97, // 615
|
||||
101, 97, 102, // 618
|
||||
27, 92, 89, // 621
|
||||
118, 27, 119, // 624
|
||||
25, 30, 121, // 627
|
||||
17, 94, 121, // 630
|
||||
16, 80, 94, // 633
|
||||
29, 93, 80, // 636
|
||||
28, 27, 118, // 639
|
||||
118, 120, 65, // 642
|
||||
122, 1, 123, // 645
|
||||
125, 151, 123, // 648
|
||||
126, 122, 124, // 651
|
||||
2, 152, 128, // 654
|
||||
1, 122, 129, // 657
|
||||
28, 131, 51, // 660
|
||||
29, 133, 134, // 663
|
||||
136, 153, 134, // 666
|
||||
27, 91, 137, // 669
|
||||
138, 131, 28, // 672
|
||||
96, 141, 139, // 675
|
||||
140, 142, 141, // 678
|
||||
106, 144, 142, // 681
|
||||
106, 145, 143, // 684
|
||||
145, 99, 146, // 687
|
||||
99, 148, 147, // 690
|
||||
47, 7, 32 // 693
|
||||
}; // chestUVIndices
|
||||
|
||||
S3L_Model3D chestModel;
|
||||
|
||||
void chestModelInit()
|
||||
{
|
||||
S3L_initModel3D(
|
||||
chestVertices,
|
||||
CHEST_VERTEX_COUNT,
|
||||
chestTriangleIndices,
|
||||
CHEST_TRIANGLE_COUNT,
|
||||
&chestModel);
|
||||
}
|
||||
|
||||
#endif // guard
|
136
programs/pokitto/chestTexture.h
Normal file
136
programs/pokitto/chestTexture.h
Normal file
|
@ -0,0 +1,136 @@
|
|||
#ifndef CHEST_TEXTURE_H
|
||||
#define CHEST_TEXTURE_H
|
||||
|
||||
#define CHEST_TEXTURE_WIDTH 64
|
||||
#define CHEST_TEXTURE_HEIGHT 64
|
||||
|
||||
const uint8_t chestTexture[4096] = {
|
||||
9,9,9,9,9,9,8,8,9,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,8,9,9,9,9,9,9,9,9,9,8,
|
||||
9,9,9,9,9,9,9,9,9,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,8,7,23,23,7,7,7,7,8,8,9,9,9,
|
||||
9,8,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,7,7,7,7,7,7,7,7,7,7,8,
|
||||
8,8,8,8,8,8,9,9,9,8,9,8,21,24,24,24,24,24,21,8,9,8,9,9,7,7,7,7,7,7,7,7,7,7,7,7,
|
||||
7,7,7,7,7,7,7,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,6,7,7,9,9,8,9,
|
||||
24,20,21,21,20,22,22,20,8,9,9,8,7,7,7,9,9,9,9,9,8,9,9,9,9,9,9,8,11,9,8,9,9,9,8,
|
||||
8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,6,9,9,9,9,7,7,7,7,9,9,8,9,24,20,24,25,22,25,24,
|
||||
21,8,8,9,8,7,7,7,9,8,8,8,8,6,8,8,9,7,6,8,7,8,8,8,8,8,7,8,6,8,8,8,9,8,8,8,6,8,8,
|
||||
8,8,8,8,7,6,8,8,8,9,7,7,7,7,9,9,9,8,24,20,24,25,23,25,25,23,8,9,9,8,7,7,7,8,7,7,
|
||||
7,8,7,6,6,7,6,7,7,7,7,7,7,7,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,5,7,7,7,7,7,9,8,7,
|
||||
7,7,9,9,9,9,24,20,24,25,24,26,25,23,8,8,9,8,7,7,7,8,6,7,7,7,7,7,7,7,7,7,7,7,7,7,
|
||||
7,7,7,7,7,7,7,7,7,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,9,7,7,7,7,9,9,9,9,24,20,24,26,
|
||||
24,26,25,21,8,8,9,8,7,6,7,8,6,6,22,22,22,22,22,21,22,22,22,22,22,21,22,22,22,22,
|
||||
23,22,23,23,23,23,23,22,23,23,23,23,22,22,23,22,22,22,22,7,7,8,8,7,8,7,8,9,9,9,
|
||||
24,20,24,26,24,26,24,20,8,9,9,8,7,6,7,8,6,22,23,23,25,25,24,24,24,25,25,25,25,
|
||||
24,24,26,25,24,25,24,25,26,26,26,25,24,25,25,26,25,26,25,25,24,24,24,22,7,7,8,7,
|
||||
7,8,7,8,9,9,9,24,20,24,26,24,26,25,20,8,9,9,8,7,6,7,8,6,22,24,24,26,25,25,24,25,
|
||||
26,26,26,25,25,25,26,26,24,26,24,25,26,26,26,25,24,25,25,26,26,26,25,26,25,25,
|
||||
25,22,7,7,8,8,7,7,7,8,9,8,9,24,20,24,26,24,25,25,20,8,8,9,8,7,7,7,8,6,22,24,25,
|
||||
26,25,24,24,26,26,26,26,25,25,26,26,26,25,26,25,25,26,26,26,26,25,25,25,26,26,
|
||||
26,25,26,26,26,25,23,6,7,8,8,6,7,6,8,9,8,9,24,20,24,26,23,25,25,20,8,8,8,8,7,7,
|
||||
7,8,5,22,24,25,26,25,25,24,26,26,26,26,25,25,26,26,26,25,26,25,26,26,26,26,26,
|
||||
25,24,26,26,26,26,25,26,25,26,25,23,6,6,8,8,6,7,7,8,9,8,9,24,20,24,26,23,26,25,
|
||||
20,8,8,8,8,7,7,7,8,6,5,24,25,25,25,24,24,25,26,26,25,25,25,25,26,26,25,25,25,25,
|
||||
26,26,26,25,25,25,26,26,26,26,25,26,24,25,24,23,6,6,8,8,6,7,6,8,8,8,9,24,20,24,
|
||||
26,23,25,25,20,8,8,8,8,7,7,7,8,6,5,23,23,23,24,23,23,23,24,23,23,24,24,24,24,24,
|
||||
24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,22,23,6,6,8,8,6,7,6,8,8,8,
|
||||
9,24,20,24,26,23,26,24,20,8,8,8,8,7,7,7,8,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
|
||||
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,8,8,6,7,6,8,8,8,8,8,20,24,26,23,26,25,
|
||||
20,8,8,7,7,7,7,6,8,6,7,7,7,6,6,6,7,7,7,7,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,7,6,6,6,
|
||||
6,6,6,6,6,6,6,7,6,8,8,6,7,6,8,8,8,8,8,21,24,26,23,26,26,20,8,7,7,7,7,8,8,8,5,7,
|
||||
7,7,7,7,7,7,6,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,6,6,7,6,6,6,6,7,8,8,6,
|
||||
7,6,8,8,8,8,8,21,24,26,23,26,25,21,8,7,7,7,8,8,9,9,7,8,8,8,8,9,8,9,8,9,8,8,8,8,
|
||||
8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,7,6,7,6,8,9,8,8,24,20,24,26,
|
||||
23,26,25,21,8,7,7,7,8,4,9,9,7,8,9,9,8,10,9,9,9,9,8,5,10,9,9,8,8,9,8,8,10,8,8,8,
|
||||
9,8,9,9,7,8,8,8,8,8,10,8,8,9,9,9,7,6,7,6,8,8,8,9,7,20,24,26,23,26,25,21,8,7,7,7,
|
||||
8,9,9,9,7,8,8,9,6,8,9,9,8,8,9,6,9,9,8,9,8,9,9,7,8,8,8,9,9,8,9,8,6,8,8,8,8,8,10,
|
||||
7,8,8,8,8,7,6,7,6,8,8,8,8,8,20,24,25,23,26,25,22,8,7,7,6,8,9,8,9,7,8,8,8,8,8,8,
|
||||
8,6,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,7,6,7,6,8,8,8,
|
||||
8,8,20,24,25,23,25,25,21,8,7,7,7,7,8,8,8,5,7,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,
|
||||
7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,8,8,6,7,6,8,8,8,8,8,20,23,23,21,23,23,
|
||||
21,8,8,7,6,7,7,6,7,6,7,7,7,6,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
|
||||
6,6,6,6,6,6,6,6,6,8,8,6,7,6,8,8,8,8,8,20,21,21,22,22,22,21,8,8,8,7,7,7,7,8,6,6,
|
||||
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5,22,22,22,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,6,8,
|
||||
8,6,7,6,7,8,8,8,7,20,23,23,22,23,22,21,8,8,8,7,7,7,7,8,6,5,23,24,25,24,24,23,24,
|
||||
24,25,25,24,25,24,24,24,23,24,22,23,24,24,24,23,24,23,23,23,23,24,23,24,24,23,
|
||||
22,22,6,6,8,8,6,7,6,7,8,8,8,24,20,24,24,24,24,23,22,8,8,8,7,7,6,7,8,6,21,23,25,
|
||||
26,25,25,24,24,26,26,26,26,26,25,25,25,24,25,23,25,26,26,26,25,24,24,25,26,26,
|
||||
25,25,25,25,26,24,22,6,6,8,8,6,7,6,7,8,8,8,24,20,22,22,21,21,21,22,8,8,8,7,7,6,
|
||||
7,8,7,21,24,25,26,26,25,24,24,26,26,26,26,26,25,26,26,24,26,24,25,26,26,26,26,
|
||||
25,25,26,26,26,26,26,26,26,26,25,22,6,6,8,8,6,7,6,7,8,8,8,24,20,24,25,23,25,25,
|
||||
20,8,8,8,7,7,6,7,8,6,22,24,26,26,26,25,24,26,26,26,26,26,26,25,26,26,25,26,24,
|
||||
26,26,26,26,26,26,25,26,26,26,26,25,26,26,26,25,22,6,6,8,8,6,7,6,7,8,8,8,24,20,
|
||||
24,25,23,26,24,20,8,8,8,7,7,6,7,8,6,22,24,26,26,26,25,24,26,26,26,26,26,26,25,
|
||||
26,26,26,26,25,26,26,26,26,26,24,25,26,26,26,26,25,26,26,26,25,22,6,6,7,8,6,7,6,
|
||||
7,8,8,8,24,20,25,26,23,26,24,20,8,8,8,7,7,6,7,7,6,22,24,25,26,26,25,23,25,25,26,
|
||||
26,25,26,25,25,25,26,25,24,25,26,26,26,25,25,24,25,26,26,26,24,26,25,25,24,22,6,
|
||||
6,7,8,6,7,6,7,8,8,9,24,20,24,26,23,26,24,21,8,8,8,7,7,6,7,8,6,6,23,24,24,24,24,
|
||||
23,24,24,24,24,24,25,24,24,23,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,25,
|
||||
24,23,22,22,6,6,7,7,6,6,6,7,8,8,8,24,20,24,26,23,26,24,21,8,8,8,7,7,6,7,8,6,6,6,
|
||||
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,8,6,6,
|
||||
6,7,8,8,8,24,20,25,26,23,26,25,21,8,8,8,7,7,6,7,8,6,7,7,7,6,6,7,7,7,7,7,7,7,6,6,
|
||||
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,8,6,6,6,8,8,8,8,7,20,25,26,24,
|
||||
26,25,21,8,8,8,7,7,6,7,8,7,7,6,7,6,7,6,6,6,6,6,6,7,6,7,7,7,7,6,6,7,7,7,7,6,6,7,
|
||||
6,6,6,6,6,6,6,6,6,6,7,7,8,7,6,7,6,8,8,8,8,7,20,25,26,24,26,25,22,8,8,8,7,7,6,6,
|
||||
8,8,8,8,8,9,8,8,8,8,8,8,7,8,8,8,8,8,8,8,9,8,8,8,8,8,8,7,9,8,8,8,8,8,9,9,5,8,8,8,
|
||||
8,7,6,6,6,7,8,8,8,8,21,25,26,23,26,24,23,8,8,8,8,8,6,6,6,6,6,7,7,6,7,7,7,6,6,6,
|
||||
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,8,7,8,8,8,21,
|
||||
25,25,22,25,24,23,8,8,8,8,8,7,7,7,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,6,7,
|
||||
7,7,7,7,7,7,7,7,6,7,7,7,6,7,6,7,7,7,7,7,7,8,7,8,8,8,21,23,23,22,24,23,21,8,8,8,
|
||||
8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,7,7,6,7,7,7,7,
|
||||
8,8,7,8,8,8,9,8,8,8,8,8,8,8,20,24,24,24,24,24,21,24,24,24,24,25,8,8,8,8,8,8,8,8,
|
||||
8,8,8,7,8,8,8,8,7,8,8,8,8,8,8,8,8,8,8,8,8,7,6,6,6,6,6,6,6,6,6,6,7,7,8,8,8,8,8,8,
|
||||
7,8,8,7,20,22,22,21,22,22,20,21,21,21,22,23,23,23,23,23,23,22,21,21,22,24,23,21,
|
||||
22,21,21,21,21,21,21,6,8,8,8,8,8,8,7,6,6,6,6,6,7,8,8,8,7,7,6,6,6,6,7,8,7,8,8,8,
|
||||
8,8,8,23,20,24,24,24,25,25,21,23,23,24,24,25,23,24,24,22,24,24,24,24,21,24,22,
|
||||
22,24,24,24,24,24,24,24,21,8,8,8,8,7,6,6,6,6,7,7,8,8,8,8,8,8,8,8,7,7,6,6,7,8,8,
|
||||
8,8,8,8,8,22,20,22,22,21,23,22,21,23,24,24,25,26,25,25,25,22,25,26,25,24,20,24,
|
||||
22,24,24,23,24,25,24,24,24,22,8,8,8,7,6,6,6,7,8,8,8,8,7,6,7,7,7,8,8,8,8,7,6,6,7,
|
||||
8,8,8,8,8,8,23,20,25,25,23,25,25,21,23,26,25,25,25,25,25,25,23,25,25,25,24,20,
|
||||
24,22,22,24,24,24,25,24,24,23,22,8,8,8,8,6,6,7,8,8,7,7,6,6,6,6,6,7,6,6,7,8,8,7,
|
||||
6,6,7,8,8,8,8,8,6,20,25,26,23,26,25,21,23,26,26,25,25,26,25,25,24,25,26,25,24,
|
||||
20,24,22,23,25,25,25,26,25,24,24,22,8,8,7,7,5,7,8,8,7,6,6,6,6,7,7,7,7,6,6,6,7,8,
|
||||
8,7,6,6,7,8,8,8,8,6,20,25,26,23,26,25,21,24,26,26,26,25,26,25,25,24,25,26,26,24,
|
||||
20,24,23,22,25,26,25,26,25,26,25,22,8,8,8,6,6,7,8,6,6,6,6,6,22,23,23,23,6,6,7,7,
|
||||
5,7,8,7,7,6,6,8,8,8,7,22,21,25,26,23,26,25,21,24,26,26,26,26,26,25,25,25,25,26,
|
||||
25,24,21,24,23,23,26,26,25,26,26,26,25,22,8,7,7,5,7,8,7,6,6,6,21,24,25,25,25,25,
|
||||
25,24,21,7,6,6,7,8,7,6,6,7,8,7,24,22,21,25,25,23,26,25,21,24,26,26,25,26,26,26,
|
||||
26,25,25,26,25,24,21,24,23,23,25,26,25,26,26,26,24,21,8,7,6,6,7,7,6,6,6,6,23,25,
|
||||
25,26,26,25,25,25,25,22,7,6,6,7,8,7,6,6,8,23,23,22,21,24,24,24,26,25,21,24,26,
|
||||
26,25,26,26,26,26,25,26,26,26,24,21,24,22,23,26,26,26,25,26,26,24,22,7,7,6,7,8,
|
||||
7,6,7,6,24,24,25,26,26,26,26,25,25,26,23,7,7,6,7,8,7,7,6,6,23,23,24,22,23,22,22,
|
||||
26,25,21,24,26,26,25,26,26,26,26,25,25,26,26,24,22,24,22,23,26,26,26,25,26,25,
|
||||
24,23,7,6,6,7,7,6,6,6,22,24,23,25,26,26,26,26,26,25,25,24,22,7,6,6,7,7,7,6,6,7,
|
||||
23,24,24,23,22,22,26,25,21,24,26,26,25,26,26,26,26,24,25,26,25,24,23,24,22,23,
|
||||
25,25,25,25,26,25,24,23,7,5,7,8,7,6,7,6,23,25,25,25,26,26,26,26,26,25,25,25,22,
|
||||
7,7,6,6,7,7,6,6,8,8,8,24,23,23,22,25,26,21,23,26,26,26,26,26,26,26,24,25,26,25,
|
||||
24,21,24,23,23,26,26,26,26,26,25,24,23,7,5,6,7,7,5,7,22,24,25,25,26,26,26,26,26,
|
||||
26,26,26,25,23,6,7,6,6,7,7,6,6,8,9,8,24,24,23,22,26,25,21,24,25,25,25,26,26,26,
|
||||
26,23,26,26,25,24,22,24,23,23,25,26,25,25,26,25,24,23,7,5,6,7,6,6,7,22,25,26,25,
|
||||
25,26,26,26,26,26,25,25,26,24,22,7,6,6,7,7,6,6,8,8,8,23,23,23,22,25,26,21,24,26,
|
||||
26,26,26,26,26,26,23,26,26,25,25,22,23,23,23,25,26,26,25,26,25,24,22,7,6,6,8,7,
|
||||
5,6,22,25,26,25,26,26,26,26,26,26,25,25,26,25,22,7,6,7,7,7,6,6,8,8,7,22,22,22,
|
||||
23,26,25,21,24,25,25,25,26,26,26,26,23,25,26,25,24,22,23,23,22,26,26,26,26,26,
|
||||
26,24,22,8,6,6,8,7,6,6,22,25,26,24,26,26,26,26,26,26,25,25,26,25,22,7,5,7,8,8,6,
|
||||
6,8,8,7,20,24,24,23,26,26,20,23,24,25,25,25,26,26,26,23,25,25,24,24,22,24,24,22,
|
||||
26,26,25,26,26,25,23,21,8,6,5,7,8,6,5,22,25,26,25,24,26,25,26,25,26,25,25,24,24,
|
||||
22,7,5,6,7,7,6,6,8,8,7,21,25,25,23,26,25,20,24,25,26,26,25,26,26,26,23,23,23,23,
|
||||
22,21,23,24,22,26,26,26,26,26,26,23,23,8,6,6,7,6,5,6,22,23,23,24,22,24,24,23,23,
|
||||
23,23,23,23,23,22,7,6,6,8,8,6,6,8,8,23,20,25,26,23,26,25,20,24,26,26,25,25,26,
|
||||
26,26,23,25,24,25,24,20,24,23,22,25,26,25,25,26,26,24,23,8,7,5,7,8,5,5,5,6,5,5,
|
||||
5,5,6,6,6,6,6,6,6,6,6,6,6,6,8,7,6,6,8,8,23,20,25,26,23,26,25,21,24,26,26,25,25,
|
||||
26,26,26,23,25,26,25,24,20,24,23,22,25,26,25,25,26,25,24,22,8,7,5,7,8,6,6,6,6,6,
|
||||
6,6,6,6,6,6,6,6,6,6,6,5,6,6,7,8,7,5,6,8,7,23,21,25,26,23,26,25,21,24,25,26,25,
|
||||
25,26,26,26,23,25,26,26,24,20,24,23,22,24,25,25,25,25,25,24,22,8,7,6,7,8,8,8,7,
|
||||
7,8,8,8,8,8,7,7,7,7,7,7,7,7,7,7,8,8,7,5,7,8,23,23,20,25,25,23,25,24,20,24,25,25,
|
||||
25,25,25,25,25,22,25,26,25,24,20,24,22,22,22,22,22,23,22,22,22,22,8,7,6,7,7,7,7,
|
||||
8,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,7,7,7,5,7,8,23,23,20,23,23,21,24,23,20,24,25,
|
||||
25,25,25,25,25,25,23,24,25,25,24,20,24,22,23,24,24,25,25,24,24,23,21,8,8,6,6,6,
|
||||
6,6,6,6,6,6,6,6,6,5,5,6,6,6,6,6,6,6,6,6,5,5,6,7,8,23,23,20,25,24,25,25,25,20,23,
|
||||
23,23,24,24,24,23,23,22,23,24,24,24,20,25,22,22,24,24,24,23,23,23,22,21,8,8,7,7,
|
||||
7,7,7,7,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,6,7,6,7,8,8,8,23,21,21,20,20,20,21,20,
|
||||
20,21,21,21,21,20,21,21,21,21,21,21,20,20,24,7,22,23,22,22,23,22,21,22,6,8,8,8,
|
||||
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,8,8,8,8,8,7,7,7,7,7,7,7,7,7,7,7,
|
||||
7,7,8,8,8,8,8,8,8,8,9,9,9,8,8,9,9,8,8,9,8,8,8,8,8,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
|
||||
7,7,7,7,7,7,7,7,8,8
|
||||
}; // chestTexture
|
||||
|
||||
#endif // guard
|
295
programs/pokitto/earthModel.h
Normal file
295
programs/pokitto/earthModel.h
Normal file
|
@ -0,0 +1,295 @@
|
|||
#ifndef EARTH_MODEL_H
|
||||
#define EARTH_MODEL_H
|
||||
|
||||
#define EARTH_VERTEX_COUNT 42
|
||||
const S3L_Unit earthVertices[EARTH_VERTEX_COUNT * 3] = {
|
||||
0, -1984, 0, // 0
|
||||
0, -1718, 992, // 3
|
||||
701, -1718, 701, // 6
|
||||
0, 0, 1984, // 9
|
||||
1215, -992, 1215, // 12
|
||||
0, -992, 1718, // 15
|
||||
0, 1718, 992, // 18
|
||||
1215, 992, 1215, // 21
|
||||
0, 992, 1718, // 24
|
||||
1403, 0, 1403, // 27
|
||||
0, 1984, 0, // 30
|
||||
701, 1718, 701, // 33
|
||||
1718, 992, 0, // 36
|
||||
992, -1718, 0, // 39
|
||||
1984, 0, 0, // 42
|
||||
992, 1718, 0, // 45
|
||||
1718, -992, 0, // 48
|
||||
701, -1718, -701, // 51
|
||||
1215, 992, -1215, // 54
|
||||
1403, 0, -1403, // 57
|
||||
701, 1718, -701, // 60
|
||||
1215, -992, -1215, // 63
|
||||
0, -1718, -992, // 66
|
||||
0, 0, -1984, // 69
|
||||
0, 1718, -992, // 72
|
||||
0, -992, -1718, // 75
|
||||
0, 992, -1718, // 78
|
||||
-701, -1718, -701, // 81
|
||||
-1215, 992, -1215, // 84
|
||||
-1403, 0, -1403, // 87
|
||||
-701, 1718, -701, // 90
|
||||
-1215, -992, -1215, // 93
|
||||
-992, -1718, 0, // 96
|
||||
-1984, 0, 0, // 99
|
||||
-992, 1718, 0, // 102
|
||||
-1718, -992, 0, // 105
|
||||
-1718, 992, 0, // 108
|
||||
-1403, 0, 1403, // 111
|
||||
-701, 1718, 701, // 114
|
||||
-701, -1718, 701, // 117
|
||||
-1215, -992, 1215, // 120
|
||||
-1215, 992, 1215 // 123
|
||||
}; // earthVertices
|
||||
|
||||
#define EARTH_TRIANGLE_COUNT 80
|
||||
const S3L_Index earthTriangleIndices[EARTH_TRIANGLE_COUNT * 3] = {
|
||||
0, 1, 2, // 0
|
||||
3, 4, 5, // 3
|
||||
6, 7, 8, // 6
|
||||
1, 4, 2, // 9
|
||||
8, 9, 3, // 12
|
||||
6, 10, 11, // 15
|
||||
11, 12, 7, // 18
|
||||
4, 13, 2, // 21
|
||||
7, 14, 9, // 24
|
||||
11, 10, 15, // 27
|
||||
0, 2, 13, // 30
|
||||
9, 16, 4, // 33
|
||||
16, 17, 13, // 36
|
||||
14, 18, 19, // 39
|
||||
15, 10, 20, // 42
|
||||
0, 13, 17, // 45
|
||||
14, 21, 16, // 48
|
||||
15, 18, 12, // 51
|
||||
21, 22, 17, // 54
|
||||
18, 23, 19, // 57
|
||||
20, 10, 24, // 60
|
||||
0, 17, 22, // 63
|
||||
19, 25, 21, // 66
|
||||
20, 26, 18, // 69
|
||||
25, 27, 22, // 72
|
||||
23, 28, 29, // 75
|
||||
24, 10, 30, // 78
|
||||
0, 22, 27, // 81
|
||||
25, 29, 31, // 84
|
||||
24, 28, 26, // 87
|
||||
31, 32, 27, // 90
|
||||
28, 33, 29, // 93
|
||||
30, 10, 34, // 96
|
||||
0, 27, 32, // 99
|
||||
29, 35, 31, // 102
|
||||
30, 36, 28, // 105
|
||||
36, 37, 33, // 108
|
||||
34, 10, 38, // 111
|
||||
0, 32, 39, // 114
|
||||
33, 40, 35, // 117
|
||||
34, 41, 36, // 120
|
||||
35, 39, 32, // 123
|
||||
38, 10, 6, // 126
|
||||
0, 39, 1, // 129
|
||||
37, 5, 40, // 132
|
||||
38, 8, 41, // 135
|
||||
39, 5, 1, // 138
|
||||
41, 3, 37, // 141
|
||||
3, 9, 4, // 144
|
||||
6, 11, 7, // 147
|
||||
1, 5, 4, // 150
|
||||
8, 7, 9, // 153
|
||||
11, 15, 12, // 156
|
||||
4, 16, 13, // 159
|
||||
7, 12, 14, // 162
|
||||
9, 14, 16, // 165
|
||||
16, 21, 17, // 168
|
||||
14, 12, 18, // 171
|
||||
14, 19, 21, // 174
|
||||
15, 20, 18, // 177
|
||||
21, 25, 22, // 180
|
||||
18, 26, 23, // 183
|
||||
19, 23, 25, // 186
|
||||
20, 24, 26, // 189
|
||||
25, 31, 27, // 192
|
||||
23, 26, 28, // 195
|
||||
25, 23, 29, // 198
|
||||
24, 30, 28, // 201
|
||||
31, 35, 32, // 204
|
||||
28, 36, 33, // 207
|
||||
29, 33, 35, // 210
|
||||
30, 34, 36, // 213
|
||||
36, 41, 37, // 216
|
||||
33, 37, 40, // 219
|
||||
34, 38, 41, // 222
|
||||
35, 40, 39, // 225
|
||||
37, 3, 5, // 228
|
||||
38, 6, 8, // 231
|
||||
39, 40, 5, // 234
|
||||
41, 8, 3 // 237
|
||||
}; // earthTriangleIndices
|
||||
|
||||
#define EARTH_UV_COUNT 61
|
||||
const S3L_Unit earthUVs[EARTH_UV_COUNT * 2] = {
|
||||
352, 501, // 0
|
||||
384, 426, // 2
|
||||
320, 426, // 4
|
||||
384, 256, // 6
|
||||
320, 341, // 8
|
||||
384, 341, // 10
|
||||
384, 85, // 12
|
||||
320, 170, // 14
|
||||
384, 170, // 16
|
||||
320, 256, // 18
|
||||
352, 10, // 20
|
||||
320, 85, // 22
|
||||
256, 170, // 24
|
||||
256, 426, // 26
|
||||
256, 256, // 28
|
||||
288, 10, // 30
|
||||
256, 85, // 32
|
||||
288, 501, // 34
|
||||
256, 341, // 36
|
||||
192, 426, // 38
|
||||
192, 170, // 40
|
||||
192, 256, // 42
|
||||
224, 10, // 44
|
||||
192, 85, // 46
|
||||
224, 501, // 48
|
||||
192, 341, // 50
|
||||
128, 426, // 52
|
||||
128, 256, // 54
|
||||
160, 10, // 56
|
||||
128, 85, // 58
|
||||
160, 501, // 60
|
||||
128, 341, // 62
|
||||
128, 170, // 64
|
||||
64, 426, // 66
|
||||
64, 170, // 68
|
||||
64, 256, // 70
|
||||
96, 10, // 72
|
||||
64, 85, // 74
|
||||
96, 501, // 76
|
||||
64, 341, // 78
|
||||
0, 426, // 80
|
||||
0, 256, // 82
|
||||
32, 10, // 84
|
||||
0, 85, // 86
|
||||
32, 501, // 88
|
||||
0, 341, // 90
|
||||
0, 170, // 92
|
||||
512, 170, // 94
|
||||
448, 256, // 96
|
||||
512, 256, // 98
|
||||
512, 85, // 100
|
||||
480, 10, // 102
|
||||
448, 85, // 104
|
||||
480, 501, // 106
|
||||
512, 426, // 108
|
||||
448, 426, // 110
|
||||
448, 341, // 112
|
||||
512, 341, // 114
|
||||
448, 170, // 116
|
||||
416, 10, // 118
|
||||
416, 501 // 120
|
||||
}; // earthUVs
|
||||
|
||||
#define EARTH_UV_INDEX_COUNT 80
|
||||
const S3L_Index earthUVIndices[EARTH_UV_INDEX_COUNT * 3] = {
|
||||
0, 1, 2, // 0
|
||||
3, 4, 5, // 3
|
||||
6, 7, 8, // 6
|
||||
1, 4, 2, // 9
|
||||
8, 9, 3, // 12
|
||||
6, 10, 11, // 15
|
||||
11, 12, 7, // 18
|
||||
4, 13, 2, // 21
|
||||
7, 14, 9, // 24
|
||||
11, 15, 16, // 27
|
||||
17, 2, 13, // 30
|
||||
9, 18, 4, // 33
|
||||
18, 19, 13, // 36
|
||||
14, 20, 21, // 39
|
||||
16, 22, 23, // 42
|
||||
24, 13, 19, // 45
|
||||
14, 25, 18, // 48
|
||||
16, 20, 12, // 51
|
||||
25, 26, 19, // 54
|
||||
20, 27, 21, // 57
|
||||
23, 28, 29, // 60
|
||||
30, 19, 26, // 63
|
||||
21, 31, 25, // 66
|
||||
23, 32, 20, // 69
|
||||
31, 33, 26, // 72
|
||||
27, 34, 35, // 75
|
||||
29, 36, 37, // 78
|
||||
38, 26, 33, // 81
|
||||
31, 35, 39, // 84
|
||||
29, 34, 32, // 87
|
||||
39, 40, 33, // 90
|
||||
34, 41, 35, // 93
|
||||
37, 42, 43, // 96
|
||||
44, 33, 40, // 99
|
||||
35, 45, 39, // 102
|
||||
37, 46, 34, // 105
|
||||
47, 48, 49, // 108
|
||||
50, 51, 52, // 111
|
||||
53, 54, 55, // 114
|
||||
49, 56, 57, // 117
|
||||
50, 58, 47, // 120
|
||||
57, 55, 54, // 123
|
||||
52, 59, 6, // 126
|
||||
60, 55, 1, // 129
|
||||
48, 5, 56, // 132
|
||||
52, 8, 58, // 135
|
||||
55, 5, 1, // 138
|
||||
58, 3, 48, // 141
|
||||
3, 9, 4, // 144
|
||||
6, 11, 7, // 147
|
||||
1, 5, 4, // 150
|
||||
8, 7, 9, // 153
|
||||
11, 16, 12, // 156
|
||||
4, 18, 13, // 159
|
||||
7, 12, 14, // 162
|
||||
9, 14, 18, // 165
|
||||
18, 25, 19, // 168
|
||||
14, 12, 20, // 171
|
||||
14, 21, 25, // 174
|
||||
16, 23, 20, // 177
|
||||
25, 31, 26, // 180
|
||||
20, 32, 27, // 183
|
||||
21, 27, 31, // 186
|
||||
23, 29, 32, // 189
|
||||
31, 39, 33, // 192
|
||||
27, 32, 34, // 195
|
||||
31, 27, 35, // 198
|
||||
29, 37, 34, // 201
|
||||
39, 45, 40, // 204
|
||||
34, 46, 41, // 207
|
||||
35, 41, 45, // 210
|
||||
37, 43, 46, // 213
|
||||
47, 58, 48, // 216
|
||||
49, 48, 56, // 219
|
||||
50, 52, 58, // 222
|
||||
57, 56, 55, // 225
|
||||
48, 3, 5, // 228
|
||||
52, 6, 8, // 231
|
||||
55, 56, 5, // 234
|
||||
58, 8, 3 // 237
|
||||
}; // earthUVIndices
|
||||
|
||||
S3L_Model3D earthModel;
|
||||
|
||||
void earthModelInit()
|
||||
{
|
||||
S3L_initModel3D(
|
||||
earthVertices,
|
||||
EARTH_VERTEX_COUNT,
|
||||
earthTriangleIndices,
|
||||
EARTH_TRIANGLE_COUNT,
|
||||
&earthModel);
|
||||
}
|
||||
|
||||
#endif // guard
|
166
programs/pokitto/earthTexture.h
Normal file
166
programs/pokitto/earthTexture.h
Normal file
|
@ -0,0 +1,166 @@
|
|||
#ifndef EARTH_TEXTURE_H
|
||||
#define EARTH_TEXTURE_H
|
||||
|
||||
#define EARTH_TEXTURE_WIDTH 64
|
||||
#define EARTH_TEXTURE_HEIGHT 64
|
||||
|
||||
const uint8_t earthTexture[4096] = {
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,13,12,13,14,13,14,
|
||||
12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,12,12,12,12,12,12,12,13,12,12,12,12,13,12,
|
||||
14,13,14,14,14,14,14,14,14,14,14,13,13,13,13,13,13,13,14,13,13,11,11,11,12,11,
|
||||
11,11,12,12,13,12,13,13,13,13,13,13,12,12,12,12,12,12,12,13,13,12,11,12,12,11,
|
||||
11,11,11,12,13,12,12,12,12,12,13,12,12,13,13,13,14,14,14,14,14,14,13,12,13,13,
|
||||
12,12,14,11,10,13,10,11,13,14,12,11,11,9,67,83,68,67,83,194,194,7,194,83,194,
|
||||
195,67,84,8,9,9,6,67,68,9,10,11,12,12,13,12,12,12,12,13,12,13,12,13,12,13,13,13,
|
||||
13,13,14,13,14,13,13,13,13,8,12,8,9,13,10,7,13,14,14,14,14,13,13,13,195,195,66,
|
||||
66,66,67,6,195,67,67,66,195,195,84,67,195,84,67,66,67,84,7,66,68,10,11,9,8,8,10,
|
||||
11,13,12,12,13,13,14,13,12,13,13,13,12,11,12,12,7,10,11,9,10,8,10,67,196,85,66,
|
||||
13,13,14,14,14,14,12,84,66,67,67,66,67,84,66,66,66,66,66,67,67,9,195,66,67,67,
|
||||
84,6,5,7,5,84,195,84,67,9,194,5,11,12,12,12,13,14,13,11,12,11,11,11,10,84,23,26,
|
||||
12,10,11,11,5,6,12,84,84,84,7,14,14,14,14,14,7,84,67,67,67,84,84,67,84,67,67,67,
|
||||
84,195,6,67,84,84,67,6,21,21,5,68,22,5,5,67,67,84,67,195,195,194,7,12,14,12,85,
|
||||
84,20,4,67,84,84,196,67,196,4,24,12,24,12,23,4,10,10,10,67,6,14,14,14,10,69,84,
|
||||
84,84,67,67,84,67,68,5,67,67,67,67,84,195,6,195,21,21,22,38,5,6,4,37,6,39,22,21,
|
||||
6,37,21,84,84,84,23,13,84,7,24,9,24,23,20,22,22,24,6,21,22,8,25,24,10,10,11,11,
|
||||
67,7,14,14,12,67,84,84,67,67,67,67,67,12,22,6,7,23,4,6,37,38,22,84,4,21,22,24,5,
|
||||
4,5,37,5,9,21,21,4,22,23,39,8,40,67,68,67,4,21,21,22,23,25,24,22,21,24,23,25,21,
|
||||
25,24,67,21,28,9,67,6,14,67,84,84,85,13,67,84,67,67,68,24,67,6,21,68,21,39,21,
|
||||
21,21,36,36,21,23,23,39,6,22,21,37,25,8,8,25,22,24,10,23,5,67,67,196,37,22,7,8,
|
||||
9,23,24,22,22,6,24,25,6,67,67,196,27,67,67,67,67,14,67,67,67,67,67,67,67,67,8,7,
|
||||
22,37,5,22,37,37,20,21,20,36,36,20,21,21,23,6,21,22,20,38,37,37,10,10,9,5,67,25,
|
||||
68,67,67,67,196,21,69,67,196,12,24,22,23,24,22,24,22,67,67,84,23,67,67,67,67,67,
|
||||
67,67,67,67,67,67,68,67,68,5,4,67,5,22,37,21,37,37,20,37,36,36,20,20,38,20,22,
|
||||
21,23,40,39,22,39,68,6,67,68,85,67,67,67,67,67,85,84,67,67,69,7,9,25,24,24,24,
|
||||
23,23,85,68,25,24,6,67,67,67,67,67,67,67,67,67,4,67,67,85,67,22,22,23,37,20,37,
|
||||
37,37,21,21,36,36,37,37,21,24,23,27,10,10,9,67,67,67,23,5,67,67,67,67,68,67,67,
|
||||
67,67,67,67,5,25,9,41,25,23,39,23,22,22,24,25,26,23,67,67,67,67,67,67,67,68,85,
|
||||
68,68,37,22,22,24,23,37,21,21,22,23,22,21,36,21,26,8,37,25,25,25,37,39,25,6,67,
|
||||
67,24,67,67,67,67,67,67,67,67,67,67,67,67,67,11,8,26,25,24,39,24,22,23,25,24,22,
|
||||
9,85,67,67,67,67,67,67,67,85,68,22,24,24,24,25,37,37,22,37,37,23,39,24,21,26,10,
|
||||
27,9,6,9,24,23,23,26,68,68,67,196,67,67,67,67,67,67,67,67,67,67,67,67,67,24,24,
|
||||
9,24,26,24,68,40,39,23,38,68,8,85,85,67,67,67,67,67,67,85,23,24,25,22,24,37,36,
|
||||
22,22,85,22,24,24,25,23,6,29,29,26,7,25,24,21,23,23,85,67,67,67,67,67,67,67,67,
|
||||
67,67,67,67,67,67,67,68,39,8,11,8,25,24,40,23,41,22,37,85,68,85,67,67,67,68,67,
|
||||
67,67,67,24,25,24,24,26,23,4,21,24,68,25,24,24,24,25,23,25,28,28,28,27,27,24,24,
|
||||
41,196,85,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,23,9,10,11,27,25,39,24,
|
||||
40,41,85,85,67,85,67,67,67,68,67,67,68,26,24,85,68,85,26,85,196,196,27,68,25,25,
|
||||
23,9,11,27,23,28,25,28,28,27,23,27,85,85,67,67,67,67,67,67,67,67,67,67,67,67,67,
|
||||
67,67,67,5,10,11,11,28,24,38,23,38,68,85,67,67,67,67,67,68,85,68,67,67,25,196,
|
||||
85,85,9,25,24,28,29,28,68,23,25,26,11,26,27,27,12,28,27,27,23,86,85,68,21,67,67,
|
||||
67,67,67,68,68,68,67,67,67,67,68,67,68,68,68,10,10,10,27,38,21,39,38,68,68,68,
|
||||
68,67,68,85,68,85,68,68,68,24,85,8,68,68,69,69,27,27,28,9,26,23,29,12,12,11,12,
|
||||
28,27,29,26,24,68,6,85,6,67,67,68,68,68,67,85,68,68,68,68,68,68,68,68,68,85,69,
|
||||
25,27,28,23,38,40,69,68,68,68,68,68,68,68,68,68,68,196,85,25,29,27,68,68,68,68,
|
||||
85,28,25,29,26,26,12,22,10,11,10,11,29,25,26,25,68,86,68,68,68,68,68,68,68,68,
|
||||
68,85,68,68,68,68,68,85,85,85,68,68,25,27,26,23,37,40,68,68,85,85,68,68,68,68,
|
||||
68,68,68,85,68,26,12,11,28,26,26,25,26,27,26,27,28,26,28,38,11,11,11,10,11,24,
|
||||
25,23,68,68,68,68,68,68,85,68,68,85,68,68,68,85,85,85,68,68,68,68,68,68,198,10,
|
||||
24,86,69,86,68,68,85,85,85,85,68,68,68,85,85,72,6,29,27,28,28,28,26,27,7,29,27,
|
||||
69,28,26,26,27,25,10,12,26,13,27,25,25,86,70,68,68,68,68,85,68,68,85,68,68,68,
|
||||
68,68,68,68,68,68,68,68,68,87,24,10,68,68,86,69,68,68,85,68,68,68,68,68,68,68,
|
||||
68,27,27,28,28,28,27,28,27,25,25,28,69,7,8,26,25,24,25,26,22,29,25,25,25,86,85,
|
||||
68,68,68,68,85,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,87,11,68,69,69,
|
||||
69,68,68,68,68,68,68,68,68,68,68,68,28,27,29,28,29,12,28,28,25,24,28,26,10,68,
|
||||
69,23,23,25,24,26,27,25,27,69,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,
|
||||
68,68,68,68,68,68,68,68,26,69,24,68,69,71,68,68,68,68,68,68,68,68,68,197,12,11,
|
||||
28,28,12,12,12,28,27,68,29,27,27,68,68,23,23,24,69,24,27,198,69,68,68,68,68,68,
|
||||
68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,8,23,69,69,68,68,
|
||||
69,68,68,68,68,68,68,69,87,26,29,28,28,12,27,29,28,26,198,28,29,68,68,69,70,27,
|
||||
69,86,23,24,26,69,68,68,68,68,68,69,68,68,68,68,68,68,68,68,68,68,68,68,68,68,
|
||||
68,68,68,68,69,69,69,43,39,86,69,68,69,68,68,86,68,68,68,68,7,24,27,27,28,29,28,
|
||||
29,28,25,28,28,69,86,68,68,69,25,86,86,69,23,26,69,68,69,68,68,68,68,68,68,68,
|
||||
68,68,68,68,68,68,68,68,68,68,68,68,68,68,69,86,69,69,69,38,69,70,87,69,68,68,
|
||||
69,68,68,68,68,69,25,26,26,26,27,26,27,27,26,28,69,11,69,69,68,69,24,69,86,69,
|
||||
87,25,68,69,69,68,68,86,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,69,69,
|
||||
69,86,86,69,69,69,69,27,22,9,69,68,68,86,68,68,68,86,41,25,23,25,24,24,26,25,23,
|
||||
28,28,198,69,69,68,69,198,69,69,69,69,69,69,198,9,68,69,86,69,69,68,69,69,68,68,
|
||||
68,68,68,69,68,68,69,68,69,69,69,69,69,69,86,69,69,69,11,25,29,8,69,86,69,69,69,
|
||||
86,68,69,26,70,25,24,24,25,25,24,27,27,68,69,69,69,69,69,86,69,71,28,69,69,8,86,
|
||||
68,68,69,86,69,69,69,68,68,68,68,68,68,69,68,69,69,69,69,69,69,86,69,69,69,69,
|
||||
69,69,23,23,22,26,69,69,69,69,69,69,69,68,69,68,69,24,24,24,26,27,26,23,68,68,
|
||||
69,86,69,69,69,69,69,70,69,23,198,198,69,69,86,68,69,69,69,69,69,68,68,68,68,69,
|
||||
69,69,68,69,69,69,86,86,86,69,69,69,69,12,24,22,21,26,69,87,86,69,86,86,86,69,
|
||||
68,68,69,39,24,23,26,87,24,86,68,68,69,69,69,69,69,86,69,22,87,24,69,198,69,69,
|
||||
69,69,69,69,69,69,68,68,68,68,68,68,68,68,69,69,68,68,69,69,69,86,86,86,69,12,
|
||||
21,23,21,22,21,25,69,69,68,68,68,86,68,68,69,24,23,26,43,27,24,69,68,68,68,69,
|
||||
69,68,69,69,69,7,69,24,69,68,69,87,8,69,69,69,69,86,68,68,68,68,68,68,68,68,68,
|
||||
68,68,68,68,68,86,69,69,69,68,27,20,22,22,37,22,21,27,68,68,68,68,86,68,68,68,
|
||||
69,24,25,26,26,86,68,68,69,69,69,69,68,68,68,68,68,69,69,69,69,68,69,25,71,7,69,
|
||||
69,69,68,68,68,68,69,68,68,68,69,68,68,68,68,68,69,68,68,68,68,9,37,21,23,40,39,
|
||||
24,26,68,68,68,68,69,68,68,68,69,25,26,25,26,69,68,68,86,69,69,68,68,68,68,68,
|
||||
68,86,70,7,70,69,69,6,5,86,7,69,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,
|
||||
68,68,68,68,68,25,21,21,38,22,25,27,68,68,68,68,68,68,68,68,68,25,25,25,26,26,
|
||||
68,68,68,69,68,68,68,68,68,68,68,68,68,68,86,69,69,87,69,86,86,68,68,69,69,68,
|
||||
68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,11,37,20,24,22,25,24,68,68,
|
||||
68,68,68,68,68,68,68,25,25,25,26,25,68,68,68,68,68,68,68,68,68,68,68,68,68,68,
|
||||
86,69,22,86,68,68,68,68,68,68,70,68,68,68,68,69,68,68,68,68,68,68,68,68,68,68,
|
||||
68,68,68,86,27,23,21,26,26,23,68,68,68,68,68,68,68,68,197,26,26,7,24,6,24,68,68,
|
||||
68,68,68,68,68,68,68,68,68,68,68,69,25,23,198,86,86,68,68,86,68,68,69,85,68,68,
|
||||
68,68,68,68,68,68,68,68,68,68,68,68,68,68,85,12,22,22,25,25,86,68,68,85,68,68,
|
||||
68,85,68,68,25,26,26,23,68,24,68,68,68,68,68,68,68,68,68,85,85,68,68,28,28,26,
|
||||
24,26,86,68,68,68,68,68,67,68,68,85,68,85,68,68,68,68,68,68,68,68,85,68,68,85,
|
||||
68,12,20,23,25,7,68,68,68,85,68,68,85,68,68,68,26,26,26,23,68,26,85,68,68,68,68,
|
||||
85,85,85,85,85,68,68,25,27,27,26,26,25,87,68,68,68,85,68,85,68,68,68,68,68,85,
|
||||
85,85,68,68,68,68,68,68,68,68,68,85,11,23,23,26,68,85,68,68,68,85,85,68,68,68,
|
||||
68,26,28,25,68,85,25,68,68,68,85,68,85,68,68,68,85,68,68,27,27,27,26,25,25,25,
|
||||
85,68,68,68,68,68,68,67,68,68,68,85,85,68,85,85,68,85,85,85,85,68,68,68,27,22,
|
||||
24,25,85,68,85,68,68,68,85,68,68,68,68,27,28,26,68,68,68,68,68,68,68,85,68,68,
|
||||
85,85,68,67,85,27,27,26,25,26,23,25,68,68,85,85,68,67,67,67,67,67,67,68,68,68,
|
||||
68,68,85,68,68,85,68,68,68,68,25,22,24,5,68,68,68,68,68,68,85,68,68,67,68,196,
|
||||
26,8,85,67,85,68,68,68,68,68,85,68,85,85,68,67,67,26,25,26,24,25,23,26,68,68,68,
|
||||
68,68,67,67,67,67,67,67,67,67,68,68,68,85,68,68,67,68,68,68,67,24,23,25,68,68,
|
||||
67,67,67,67,68,68,67,67,67,67,85,24,85,68,67,68,67,68,67,67,68,68,68,68,67,67,
|
||||
67,68,25,7,85,22,22,25,196,67,68,85,68,67,67,67,67,67,67,67,67,67,67,67,67,68,
|
||||
67,67,67,67,67,67,86,24,23,85,67,67,67,67,67,67,68,67,67,67,67,67,67,67,67,67,
|
||||
67,68,68,67,67,67,67,68,67,67,67,67,67,67,67,67,67,67,24,23,67,67,85,85,6,67,67,
|
||||
67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,5,24,196,196,67,67,67,67,67,
|
||||
67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,68,67,67,67,67,67,67,67,
|
||||
67,67,67,85,68,67,67,67,85,25,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,
|
||||
67,67,67,68,24,85,67,67,67,67,67,67,67,67,67,67,68,67,67,67,67,67,67,67,67,67,
|
||||
67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,6,67,67,67,85,68,67,67,67,67,67,
|
||||
67,67,67,67,67,67,67,67,67,67,67,67,67,67,7,25,85,67,67,67,67,67,67,67,67,67,67,
|
||||
67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,
|
||||
67,67,67,67,7,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,9,23,
|
||||
67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,
|
||||
67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,85,67,67,67,67,67,67,67,67,67,67,
|
||||
67,67,67,67,67,67,67,67,67,67,12,196,67,67,67,67,84,67,67,67,67,67,67,67,67,67,
|
||||
67,67,67,67,67,67,67,67,84,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,
|
||||
67,67,67,67,67,67,67,67,84,67,67,67,67,67,67,67,67,67,84,67,67,67,5,67,196,84,
|
||||
67,67,67,67,67,84,67,67,67,67,67,67,67,67,67,67,67,67,84,84,84,84,67,67,84,84,
|
||||
67,67,67,67,67,84,67,67,67,67,67,84,67,67,67,67,67,67,67,84,84,67,67,84,84,84,
|
||||
84,84,67,67,67,67,67,67,84,85,84,84,67,84,67,67,67,67,67,67,67,84,84,67,67,84,
|
||||
67,67,67,67,67,67,67,67,67,67,67,67,67,84,67,67,67,67,67,84,84,67,84,84,67,84,
|
||||
67,67,67,67,67,67,84,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,84,67,84,67,
|
||||
84,84,67,67,67,67,67,67,66,67,66,66,66,67,66,67,67,66,67,67,67,67,84,67,67,67,
|
||||
67,67,67,67,67,67,67,67,84,67,67,67,67,66,67,67,67,67,67,67,67,67,67,195,66,67,
|
||||
66,67,67,66,66,66,67,67,84,67,84,67,84,67,67,67,67,66,66,66,66,66,67,66,67,66,
|
||||
67,67,66,67,66,67,66,67,84,67,67,67,67,67,67,67,67,67,67,67,67,84,84,67,67,67,
|
||||
67,67,67,67,66,66,66,195,66,66,66,66,66,66,66,66,67,84,67,84,9,84,67,66,66,66,
|
||||
66,66,66,66,66,66,67,66,66,66,66,66,66,66,67,84,66,67,67,67,66,67,84,12,84,84,
|
||||
84,67,195,195,67,67,67,67,67,67,67,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,
|
||||
66,66,66,66,67,13,12,84,195,66,66,66,66,66,66,66,66,66,66,66,66,66,66,84,66,67,
|
||||
13,13,69,83,84,15,13,13,14,13,13,13,13,13,13,14,13,13,84,84,67,67,66,66,66,66,
|
||||
66,66,66,66,66,66,66,66,66,66,66,195,67,67,84,67,12,13,12,84,66,66,66,66,66,66,
|
||||
66,195,195,13,11,13,12,12,13,13,12,14,14,14,14,13,13,13,14,13,14,14,14,13,13,14,
|
||||
14,13,14,14,14,14,13,70,66,83,66,66,66,66,66,66,66,195,66,66,195,195,84,13,13,
|
||||
13,83,9,11,13,13,84,66,66,66,66,66,66,11,13,14,14,13,13,14,13,13,13,14,14,14,13,
|
||||
13,11,13,14,14,14,13,14,13,14,14,14,14,13,14,13,13,14,13,14,195,66,66,66,66,66,
|
||||
83,14,14,13,14,14,13,13,13,13,13,13,14,13,12,14,13,67,66,66,66,195,84,13,13,13,
|
||||
14,13,14,14,14,14,14,14,14,14,14,13,13,13,13,13,13,14,13,13,14,14,14,14,14,13,
|
||||
14,13,13,13,12,67,66,13,12,12,13,13,14,13,13,13,14,13,13,13,13,13,13,13,14,13,
|
||||
12,12,11,12,12,13,13,13,13,13,13,13,14,14,13,14,14,14,14,14,13,13,14,14,14,13,
|
||||
13,13,13,13,13,13,13,13,14,14,13,13,13,13,13,13,13,13,14,14,13,13,13,13,13,12,
|
||||
12,13,13,13,13,13,13,13,13,13,13,13,12,12,12,12,13,13,12,13,13,13,12,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,12,
|
||||
12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,12,14,14,14,14,14,13,13,14,13,
|
||||
14,13,13,14,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,13,13,
|
||||
13,13,13,13,13,14,14,13,13,13,13,13,13,14,14,13,13,13,13,13,13,13,13,14,14,14,
|
||||
14,14,14
|
||||
}; // earthTexture
|
||||
|
||||
#endif // guard
|
732
programs/pokitto/houseModel.h
Normal file
732
programs/pokitto/houseModel.h
Normal file
|
@ -0,0 +1,732 @@
|
|||
#ifndef HOUSE_MODEL_H
|
||||
#define HOUSE_MODEL_H
|
||||
|
||||
#define HOUSE_VERTEX_COUNT 127
|
||||
const S3L_Unit houseVertices[HOUSE_VERTEX_COUNT * 3] = {
|
||||
1809, 657, -687, // 0
|
||||
1635, -291, -914, // 3
|
||||
1635, -309, -632, // 6
|
||||
1473, 657, -1113, // 9
|
||||
1809, 657, -1113, // 12
|
||||
2070, 661, -1396, // 15
|
||||
1659, 657, -687, // 18
|
||||
1659, 657, 1039, // 21
|
||||
1563, 142, -217, // 24
|
||||
1563, 138, 582, // 27
|
||||
1489, -270, -632, // 30
|
||||
188, 733, -1473, // 33
|
||||
1354, -245, -914, // 36
|
||||
1473, 657, -910, // 39
|
||||
1354, -206, -729, // 42
|
||||
1240, 2205, 176, // 45
|
||||
68, 2107, 176, // 48
|
||||
1530, -1123, -636, // 51
|
||||
1313, -1123, -765, // 54
|
||||
1313, -1123, -1005, // 57
|
||||
1644, -1123, -1005, // 60
|
||||
1644, -1123, -636, // 63
|
||||
602, -251, -728, // 66
|
||||
637, 374, -882, // 69
|
||||
539, -1118, -936, // 72
|
||||
637, 372, -1124, // 75
|
||||
539, -1123, -768, // 78
|
||||
464, 190, -1109, // 81
|
||||
372, -1119, -948, // 84
|
||||
464, 192, -845, // 87
|
||||
372, -1123, -748, // 90
|
||||
1312, 142, -217, // 93
|
||||
1489, -248, -204, // 96
|
||||
1312, -534, -171, // 99
|
||||
1312, -533, 521, // 102
|
||||
1312, 138, 582, // 105
|
||||
1508, -534, -171, // 108
|
||||
1508, -533, 521, // 111
|
||||
1530, -1123, 988, // 114
|
||||
-1672, 657, -687, // 117
|
||||
-1498, -315, -914, // 120
|
||||
-1672, 657, -1113, // 123
|
||||
-1336, 657, -1113, // 126
|
||||
-1909, 681, -1429, // 129
|
||||
-1352, -251, -632, // 132
|
||||
-1498, -315, -632, // 135
|
||||
-1426, 146, 494, // 138
|
||||
-1323, -347, 999, // 141
|
||||
-1352, -247, 503, // 144
|
||||
-1221, -305, -914, // 147
|
||||
-1336, 657, -910, // 150
|
||||
-2446, 2327, 278, // 153
|
||||
-1872, 681, 1713, // 156
|
||||
-1393, -1123, -636, // 159
|
||||
-1176, -1123, -765, // 162
|
||||
-1221, -284, -729, // 165
|
||||
-1176, -1123, -961, // 168
|
||||
-1527, -1123, -636, // 171
|
||||
-443, -251, -728, // 174
|
||||
-477, 343, -882, // 177
|
||||
-402, -1118, -936, // 180
|
||||
-402, -1123, -768, // 183
|
||||
-304, 160, -1109, // 186
|
||||
-477, 341, -1124, // 189
|
||||
-235, -1119, -948, // 192
|
||||
-304, 162, -845, // 195
|
||||
-1672, 657, 1039, // 198
|
||||
-1175, 146, -142, // 201
|
||||
-1175, -645, -145, // 204
|
||||
-1352, -247, -151, // 207
|
||||
-1426, 146, -142, // 210
|
||||
-1371, -645, -145, // 213
|
||||
-1523, 657, 1039, // 216
|
||||
1809, 657, 1039, // 219
|
||||
1635, -251, 1266, // 222
|
||||
1809, 628, 1466, // 225
|
||||
2450, 2567, 227, // 228
|
||||
-1336, 657, 1262, // 231
|
||||
247, 714, 1527, // 234
|
||||
1473, 657, 1262, // 237
|
||||
1473, 657, 1466, // 240
|
||||
2042, 591, 1653, // 243
|
||||
1635, -219, 984, // 246
|
||||
1373, -213, 1266, // 249
|
||||
-1103, 2205, 176, // 252
|
||||
-1286, 1892, -143, // 255
|
||||
1489, -219, 984, // 258
|
||||
1313, -1123, 1117, // 261
|
||||
1373, -213, 1081, // 264
|
||||
1313, -1123, 1313, // 267
|
||||
1644, -1123, 988, // 270
|
||||
1489, -248, 555, // 273
|
||||
-1468, -347, 1266, // 276
|
||||
-1468, -347, 999, // 279
|
||||
-1336, 657, 1466, // 282
|
||||
-1672, 657, 1466, // 285
|
||||
-1175, 146, 494, // 288
|
||||
-1523, 657, -687, // 291
|
||||
-1222, -347, 1266, // 294
|
||||
-1222, -347, 1081, // 297
|
||||
-1393, -1123, 988, // 300
|
||||
-1176, -1123, 1117, // 303
|
||||
-1176, -1123, 1313, // 306
|
||||
-1507, -1123, 1313, // 309
|
||||
-1507, -1123, 988, // 312
|
||||
-1371, -645, 497, // 315
|
||||
-1175, -645, 497, // 318
|
||||
-235, -1123, -748, // 321
|
||||
-1442, 2357, -538, // 324
|
||||
-1405, 1712, -323, // 327
|
||||
-1589, 1878, -170, // 330
|
||||
-1257, 2383, -200, // 333
|
||||
-1712, 2416, -224, // 336
|
||||
-1527, -1123, -961, // 339
|
||||
1644, -1123, 1313, // 342
|
||||
-1636, 657, -930, // 345
|
||||
-1636, 657, -930, // 348
|
||||
-1672, 657, 1466, // 351
|
||||
1773, 657, -930, // 354
|
||||
1773, 657, -930, // 357
|
||||
1809, 657, 1466, // 360
|
||||
-1636, 657, 1282, // 363
|
||||
-1636, 657, 1282, // 366
|
||||
-1672, 657, -1113, // 369
|
||||
1773, 657, 1282, // 372
|
||||
1773, 657, 1282, // 375
|
||||
1809, 657, -1113 // 378
|
||||
}; // houseVertices
|
||||
|
||||
#define HOUSE_TRIANGLE_COUNT 200
|
||||
const S3L_Index houseTriangleIndices[HOUSE_TRIANGLE_COUNT * 3] = {
|
||||
0, 1, 2, // 0
|
||||
3, 1, 4, // 3
|
||||
3, 4, 5, // 6
|
||||
0, 5, 4, // 9
|
||||
2, 6, 0, // 12
|
||||
7, 8, 9, // 15
|
||||
6, 10, 8, // 18
|
||||
11, 3, 5, // 21
|
||||
12, 13, 14, // 24
|
||||
15, 16, 11, // 27
|
||||
2, 17, 10, // 30
|
||||
12, 18, 19, // 33
|
||||
1, 19, 20, // 36
|
||||
1, 21, 2, // 39
|
||||
22, 18, 14, // 42
|
||||
23, 14, 13, // 45
|
||||
24, 23, 25, // 48
|
||||
26, 22, 23, // 51
|
||||
24, 27, 28, // 54
|
||||
28, 29, 30, // 57
|
||||
31, 32, 33, // 60
|
||||
32, 31, 8, // 63
|
||||
31, 34, 35, // 66
|
||||
36, 33, 32, // 69
|
||||
37, 17, 38, // 72
|
||||
17, 36, 10, // 75
|
||||
39, 40, 41, // 78
|
||||
40, 42, 41, // 81
|
||||
42, 43, 41, // 84
|
||||
39, 41, 43, // 87
|
||||
39, 44, 45, // 90
|
||||
46, 47, 48, // 93
|
||||
11, 43, 42, // 96
|
||||
49, 50, 42, // 99
|
||||
51, 52, 43, // 102
|
||||
53, 45, 44, // 105
|
||||
49, 54, 55, // 108
|
||||
40, 56, 49, // 111
|
||||
57, 40, 45, // 114
|
||||
54, 58, 55, // 117
|
||||
55, 59, 50, // 120
|
||||
60, 59, 61, // 123
|
||||
61, 59, 58, // 126
|
||||
60, 62, 63, // 129
|
||||
64, 65, 62, // 132
|
||||
43, 66, 39, // 135
|
||||
67, 68, 69, // 138
|
||||
69, 70, 67, // 141
|
||||
71, 69, 68, // 144
|
||||
72, 47, 46, // 147
|
||||
73, 74, 75, // 150
|
||||
15, 5, 76, // 153
|
||||
77, 78, 79, // 156
|
||||
74, 80, 75, // 159
|
||||
80, 81, 75, // 162
|
||||
73, 75, 81, // 165
|
||||
7, 82, 73, // 168
|
||||
0, 7, 73, // 171
|
||||
10, 32, 8, // 174
|
||||
78, 81, 80, // 177
|
||||
83, 79, 80, // 180
|
||||
16, 84, 85, // 183
|
||||
15, 78, 16, // 186
|
||||
38, 82, 86, // 189
|
||||
83, 87, 88, // 192
|
||||
74, 89, 83, // 195
|
||||
90, 74, 82, // 198
|
||||
35, 34, 91, // 201
|
||||
91, 9, 35, // 204
|
||||
8, 35, 9, // 207
|
||||
37, 91, 34, // 210
|
||||
33, 37, 34, // 213
|
||||
10, 36, 32, // 216
|
||||
66, 92, 93, // 219
|
||||
84, 52, 51, // 222
|
||||
94, 78, 77, // 225
|
||||
94, 92, 95, // 228
|
||||
94, 95, 52, // 231
|
||||
66, 52, 95, // 234
|
||||
93, 72, 66, // 237
|
||||
96, 68, 67, // 240
|
||||
97, 70, 44, // 243
|
||||
78, 94, 52, // 246
|
||||
98, 77, 99, // 249
|
||||
15, 81, 78, // 252
|
||||
84, 16, 78, // 255
|
||||
70, 72, 46, // 258
|
||||
93, 100, 47, // 261
|
||||
98, 101, 102, // 264
|
||||
98, 103, 92, // 267
|
||||
92, 104, 93, // 270
|
||||
99, 87, 101, // 273
|
||||
77, 88, 99, // 276
|
||||
105, 53, 71, // 279
|
||||
96, 48, 106, // 282
|
||||
48, 96, 46, // 285
|
||||
106, 71, 68, // 288
|
||||
105, 106, 48, // 291
|
||||
46, 67, 70, // 294
|
||||
70, 69, 44, // 297
|
||||
66, 97, 39, // 300
|
||||
81, 0, 73, // 303
|
||||
76, 5, 81, // 306
|
||||
30, 65, 107, // 309
|
||||
27, 65, 29, // 312
|
||||
27, 63, 62, // 315
|
||||
59, 25, 23, // 318
|
||||
23, 50, 59, // 321
|
||||
11, 50, 13, // 324
|
||||
3, 11, 13, // 327
|
||||
11, 42, 50, // 330
|
||||
7, 9, 86, // 333
|
||||
86, 9, 91, // 336
|
||||
86, 91, 37, // 339
|
||||
38, 86, 37, // 342
|
||||
105, 48, 47, // 345
|
||||
47, 100, 105, // 348
|
||||
71, 44, 69, // 351
|
||||
44, 71, 53, // 354
|
||||
85, 108, 109, // 357
|
||||
108, 110, 109, // 360
|
||||
110, 111, 85, // 363
|
||||
112, 108, 111, // 366
|
||||
43, 110, 51, // 369
|
||||
109, 110, 43, // 372
|
||||
11, 16, 85, // 375
|
||||
109, 11, 85, // 378
|
||||
109, 43, 11, // 381
|
||||
85, 84, 110, // 384
|
||||
84, 51, 110, // 387
|
||||
78, 80, 79, // 390
|
||||
0, 4, 1, // 393
|
||||
3, 12, 1, // 396
|
||||
2, 10, 6, // 399
|
||||
7, 6, 8, // 402
|
||||
12, 3, 13, // 405
|
||||
2, 21, 17, // 408
|
||||
12, 14, 18, // 411
|
||||
1, 12, 19, // 414
|
||||
1, 20, 21, // 417
|
||||
22, 26, 18, // 420
|
||||
23, 22, 14, // 423
|
||||
24, 26, 23, // 426
|
||||
24, 25, 27, // 429
|
||||
28, 27, 29, // 432
|
||||
31, 33, 34, // 435
|
||||
37, 36, 17, // 438
|
||||
39, 45, 40, // 441
|
||||
40, 49, 42, // 444
|
||||
39, 97, 44, // 447
|
||||
49, 55, 50, // 450
|
||||
53, 57, 45, // 453
|
||||
49, 56, 54, // 456
|
||||
40, 113, 56, // 459
|
||||
57, 113, 40, // 462
|
||||
54, 61, 58, // 465
|
||||
55, 58, 59, // 468
|
||||
60, 63, 59, // 471
|
||||
60, 64, 62, // 474
|
||||
64, 107, 65, // 477
|
||||
43, 52, 66, // 480
|
||||
73, 82, 74, // 483
|
||||
15, 11, 5, // 486
|
||||
74, 83, 80, // 489
|
||||
7, 86, 82, // 492
|
||||
0, 6, 7, // 495
|
||||
83, 88, 79, // 498
|
||||
38, 90, 82, // 501
|
||||
83, 89, 87, // 504
|
||||
74, 114, 89, // 507
|
||||
90, 114, 74, // 510
|
||||
8, 31, 35, // 513
|
||||
33, 36, 37, // 516
|
||||
66, 95, 92, // 519
|
||||
84, 78, 52, // 522
|
||||
94, 98, 92, // 525
|
||||
93, 47, 72, // 528
|
||||
96, 106, 68, // 531
|
||||
98, 94, 77, // 534
|
||||
15, 76, 81, // 537
|
||||
70, 97, 72, // 540
|
||||
93, 104, 100, // 543
|
||||
98, 99, 101, // 546
|
||||
98, 102, 103, // 549
|
||||
92, 103, 104, // 552
|
||||
99, 88, 87, // 555
|
||||
77, 79, 88, // 558
|
||||
105, 100, 53, // 561
|
||||
106, 105, 71, // 564
|
||||
46, 96, 67, // 567
|
||||
66, 72, 97, // 570
|
||||
81, 5, 0, // 573
|
||||
30, 29, 65, // 576
|
||||
27, 62, 65, // 579
|
||||
27, 25, 63, // 582
|
||||
59, 63, 25, // 585
|
||||
23, 13, 50, // 588
|
||||
85, 111, 108, // 591
|
||||
108, 112, 110, // 594
|
||||
110, 112, 111 // 597
|
||||
}; // houseTriangleIndices
|
||||
|
||||
#define HOUSE_UV_COUNT 173
|
||||
const S3L_Unit houseUVs[HOUSE_UV_COUNT * 2] = {
|
||||
279, 174, // 0
|
||||
166, 140, // 2
|
||||
166, 174, // 4
|
||||
279, 106, // 6
|
||||
279, 140, // 8
|
||||
281, 238, // 10
|
||||
307, 238, // 12
|
||||
327, 260, // 14
|
||||
307, 206, // 16
|
||||
279, 204, // 18
|
||||
484, 15, // 20
|
||||
393, 53, // 22
|
||||
447, 53, // 24
|
||||
355, 15, // 26
|
||||
360, 83, // 28
|
||||
183, 266, // 30
|
||||
166, 106, // 32
|
||||
279, 74, // 34
|
||||
166, 74, // 36
|
||||
263, 397, // 38
|
||||
203, 397, // 40
|
||||
203, 505, // 42
|
||||
68, 204, // 44
|
||||
166, 204, // 46
|
||||
68, 74, // 48
|
||||
68, 106, // 50
|
||||
68, 140, // 52
|
||||
68, 174, // 54
|
||||
454, 338, // 56
|
||||
494, 392, // 58
|
||||
496, 335, // 60
|
||||
451, 298, // 62
|
||||
504, 280, // 64
|
||||
440, 382, // 66
|
||||
445, 304, // 68
|
||||
445, 392, // 70
|
||||
436, 314, // 72
|
||||
431, 382, // 74
|
||||
432, 318, // 76
|
||||
428, 373, // 78
|
||||
399, 58, // 80
|
||||
392, 82, // 82
|
||||
401, 102, // 84
|
||||
439, 102, // 86
|
||||
441, 58, // 88
|
||||
395, 107, // 90
|
||||
444, 107, // 92
|
||||
359, 147, // 94
|
||||
480, 147, // 96
|
||||
279, 106, // 98
|
||||
166, 140, // 100
|
||||
279, 140, // 102
|
||||
279, 174, // 104
|
||||
66, 238, // 106
|
||||
22, 263, // 108
|
||||
41, 238, // 110
|
||||
41, 206, // 112
|
||||
166, 74, // 114
|
||||
166, 106, // 116
|
||||
447, 53, // 118
|
||||
480, 85, // 120
|
||||
448, 82, // 122
|
||||
166, 174, // 124
|
||||
279, 204, // 126
|
||||
86, 397, // 128
|
||||
0, 449, // 130
|
||||
86, 505, // 132
|
||||
68, 74, // 134
|
||||
68, 204, // 136
|
||||
166, 204, // 138
|
||||
68, 174, // 140
|
||||
68, 106, // 142
|
||||
337, 392, // 144
|
||||
378, 338, // 146
|
||||
334, 340, // 148
|
||||
381, 300, // 150
|
||||
327, 280, // 152
|
||||
391, 382, // 154
|
||||
385, 392, // 156
|
||||
396, 315, // 158
|
||||
387, 306, // 160
|
||||
399, 382, // 162
|
||||
400, 319, // 164
|
||||
41, 74, // 166
|
||||
399, 58, // 168
|
||||
401, 102, // 170
|
||||
392, 82, // 172
|
||||
393, 53, // 174
|
||||
395, 107, // 176
|
||||
484, 15, // 178
|
||||
279, 106, // 180
|
||||
166, 140, // 182
|
||||
279, 140, // 184
|
||||
314, 505, // 186
|
||||
314, 397, // 188
|
||||
66, 57, // 190
|
||||
187, 36, // 192
|
||||
281, 57, // 194
|
||||
279, 174, // 196
|
||||
281, 41, // 198
|
||||
325, 27, // 200
|
||||
307, 41, // 202
|
||||
307, 74, // 204
|
||||
279, 74, // 206
|
||||
166, 106, // 208
|
||||
295, 74, // 210
|
||||
166, 174, // 212
|
||||
279, 204, // 214
|
||||
144, 397, // 216
|
||||
136, 420, // 218
|
||||
203, 291, // 220
|
||||
68, 74, // 222
|
||||
166, 74, // 224
|
||||
68, 204, // 226
|
||||
166, 204, // 228
|
||||
68, 174, // 230
|
||||
68, 106, // 232
|
||||
448, 82, // 234
|
||||
279, 174, // 236
|
||||
166, 140, // 238
|
||||
166, 174, // 240
|
||||
86, 291, // 242
|
||||
66, 41, // 244
|
||||
279, 106, // 246
|
||||
279, 140, // 248
|
||||
41, 41, // 250
|
||||
25, 22, // 252
|
||||
279, 204, // 254
|
||||
441, 58, // 256
|
||||
355, 15, // 258
|
||||
360, 83, // 260
|
||||
166, 106, // 262
|
||||
279, 74, // 264
|
||||
166, 74, // 266
|
||||
314, 291, // 268
|
||||
68, 204, // 270
|
||||
166, 204, // 272
|
||||
68, 74, // 274
|
||||
68, 106, // 276
|
||||
68, 140, // 278
|
||||
68, 174, // 280
|
||||
495, 218, // 282
|
||||
345, 264, // 284
|
||||
492, 264, // 286
|
||||
502, 158, // 288
|
||||
342, 210, // 290
|
||||
444, 107, // 292
|
||||
359, 147, // 294
|
||||
439, 102, // 296
|
||||
52, 206, // 298
|
||||
402, 449, // 300
|
||||
403, 373, // 302
|
||||
66, 223, // 304
|
||||
281, 223, // 306
|
||||
480, 85, // 308
|
||||
480, 147, // 310
|
||||
492, 407, // 312
|
||||
425, 437, // 314
|
||||
492, 437, // 316
|
||||
492, 467, // 318
|
||||
425, 500, // 320
|
||||
492, 500, // 322
|
||||
425, 467, // 324
|
||||
398, 484, // 326
|
||||
121, 423, // 328
|
||||
131, 433, // 330
|
||||
279, 74, // 332
|
||||
68, 140, // 334
|
||||
295, 206, // 336
|
||||
68, 140, // 338
|
||||
336, 158, // 340
|
||||
52, 74, // 342
|
||||
425, 407 // 344
|
||||
}; // houseUVs
|
||||
|
||||
#define HOUSE_UV_INDEX_COUNT 200
|
||||
const S3L_Index houseUVIndices[HOUSE_UV_INDEX_COUNT * 3] = {
|
||||
0, 1, 2, // 0
|
||||
3, 1, 4, // 3
|
||||
5, 6, 7, // 6
|
||||
8, 7, 6, // 9
|
||||
2, 9, 0, // 12
|
||||
10, 11, 12, // 15
|
||||
13, 14, 11, // 18
|
||||
15, 5, 7, // 21
|
||||
16, 17, 18, // 24
|
||||
19, 20, 21, // 27
|
||||
2, 22, 23, // 30
|
||||
16, 24, 25, // 33
|
||||
1, 25, 26, // 36
|
||||
1, 27, 2, // 39
|
||||
28, 29, 30, // 42
|
||||
31, 30, 32, // 45
|
||||
33, 31, 34, // 48
|
||||
35, 28, 31, // 51
|
||||
33, 36, 37, // 54
|
||||
37, 38, 39, // 57
|
||||
40, 41, 42, // 60
|
||||
41, 40, 11, // 63
|
||||
40, 43, 44, // 66
|
||||
45, 42, 41, // 69
|
||||
46, 47, 48, // 72
|
||||
47, 45, 14, // 75
|
||||
49, 50, 51, // 78
|
||||
50, 52, 51, // 81
|
||||
53, 54, 55, // 84
|
||||
56, 55, 54, // 87
|
||||
49, 57, 58, // 90
|
||||
59, 60, 61, // 93
|
||||
15, 54, 53, // 96
|
||||
62, 63, 52, // 99
|
||||
64, 65, 66, // 102
|
||||
67, 58, 57, // 105
|
||||
62, 68, 69, // 108
|
||||
50, 70, 62, // 111
|
||||
71, 50, 58, // 114
|
||||
72, 73, 74, // 117
|
||||
74, 75, 76, // 120
|
||||
77, 75, 78, // 123
|
||||
78, 75, 73, // 126
|
||||
77, 79, 80, // 129
|
||||
81, 82, 79, // 132
|
||||
54, 83, 56, // 135
|
||||
84, 85, 86, // 138
|
||||
86, 87, 84, // 141
|
||||
88, 86, 85, // 144
|
||||
89, 60, 59, // 147
|
||||
90, 91, 92, // 150
|
||||
19, 93, 94, // 153
|
||||
95, 96, 97, // 156
|
||||
91, 98, 92, // 159
|
||||
99, 100, 101, // 162
|
||||
102, 101, 100, // 165
|
||||
103, 104, 90, // 168
|
||||
8, 105, 102, // 171
|
||||
14, 41, 11, // 174
|
||||
96, 100, 99, // 177
|
||||
106, 107, 98, // 180
|
||||
20, 108, 109, // 183
|
||||
19, 110, 20, // 186
|
||||
111, 104, 112, // 189
|
||||
106, 113, 114, // 192
|
||||
91, 115, 106, // 195
|
||||
116, 91, 104, // 198
|
||||
44, 43, 117, // 201
|
||||
117, 12, 44, // 204
|
||||
11, 44, 12, // 207
|
||||
46, 117, 43, // 210
|
||||
42, 46, 43, // 213
|
||||
14, 45, 41, // 216
|
||||
118, 119, 120, // 219
|
||||
108, 121, 64, // 222
|
||||
122, 96, 95, // 225
|
||||
123, 119, 124, // 228
|
||||
122, 125, 126, // 231
|
||||
83, 126, 125, // 234
|
||||
120, 127, 118, // 237
|
||||
128, 85, 84, // 240
|
||||
129, 87, 130, // 243
|
||||
96, 122, 126, // 246
|
||||
131, 132, 133, // 249
|
||||
19, 134, 110, // 252
|
||||
108, 20, 110, // 255
|
||||
87, 89, 59, // 258
|
||||
120, 135, 136, // 261
|
||||
131, 137, 138, // 264
|
||||
131, 139, 119, // 267
|
||||
119, 140, 120, // 270
|
||||
141, 142, 143, // 273
|
||||
144, 145, 141, // 276
|
||||
146, 147, 88, // 279
|
||||
128, 61, 148, // 282
|
||||
61, 128, 59, // 285
|
||||
148, 88, 85, // 288
|
||||
146, 148, 61, // 291
|
||||
59, 84, 87, // 294
|
||||
87, 86, 130, // 297
|
||||
83, 149, 56, // 300
|
||||
100, 8, 102, // 303
|
||||
94, 93, 150, // 306
|
||||
39, 82, 151, // 309
|
||||
36, 82, 38, // 312
|
||||
36, 80, 79, // 315
|
||||
75, 34, 31, // 318
|
||||
31, 76, 75, // 321
|
||||
15, 152, 153, // 324
|
||||
5, 15, 153, // 327
|
||||
15, 53, 152, // 330
|
||||
10, 12, 154, // 333
|
||||
154, 12, 117, // 336
|
||||
154, 117, 46, // 339
|
||||
48, 154, 46, // 342
|
||||
146, 61, 60, // 345
|
||||
60, 155, 146, // 348
|
||||
88, 130, 86, // 351
|
||||
130, 88, 147, // 354
|
||||
156, 157, 158, // 357
|
||||
157, 159, 158, // 360
|
||||
159, 160, 161, // 363
|
||||
162, 163, 160, // 366
|
||||
66, 164, 64, // 369
|
||||
165, 164, 66, // 372
|
||||
21, 20, 109, // 375
|
||||
165, 21, 109, // 378
|
||||
165, 66, 21, // 381
|
||||
109, 108, 164, // 384
|
||||
108, 64, 164, // 387
|
||||
96, 99, 97, // 390
|
||||
0, 4, 1, // 393
|
||||
3, 16, 1, // 396
|
||||
2, 23, 9, // 399
|
||||
10, 13, 11, // 402
|
||||
16, 3, 17, // 405
|
||||
2, 27, 22, // 408
|
||||
16, 18, 24, // 411
|
||||
1, 16, 25, // 414
|
||||
1, 26, 27, // 417
|
||||
28, 35, 29, // 420
|
||||
31, 28, 30, // 423
|
||||
33, 35, 31, // 426
|
||||
33, 34, 36, // 429
|
||||
37, 36, 38, // 432
|
||||
40, 42, 43, // 435
|
||||
46, 45, 47, // 438
|
||||
49, 58, 50, // 441
|
||||
50, 62, 52, // 444
|
||||
49, 166, 57, // 447
|
||||
62, 69, 63, // 450
|
||||
67, 71, 58, // 453
|
||||
62, 70, 68, // 456
|
||||
50, 167, 70, // 459
|
||||
71, 167, 50, // 462
|
||||
72, 78, 73, // 465
|
||||
74, 73, 75, // 468
|
||||
77, 80, 75, // 471
|
||||
77, 81, 79, // 474
|
||||
81, 151, 82, // 477
|
||||
54, 126, 83, // 480
|
||||
90, 104, 91, // 483
|
||||
19, 21, 93, // 486
|
||||
91, 106, 98, // 489
|
||||
103, 112, 104, // 492
|
||||
8, 168, 105, // 495
|
||||
106, 114, 107, // 498
|
||||
111, 116, 104, // 501
|
||||
106, 115, 113, // 504
|
||||
91, 169, 115, // 507
|
||||
116, 169, 91, // 510
|
||||
11, 40, 44, // 513
|
||||
42, 45, 46, // 516
|
||||
118, 124, 119, // 519
|
||||
108, 110, 121, // 522
|
||||
123, 131, 119, // 525
|
||||
120, 136, 127, // 528
|
||||
128, 148, 85, // 531
|
||||
131, 123, 132, // 534
|
||||
19, 94, 134, // 537
|
||||
87, 129, 89, // 540
|
||||
120, 140, 135, // 543
|
||||
131, 133, 137, // 546
|
||||
131, 138, 139, // 549
|
||||
119, 139, 140, // 552
|
||||
141, 145, 142, // 555
|
||||
144, 170, 145, // 558
|
||||
146, 155, 147, // 561
|
||||
148, 146, 88, // 564
|
||||
59, 128, 84, // 567
|
||||
83, 171, 149, // 570
|
||||
100, 7, 8, // 573
|
||||
39, 38, 82, // 576
|
||||
36, 79, 82, // 579
|
||||
36, 34, 80, // 582
|
||||
75, 80, 34, // 585
|
||||
31, 32, 76, // 588
|
||||
156, 172, 157, // 591
|
||||
157, 162, 159, // 594
|
||||
159, 162, 160 // 597
|
||||
}; // houseUVIndices
|
||||
|
||||
S3L_Model3D houseModel;
|
||||
|
||||
void houseModelInit()
|
||||
{
|
||||
S3L_initModel3D(
|
||||
houseVertices,
|
||||
HOUSE_VERTEX_COUNT,
|
||||
houseTriangleIndices,
|
||||
HOUSE_TRIANGLE_COUNT,
|
||||
&houseModel);
|
||||
}
|
||||
|
||||
#endif // guard
|
164
programs/pokitto/houseTexture.h
Normal file
164
programs/pokitto/houseTexture.h
Normal file
|
@ -0,0 +1,164 @@
|
|||
#ifndef HOUSE_TEXTURE_H
|
||||
#define HOUSE_TEXTURE_H
|
||||
|
||||
#define HOUSE_TEXTURE_WIDTH 64
|
||||
#define HOUSE_TEXTURE_HEIGHT 64
|
||||
|
||||
const uint8_t houseTexture[4096] = {
|
||||
24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,
|
||||
24,24,24,24,24,24,24,24,24,24,24,24,24,23,23,8,25,25,25,25,25,25,25,25,25,25,25,
|
||||
25,25,25,25,25,25,25,25,25,25,25,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,
|
||||
24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,23,8,
|
||||
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,24,24,25,7,23,
|
||||
24,20,22,21,8,22,21,25,22,22,25,22,22,25,21,22,21,21,22,21,21,22,21,20,22,21,20,
|
||||
21,22,25,21,22,25,21,22,24,9,25,24,23,20,20,19,20,21,20,20,3,20,20,20,22,22,19,
|
||||
21,20,23,24,25,24,24,8,21,18,18,18,19,18,21,19,19,22,20,20,23,21,21,24,21,22,21,
|
||||
21,22,21,21,22,22,21,22,21,20,22,21,24,21,21,23,20,20,21,24,25,25,24,21,23,22,
|
||||
25,22,23,24,20,25,25,23,25,25,23,24,23,24,24,25,24,24,24,20,19,19,19,20,19,18,
|
||||
20,19,18,19,18,17,18,18,21,19,19,18,19,20,19,19,20,19,19,19,19,19,18,18,17,18,
|
||||
18,18,18,18,18,6,25,25,24,21,25,25,26,24,25,25,22,26,27,26,27,26,25,25,23,24,25,
|
||||
25,24,24,24,20,19,18,18,19,18,18,21,20,19,21,20,18,20,20,19,20,20,19,19,19,18,
|
||||
18,19,18,19,20,20,19,21,20,19,20,19,18,19,20,18,6,25,25,24,22,26,25,26,25,25,25,
|
||||
24,26,27,26,27,27,25,26,23,25,25,25,24,24,24,18,19,18,19,19,19,18,21,20,18,21,
|
||||
20,18,20,20,19,20,21,19,20,21,19,19,21,19,20,21,19,19,20,19,18,19,19,19,19,19,
|
||||
19,19,25,25,25,22,26,26,10,24,22,6,5,23,24,25,27,27,26,24,23,25,25,25,24,24,24,
|
||||
19,21,19,22,22,19,17,19,18,17,19,18,18,18,19,17,18,19,18,18,19,18,18,19,17,18,
|
||||
19,18,18,19,18,113,19,20,22,20,20,20,19,25,25,25,22,27,26,10,21,6,8,8,24,25,23,
|
||||
5,27,24,9,24,25,25,25,24,24,24,18,19,18,20,21,24,23,23,23,23,23,23,23,23,23,23,
|
||||
24,24,24,23,23,23,23,23,23,23,23,23,23,23,22,21,21,24,21,19,19,19,19,25,25,25,
|
||||
22,27,27,11,21,7,8,8,8,8,9,4,10,7,10,24,25,25,25,24,24,8,19,19,17,21,22,24,25,
|
||||
25,25,25,24,24,24,24,24,24,24,23,23,23,23,24,23,23,22,22,23,23,23,24,22,21,21,
|
||||
21,21,21,19,19,6,25,25,25,22,27,27,11,20,8,12,11,11,12,11,4,11,7,9,24,25,25,25,
|
||||
24,24,8,19,21,21,19,20,20,19,20,20,21,21,21,21,21,20,21,20,20,20,21,21,20,20,20,
|
||||
20,20,20,20,20,20,19,18,2,19,18,20,21,20,19,25,25,25,5,27,26,28,21,6,7,7,7,7,8,
|
||||
4,27,7,26,22,25,25,25,24,24,25,19,20,20,18,20,20,21,22,22,22,22,22,23,23,23,23,
|
||||
23,23,23,24,24,23,23,23,23,22,22,22,21,21,21,19,17,19,18,20,21,20,19,25,25,25,4,
|
||||
10,26,27,21,7,12,10,12,12,8,4,26,24,26,19,25,25,25,24,24,24,21,19,19,17,22,20,
|
||||
22,23,24,24,24,24,24,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,23,23,22,21,
|
||||
17,19,17,19,21,19,20,25,25,25,5,27,26,28,5,6,12,10,11,12,25,21,25,25,27,21,25,
|
||||
25,25,24,24,8,19,20,21,19,20,20,21,22,22,22,22,22,23,22,22,21,21,21,22,22,22,23,
|
||||
23,23,23,22,22,22,22,22,21,20,17,19,18,20,21,20,19,25,25,25,4,25,26,28,5,7,9,9,
|
||||
9,9,23,22,27,26,27,21,25,25,25,24,24,8,19,21,21,19,20,20,22,22,22,22,22,22,23,
|
||||
22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,21,20,17,19,19,21,21,20,19,
|
||||
25,25,25,4,25,5,27,22,6,22,22,22,22,22,21,27,27,27,21,25,25,25,24,24,8,21,19,19,
|
||||
18,22,19,20,23,23,24,24,24,23,23,24,24,23,24,24,24,24,24,24,24,25,24,24,24,24,
|
||||
24,23,22,17,19,18,19,21,20,20,25,25,25,4,27,8,28,23,23,23,24,24,24,24,6,26,27,9,
|
||||
21,25,25,25,24,24,24,19,20,21,18,20,19,22,23,24,24,24,23,24,24,24,23,24,24,24,
|
||||
24,24,25,24,25,24,24,24,24,24,23,23,21,17,19,18,20,21,20,18,25,25,25,21,27,8,28,
|
||||
26,26,26,24,26,25,23,25,26,26,26,21,25,25,25,24,24,24,19,21,21,19,20,19,20,22,
|
||||
22,22,22,22,22,23,22,23,22,22,22,23,23,24,23,23,23,23,23,22,22,21,21,20,17,19,
|
||||
19,21,21,20,19,25,25,25,21,26,6,27,25,25,26,23,26,25,23,25,26,8,26,21,25,25,25,
|
||||
24,24,24,18,19,20,18,22,19,21,22,22,22,22,21,22,22,22,22,22,22,23,23,23,23,23,
|
||||
23,23,23,22,22,22,22,21,20,17,19,18,20,22,20,21,8,25,25,5,25,5,27,24,26,26,23,
|
||||
25,25,23,26,25,25,26,21,25,25,25,24,24,24,18,20,21,19,20,19,21,23,23,23,23,23,
|
||||
23,23,23,24,24,25,25,25,25,25,25,25,25,24,24,24,24,23,22,21,17,19,18,20,21,20,
|
||||
19,8,25,25,25,25,26,26,26,25,26,24,25,25,25,25,25,26,26,8,25,25,25,24,24,24,19,
|
||||
21,21,19,20,21,23,24,24,24,24,24,24,24,25,25,24,24,25,25,25,24,24,25,24,24,24,
|
||||
24,24,23,22,21,17,20,19,21,21,20,19,19,20,19,2,18,8,20,20,19,18,18,20,20,19,19,
|
||||
21,21,21,19,19,19,22,24,24,24,18,19,20,17,22,20,19,23,23,23,23,23,23,23,24,23,
|
||||
24,23,22,22,22,22,23,23,23,22,22,23,22,23,22,21,17,20,17,19,20,19,19,23,10,25,4,
|
||||
11,24,21,24,23,4,25,24,21,25,23,25,25,24,23,24,22,23,24,24,24,18,20,20,18,19,20,
|
||||
22,22,22,22,22,22,22,22,22,22,23,24,23,22,22,22,22,22,22,22,22,22,22,22,21,20,
|
||||
17,19,18,19,20,19,19,24,10,27,4,26,25,23,24,24,6,26,25,22,25,24,7,7,4,24,24,22,
|
||||
24,24,24,24,19,21,21,19,20,21,22,23,23,23,23,23,23,23,23,23,23,23,24,23,22,22,
|
||||
22,22,22,22,23,23,23,23,22,21,17,19,19,21,21,20,19,25,24,27,5,27,26,25,26,9,25,
|
||||
11,10,24,27,26,25,25,25,8,25,22,8,24,24,24,18,19,20,18,19,21,19,22,23,24,24,24,
|
||||
23,23,23,23,22,22,22,22,22,21,21,21,21,21,22,21,22,22,21,20,17,19,18,18,20,19,
|
||||
19,26,10,26,5,27,27,24,26,10,24,7,6,25,27,10,26,26,25,25,25,21,25,24,24,24,18,
|
||||
20,18,18,19,21,19,20,21,21,21,21,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,
|
||||
20,20,20,20,18,1,19,18,19,20,19,19,24,22,25,5,10,27,25,27,10,10,11,11,25,27,27,
|
||||
9,10,25,25,25,5,25,24,24,24,19,21,19,20,21,25,25,25,24,24,24,24,24,25,25,25,25,
|
||||
25,25,25,25,25,25,25,25,24,25,25,25,25,23,22,22,23,20,19,21,20,19,24,5,26,5,27,
|
||||
26,26,11,11,11,12,12,26,11,10,10,10,9,25,25,22,25,24,24,24,18,20,18,20,22,23,23,
|
||||
23,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,21,21,21,20,20,
|
||||
22,21,19,20,19,19,25,5,26,24,27,26,26,11,28,11,12,12,26,11,11,27,26,26,5,24,22,
|
||||
25,24,24,24,18,20,18,20,20,19,18,19,18,17,18,18,18,18,18,18,18,19,18,18,19,18,
|
||||
18,19,18,18,19,18,18,19,18,17,18,19,21,19,19,19,20,26,5,27,25,26,26,8,11,27,12,
|
||||
12,12,27,12,28,27,27,26,26,25,24,25,24,24,24,19,21,19,20,20,19,19,20,20,19,20,
|
||||
21,19,20,21,20,20,21,20,20,21,20,20,21,20,20,21,20,20,21,21,19,19,19,21,19,21,
|
||||
20,19,26,4,27,23,26,26,26,10,10,12,12,11,27,28,27,27,28,27,26,25,25,25,24,24,24,
|
||||
18,20,19,18,19,18,20,21,20,20,21,21,19,20,21,20,21,21,20,20,21,19,20,21,20,21,
|
||||
21,20,21,21,20,20,20,18,18,18,20,19,19,25,21,26,23,24,7,26,10,25,11,11,28,26,25,
|
||||
24,27,27,26,26,25,25,25,24,24,24,18,20,19,20,20,20,20,21,20,20,21,21,19,20,21,
|
||||
19,20,21,20,20,21,19,20,21,20,21,21,21,21,21,21,20,21,20,20,20,20,20,21,25,22,
|
||||
26,23,8,25,26,10,26,10,11,28,26,27,26,26,27,25,26,24,24,25,24,24,24,19,20,19,19,
|
||||
19,19,19,20,19,18,19,19,18,19,19,18,19,19,18,19,19,18,18,19,18,18,19,18,18,19,
|
||||
18,18,19,18,19,19,19,19,19,25,25,25,24,26,25,23,25,25,27,28,27,25,26,25,8,27,24,
|
||||
25,24,24,25,24,24,8,19,18,19,19,19,19,20,20,19,18,19,19,18,19,19,18,19,19,18,19,
|
||||
20,18,19,20,18,19,20,20,41,21,20,24,21,20,20,20,20,20,21,25,25,26,25,26,26,8,26,
|
||||
24,26,26,26,25,26,24,24,26,24,25,23,24,25,24,24,24,24,24,24,24,24,26,26,26,27,
|
||||
27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,27,
|
||||
27,24,25,25,25,25,25,25,25,25,25,25,25,26,25,25,25,8,25,25,26,26,26,25,25,25,24,
|
||||
24,24,24,24,24,24,24,26,26,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,
|
||||
28,28,28,28,28,28,28,28,28,28,28,28,27,23,4,20,21,20,22,22,21,20,21,21,21,21,21,
|
||||
22,23,23,22,23,23,23,21,21,22,24,24,24,24,24,24,24,26,26,26,28,28,28,28,28,27,
|
||||
27,27,27,27,26,27,27,27,27,28,28,28,28,28,27,27,25,26,26,27,27,28,28,28,23,3,23,
|
||||
22,23,23,21,24,22,23,24,22,23,23,22,24,24,24,24,10,26,21,23,22,24,24,24,24,24,
|
||||
24,24,26,26,26,28,24,24,24,24,24,24,23,23,24,24,24,24,24,23,24,23,25,24,25,24,
|
||||
24,23,23,24,24,24,24,24,23,24,23,25,23,24,25,22,25,22,22,23,21,22,21,21,22,23,
|
||||
24,23,24,25,21,24,23,24,24,24,24,24,24,24,26,26,26,28,23,24,23,24,23,23,23,23,
|
||||
23,23,24,23,23,22,23,22,24,23,23,23,23,21,21,23,23,23,23,23,23,24,24,25,25,26,
|
||||
26,25,23,22,23,24,7,7,23,23,22,5,25,25,7,26,9,24,24,24,24,24,24,24,24,26,26,26,
|
||||
27,28,23,23,23,22,22,24,23,23,23,23,23,23,23,23,23,23,23,24,22,23,23,23,23,23,
|
||||
23,23,23,24,24,43,26,24,26,26,26,8,21,24,8,25,25,25,24,24,25,6,23,26,7,27,25,23,
|
||||
8,24,24,24,24,24,26,26,26,26,28,28,23,22,24,22,23,24,24,23,24,24,24,24,24,25,24,
|
||||
24,24,24,23,24,23,24,23,23,23,23,23,23,23,28,26,24,25,7,24,26,21,24,10,20,19,21,
|
||||
20,20,26,23,22,26,25,28,24,22,26,24,24,24,24,26,26,26,26,26,28,28,23,23,24,24,
|
||||
25,24,24,25,25,26,26,25,25,24,25,24,25,24,24,24,24,25,24,24,24,21,22,23,23,27,
|
||||
26,23,25,28,28,25,20,24,26,19,22,23,22,20,26,24,21,26,24,11,22,23,26,24,24,24,
|
||||
24,26,26,26,26,26,28,27,24,24,24,25,25,25,25,26,26,26,27,25,27,24,27,25,27,25,
|
||||
24,24,24,24,25,25,24,22,21,24,24,28,26,23,25,11,28,26,20,24,26,19,21,24,21,21,
|
||||
26,25,21,27,26,11,7,22,26,24,24,24,26,26,26,26,26,26,28,27,22,23,23,23,23,22,24,
|
||||
25,25,25,25,24,23,22,23,23,24,23,22,22,22,22,22,22,24,22,20,21,21,25,25,22,25,
|
||||
11,28,26,20,24,8,20,22,26,7,21,25,24,21,27,27,10,24,4,25,24,24,26,26,26,26,26,
|
||||
26,26,28,27,25,23,25,25,26,24,24,25,22,24,26,26,25,24,23,26,24,25,23,25,24,24,
|
||||
24,24,24,24,23,23,23,28,25,21,25,27,11,9,21,22,24,21,24,9,8,22,25,22,23,27,10,9,
|
||||
24,21,25,24,25,26,26,26,26,26,26,27,28,27,23,22,23,23,23,24,25,24,25,24,24,24,
|
||||
23,22,22,24,22,23,22,22,23,22,23,23,23,22,22,22,22,28,25,4,24,25,11,26,22,21,24,
|
||||
22,24,24,23,22,25,21,24,25,5,7,24,24,25,24,26,26,26,26,26,26,26,28,28,28,24,24,
|
||||
24,24,24,25,25,20,27,24,25,24,25,24,25,24,25,25,25,25,25,25,25,25,24,25,24,25,
|
||||
24,28,25,19,23,24,11,8,23,20,24,22,24,24,23,22,23,20,25,23,9,25,24,24,25,26,26,
|
||||
26,26,26,26,27,28,28,28,28,24,24,23,23,23,23,21,24,21,23,23,22,24,22,24,23,24,
|
||||
24,24,24,24,24,24,24,23,23,23,24,21,28,24,20,25,24,11,7,24,20,23,22,22,22,21,22,
|
||||
23,4,25,22,26,24,25,24,25,26,26,26,26,26,28,28,28,28,28,27,24,23,22,23,23,23,23,
|
||||
23,23,23,23,23,23,23,23,23,22,23,23,23,23,24,24,23,24,24,24,24,24,27,25,23,25,
|
||||
24,27,24,25,2,23,24,24,24,24,23,23,4,25,22,25,25,24,24,25,26,26,26,28,28,28,28,
|
||||
28,28,28,27,23,24,23,23,23,23,23,23,23,24,24,23,23,23,23,23,23,23,23,23,24,23,
|
||||
23,23,23,24,24,24,23,27,28,25,25,23,24,24,26,20,24,24,24,24,24,24,24,21,25,23,
|
||||
25,25,25,25,25,24,24,26,26,25,26,25,8,26,28,22,24,24,24,24,24,24,22,24,23,23,23,
|
||||
23,23,23,24,23,23,23,24,24,24,24,24,24,24,25,25,25,26,22,26,27,8,8,8,25,26,25,
|
||||
24,24,24,24,24,24,24,25,24,24,24,25,27,25,25,25,25,25,8,8,8,8,28,22,22,20,24,23,
|
||||
24,24,24,23,23,21,22,23,23,23,23,23,23,24,22,24,22,23,23,23,23,23,23,23,23,23,
|
||||
24,19,21,22,28,26,8,8,8,8,8,8,8,8,24,8,9,9,9,9,8,24,22,24,8,8,8,9,9,24,27,27,22,
|
||||
20,22,21,22,22,22,22,21,20,20,21,20,21,21,22,21,22,22,22,22,22,20,21,22,21,0,21,
|
||||
20,22,22,22,22,19,22,19,22,23,27,8,24,24,8,8,8,8,23,8,9,10,10,10,25,23,21,22,8,
|
||||
24,24,8,27,28,22,22,22,24,24,22,23,23,23,24,21,159,20,23,23,23,23,24,23,24,24,
|
||||
23,24,23,23,21,24,23,25,23,23,23,23,23,23,20,23,23,21,20,22,27,28,8,24,24,24,24,
|
||||
22,8,9,10,11,10,9,23,20,21,23,26,26,28,23,22,20,23,22,25,24,22,23,24,23,23,23,
|
||||
20,22,23,23,23,23,24,24,24,24,24,24,24,21,21,23,22,22,22,23,23,23,23,23,19,24,
|
||||
25,23,23,20,22,22,27,28,26,24,24,22,8,9,11,11,10,25,22,20,21,23,28,28,22,20,23,
|
||||
25,23,26,26,21,22,24,22,24,23,23,23,22,22,23,23,23,24,24,25,24,24,24,24,24,25,
|
||||
22,24,18,24,24,24,22,22,24,20,21,26,27,23,25,23,19,22,26,28,28,24,22,8,9,11,11,
|
||||
11,9,23,21,21,23,22,22,23,25,24,23,27,27,25,24,22,23,23,23,23,23,24,24,24,24,24,
|
||||
24,25,26,25,26,25,25,26,25,24,24,23,24,23,23,23,22,22,23,20,24,26,27,26,24,23,
|
||||
25,21,20,22,28,28,22,8,9,11,12,11,9,24,21,21,23,22,22,21,22,24,26,26,26,25,25,
|
||||
21,22,22,22,21,22,24,23,24,23,23,24,24,25,25,24,23,26,25,26,24,25,24,25,24,24,
|
||||
23,23,23,23,20,25,26,24,26,26,23,20,21,22,23,28,28,23,8,9,10,11,10,9,7,21,150,
|
||||
23,21,23,23,22,21,23,24,26,25,22,21,23,23,22,22,24,24,24,24,24,24,25,25,26,26,
|
||||
25,23,26,26,26,25,26,24,24,24,24,23,23,23,23,22,22,25,26,25,23,21,23,24,23,22,
|
||||
28,27,23,8,9,9,10,10,25,23,21,21,23,27,25,22,24,24,23,20,21,25,26,23,22,21,22,
|
||||
22,22,22,22,22,23,23,23,24,23,24,22,24,22,24,23,24,23,23,23,23,23,23,23,23,22,
|
||||
21,26,24,21,20,23,24,24,22,28,27,26,25,7,8,9,10,11,10,9,23,21,21,23,26,28,28,23,
|
||||
22,23,24,21,23,24,22,23,23,23,23,24,24,25,24,24,24,24,23,23,24,24,24,22,24,24,
|
||||
24,24,24,23,23,23,23,23,23,24,19,22,22,22,24,23,22,23,28,28,26,7,1,6,8,9,10,11,
|
||||
10,9,24,21,21,23,25,27,28,28,28,21,22,24,23,21,21,22,22,21,22,21,22,22,22,22,22,
|
||||
22,22,22,22,22,22,21,20,23,22,22,22,23,22,22,22,22,22,22,19,21,23,24,22,21,28,
|
||||
28,28,27,25,2,1,6,8,9,9,10,10,9,24,21,150,23,26,27,27,28,28,28,22,22,25,24,21,
|
||||
23,24,23,24,23,24,23,24,24,24,24,24,23,23,24,23,22,21,24,23,24,23,24,23,24,24,
|
||||
23,23,23,21,24,24,22,26,28,28,28,27,27,26,25,22,7,8,9,9,10,9,25,22,21,21,23,25,
|
||||
25,27,28,28,28,28,28,23,22,23,24,23,23,23,23,23,24,23,23,23,23,23,23,23,23,23,
|
||||
21,21,23,24,24,23,23,24,24,23,23,23,24,23,22,22,28,28,28,28,28,27,25,25,24,24,
|
||||
22,23,23,24,24,24,22,22,21,22,23
|
||||
}; // houseTexture
|
||||
|
||||
#endif // guard
|
195
programs/pokitto/modelViewer.cpp
Normal file
195
programs/pokitto/modelViewer.cpp
Normal file
|
@ -0,0 +1,195 @@
|
|||
/*
|
||||
Pokitto example demo for small3dlib -- model viewer.
|
||||
|
||||
author: Miloslav Ciz
|
||||
license: CC0 1.0
|
||||
*/
|
||||
|
||||
#include "Pokitto.h"
|
||||
|
||||
/* Before including small3dli, we need to define some values for it, such as
|
||||
the resolution, the name of the pixel drawing function etc.: */
|
||||
|
||||
#define S3L_PIXEL_FUNCTION pixelFunc
|
||||
|
||||
#define S3L_RESOLUTION_X 110
|
||||
#define S3L_RESOLUTION_Y 88
|
||||
|
||||
#define S3L_Z_BUFFER 2 // this sets up a reduced precision z-buffer
|
||||
#define S3L_SORT 0 // no sorting of triangles
|
||||
#define S3L_STENCIL_BUFFER 0 // no stencil buffer
|
||||
#define S3L_PERSPECTIVE_CORRECTION 0 /* perspective correction expensive and
|
||||
dosn't improve quality significantly
|
||||
with far away models, so turn it off,
|
||||
but you can try setting it it 2
|
||||
(approximation) */
|
||||
#include "small3dlib.h" // now we can include the library
|
||||
|
||||
// include the resources (converted using provided Python scripts):
|
||||
|
||||
#include "palette.h"
|
||||
#include "houseModel.h"
|
||||
#include "houseTexture.h"
|
||||
#include "chestModel.h"
|
||||
#include "chestTexture.h"
|
||||
#include "earthModel.h"
|
||||
#include "earthTexture.h"
|
||||
#include "pokittoModel.h"
|
||||
#include "pokittoTexture.h"
|
||||
|
||||
Pokitto::Core pokitto;
|
||||
|
||||
#define MIN_ZOOM (-6 * S3L_FRACTIONS_PER_UNIT)
|
||||
#define MAX_ZOOM (-16 * S3L_FRACTIONS_PER_UNIT)
|
||||
|
||||
#define TEXTURE_W 64
|
||||
#define TEXTURE_H 64
|
||||
|
||||
// helper global variabls and pointers:
|
||||
|
||||
int16_t previousTriangle = -1;
|
||||
S3L_Vec4 uv0, uv1, uv2;
|
||||
const uint8_t *texture = houseTexture;
|
||||
const S3L_Index *uvIndices = houseUVIndices;
|
||||
const S3L_Unit *uvs = houseUVs;
|
||||
|
||||
static inline unsigned short sampleTexure(int32_t u, int32_t v)
|
||||
{
|
||||
int index = v * TEXTURE_W + u;
|
||||
|
||||
return texture[index];
|
||||
}
|
||||
|
||||
/* This function will be called by the library to render individual pixels --
|
||||
remember, this is the bottleneck, it should be as fast as possible! */
|
||||
void pixelFunc(S3L_PixelInfo *p)
|
||||
{
|
||||
S3L_Unit u, v; // texturing coordinates
|
||||
|
||||
if (p->triangleIndex != previousTriangle)
|
||||
{
|
||||
/* This is a per-triangle cache, it prevents computing per-triangle values
|
||||
for each pixel. We only recompute these when the triangleID changes. */
|
||||
|
||||
S3L_getIndexedTriangleValues(p->triangleIndex,uvIndices,uvs,2,&uv0,&uv1,&uv2);
|
||||
/* ^ This is a helper funtion that retrieves the 3 UV coordinates of the
|
||||
triangle (one for each triangle vertex). */
|
||||
|
||||
previousTriangle = p->triangleIndex;
|
||||
}
|
||||
|
||||
u = S3L_interpolateBarycentric(uv0.x,uv1.x,uv2.x,p->barycentric);
|
||||
v = S3L_interpolateBarycentric(uv0.y,uv1.y,uv2.y,p->barycentric);
|
||||
|
||||
uint8_t c = sampleTexure(u >> 3,v >> 3);
|
||||
/* ^ Shifting by 3 gets the value from 0 to 512
|
||||
(S3L_FRACTIONS_PER_UNIT) to 0 to 32 (texture resoltion). */
|
||||
|
||||
// now write the pixel:
|
||||
|
||||
uint8_t *buf = pokitto.display.screenbuffer;
|
||||
|
||||
buf += p->y * S3L_RESOLUTION_X;
|
||||
buf += p->x;
|
||||
*buf = c;
|
||||
}
|
||||
|
||||
S3L_Scene scene; // our 3D scene, it will only hold one model at a time
|
||||
|
||||
void draw()
|
||||
{
|
||||
S3L_newFrame(); // needs to be done before rendering a new frame
|
||||
S3L_drawScene(scene); // renders the 3D scene
|
||||
}
|
||||
|
||||
void setModel(uint8_t index)
|
||||
{
|
||||
#define modelCase(n)\
|
||||
scene.models = &(n##Model);\
|
||||
texture = n##Texture;\
|
||||
uvIndices = n##UVIndices;\
|
||||
uvs = n##UVs;
|
||||
|
||||
switch (index)
|
||||
{
|
||||
case 1:
|
||||
modelCase(chest)
|
||||
break;
|
||||
|
||||
case 2:
|
||||
modelCase(earth)
|
||||
break;
|
||||
|
||||
case 3:
|
||||
modelCase(pokitto)
|
||||
break;
|
||||
|
||||
default:
|
||||
modelCase(house)
|
||||
break;
|
||||
}
|
||||
|
||||
#undef modelCase
|
||||
}
|
||||
|
||||
uint8_t modelIndex = 0;
|
||||
|
||||
int main()
|
||||
{
|
||||
pokitto.begin();
|
||||
|
||||
pokitto.setFrameRate(60);
|
||||
|
||||
pokitto.display.load565Palette(palette);
|
||||
|
||||
houseModelInit();
|
||||
chestModelInit();
|
||||
earthModelInit();
|
||||
pokittoModelInit();
|
||||
|
||||
S3L_initScene(&houseModel,1,&scene);
|
||||
|
||||
setModel(0);
|
||||
|
||||
scene.camera.transform.translation.z = -8 * S3L_FRACTIONS_PER_UNIT;
|
||||
// ^ place the camera a little bit to the front so that the model is seen
|
||||
|
||||
while (pokitto.isRunning())
|
||||
{
|
||||
if (pokitto.update())
|
||||
{
|
||||
S3L_Unit rotationStep = 8;
|
||||
S3L_Unit zoomStep = 128;
|
||||
|
||||
if (pokitto.aBtn())
|
||||
{
|
||||
if (pokitto.downBtn())
|
||||
scene.camera.transform.translation.z =
|
||||
S3L_max(MAX_ZOOM,scene.camera.transform.translation.z - zoomStep);
|
||||
else if (pokitto.upBtn())
|
||||
scene.camera.transform.translation.z =
|
||||
S3L_min(MIN_ZOOM,scene.camera.transform.translation.z + zoomStep);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (pokitto.upBtn())
|
||||
scene.models[0].transform.rotation.x += rotationStep;
|
||||
else if (pokitto.downBtn())
|
||||
scene.models[0].transform.rotation.x -= rotationStep;
|
||||
|
||||
if (pokitto.rightBtn())
|
||||
scene.models[0].transform.rotation.y += rotationStep;
|
||||
else if (pokitto.leftBtn())
|
||||
scene.models[0].transform.rotation.y -= rotationStep;
|
||||
}
|
||||
|
||||
if (pokitto.buttons.timeHeld(BTN_B) == 1)
|
||||
{
|
||||
modelIndex = (modelIndex + 1) % 4;
|
||||
setModel(modelIndex);
|
||||
}
|
||||
|
||||
draw();
|
||||
}
|
||||
}
|
||||
}
|
26
programs/pokitto/palette.h
Normal file
26
programs/pokitto/palette.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
#ifndef PALETTE_H
|
||||
#define PALETTE_H
|
||||
|
||||
uint16_t palette[256] = {
|
||||
0,4226,8452,12678,16936,21162,25388,29614,35921,40147,44373,48599,52857,57083,
|
||||
61309,65535,4193,8418,12611,16836,21029,25254,29447,33672,37865,42090,46283,
|
||||
50508,54701,58926,63119,65264,2177,6402,8579,12804,14981,19206,21383,25608,
|
||||
27785,32010,34187,38412,40589,44814,46991,51184,2177,4354,6531,8709,10886,13063,
|
||||
15240,17418,19595,21772,23949,26127,28304,30481,32658,34804,2178,4356,6534,8712,
|
||||
10890,13068,15246,17424,19602,21780,23958,26136,28314,30492,32670,34815,2114,
|
||||
4260,6374,8520,10634,12780,14894,17040,19154,21300,23414,25560,27674,29820,
|
||||
31934,34079,2114,6276,8390,12552,14666,18828,20942,25104,29266,31380,35542,
|
||||
37656,41818,43932,48094,50207,4161,8323,12485,16646,20808,24970,29131,33293,
|
||||
37455,41616,45778,49940,54101,58263,62425,64538,4096,8192,12288,16384,20480,
|
||||
24576,28672,32768,36864,40960,45056,49152,53248,57344,61440,63488,4192,8384,
|
||||
12576,16768,20960,25152,29344,33536,37728,41920,46112,50304,54496,58688,62880,
|
||||
64992,2176,4352,6528,8704,10880,13056,15232,17408,19584,21760,23936,26112,28288,
|
||||
30464,32640,34784,128,257,385,514,642,771,899,1028,1156,1285,1413,1542,1670,
|
||||
1799,1927,2024,130,260,390,520,650,780,910,1040,1170,1300,1430,1560,1690,1820,
|
||||
1950,2047,34,68,102,136,170,204,238,272,306,340,374,408,442,476,510,543,2050,
|
||||
4100,6150,8200,10250,12300,14350,18448,20498,22548,24598,26648,28698,30748,
|
||||
32798,36895,4097,8194,12292,16389,20486,24584,28681,32779,36876,40973,45071,
|
||||
49168,53265,57363,61460,63509
|
||||
};
|
||||
|
||||
#endif
|
256
programs/pokitto/pokittoModel.h
Normal file
256
programs/pokitto/pokittoModel.h
Normal file
|
@ -0,0 +1,256 @@
|
|||
#ifndef POKITTO_MODEL_H
|
||||
#define POKITTO_MODEL_H
|
||||
|
||||
#define POKITTO_VERTEX_COUNT 32
|
||||
const S3L_Unit pokittoVertices[POKITTO_VERTEX_COUNT * 3] = {
|
||||
-1549, 2591, -407, // 0
|
||||
-1549, 2591, 375, // 3
|
||||
-1549, 618, 375, // 6
|
||||
-1549, 618, -407, // 9
|
||||
-1549, 1327, 375, // 12
|
||||
-1549, 1327, -407, // 15
|
||||
-2187, 1327, -407, // 18
|
||||
-2187, 618, -407, // 21
|
||||
-2187, 618, 375, // 24
|
||||
-2187, 1327, 375, // 27
|
||||
-841, -1504, 375, // 30
|
||||
-841, -1504, -407, // 33
|
||||
-841, -2088, 375, // 36
|
||||
-1549, -2088, 375, // 39
|
||||
-1549, -2088, -407, // 42
|
||||
-841, -2088, -407, // 45
|
||||
1549, 2591, -407, // 48
|
||||
1549, 2591, 375, // 51
|
||||
1549, 618, 375, // 54
|
||||
1549, 618, -407, // 57
|
||||
1549, 1327, 375, // 60
|
||||
1549, 1327, -407, // 63
|
||||
2187, 1327, -407, // 66
|
||||
2187, 618, -407, // 69
|
||||
2187, 618, 375, // 72
|
||||
2187, 1327, 375, // 75
|
||||
841, -1504, 375, // 78
|
||||
841, -1504, -407, // 81
|
||||
841, -2088, 375, // 84
|
||||
1549, -2088, 375, // 87
|
||||
1549, -2088, -407, // 90
|
||||
841, -2088, -407 // 93
|
||||
}; // pokittoVertices
|
||||
|
||||
#define POKITTO_TRIANGLE_COUNT 60
|
||||
const S3L_Index pokittoTriangleIndices[POKITTO_TRIANGLE_COUNT * 3] = {
|
||||
14, 15, 3, // 0
|
||||
2, 7, 8, // 3
|
||||
6, 8, 7, // 6
|
||||
11, 3, 15, // 9
|
||||
5, 7, 3, // 12
|
||||
0, 4, 5, // 15
|
||||
2, 9, 4, // 18
|
||||
4, 6, 5, // 21
|
||||
15, 13, 12, // 24
|
||||
11, 12, 10, // 27
|
||||
2, 14, 3, // 30
|
||||
13, 10, 12, // 33
|
||||
13, 2, 10, // 36
|
||||
30, 19, 31, // 39
|
||||
24, 19, 18, // 42
|
||||
24, 22, 23, // 45
|
||||
27, 31, 19, // 48
|
||||
23, 21, 19, // 51
|
||||
20, 16, 21, // 54
|
||||
25, 18, 20, // 57
|
||||
21, 25, 20, // 60
|
||||
28, 30, 31, // 63
|
||||
28, 27, 26, // 66
|
||||
30, 18, 19, // 69
|
||||
29, 28, 26, // 72
|
||||
29, 26, 18, // 75
|
||||
3, 11, 27, // 78
|
||||
27, 19, 3, // 81
|
||||
19, 21, 3, // 84
|
||||
3, 21, 5, // 87
|
||||
21, 16, 5, // 90
|
||||
5, 16, 0, // 93
|
||||
1, 0, 16, // 96
|
||||
16, 17, 1, // 99
|
||||
17, 20, 1, // 102
|
||||
1, 20, 4, // 105
|
||||
4, 20, 2, // 108
|
||||
20, 18, 2, // 111
|
||||
18, 26, 10, // 114
|
||||
2, 18, 10, // 117
|
||||
10, 26, 11, // 120
|
||||
26, 27, 11, // 123
|
||||
2, 3, 7, // 126
|
||||
6, 9, 8, // 129
|
||||
5, 6, 7, // 132
|
||||
0, 1, 4, // 135
|
||||
2, 8, 9, // 138
|
||||
4, 9, 6, // 141
|
||||
15, 14, 13, // 144
|
||||
11, 15, 12, // 147
|
||||
2, 13, 14, // 150
|
||||
24, 23, 19, // 153
|
||||
24, 25, 22, // 156
|
||||
23, 22, 21, // 159
|
||||
20, 17, 16, // 162
|
||||
25, 24, 18, // 165
|
||||
21, 22, 25, // 168
|
||||
28, 29, 30, // 171
|
||||
28, 31, 27, // 174
|
||||
30, 29, 18 // 177
|
||||
}; // pokittoTriangleIndices
|
||||
|
||||
#define POKITTO_UV_COUNT 72
|
||||
const S3L_Unit pokittoUVs[POKITTO_UV_COUNT * 2] = {
|
||||
51, 322, // 0
|
||||
93, 322, // 2
|
||||
51, 150, // 4
|
||||
175, 344, // 6
|
||||
204, 383, // 8
|
||||
204, 344, // 10
|
||||
236, 383, // 12
|
||||
93, 285, // 14
|
||||
51, 106, // 16
|
||||
14, 150, // 18
|
||||
323, 383, // 20
|
||||
266, 344, // 22
|
||||
266, 383, // 24
|
||||
283, 199, // 26
|
||||
246, 244, // 28
|
||||
283, 244, // 30
|
||||
214, 494, // 32
|
||||
247, 455, // 34
|
||||
214, 455, // 36
|
||||
188, 494, // 38
|
||||
188, 455, // 40
|
||||
51, 383, // 42
|
||||
175, 383, // 44
|
||||
283, 28, // 46
|
||||
325, 65, // 48
|
||||
325, 28, // 50
|
||||
232, 322, // 52
|
||||
232, 150, // 54
|
||||
191, 322, // 56
|
||||
205, 441, // 58
|
||||
176, 402, // 60
|
||||
176, 441, // 62
|
||||
237, 402, // 64
|
||||
205, 402, // 66
|
||||
191, 285, // 68
|
||||
270, 150, // 70
|
||||
232, 106, // 72
|
||||
266, 441, // 74
|
||||
324, 402, // 76
|
||||
266, 402, // 78
|
||||
502, 244, // 80
|
||||
464, 199, // 82
|
||||
464, 244, // 84
|
||||
237, 441, // 86
|
||||
84, 455, // 88
|
||||
52, 494, // 90
|
||||
84, 494, // 92
|
||||
111, 494, // 94
|
||||
111, 455, // 96
|
||||
52, 402, // 98
|
||||
464, 28, // 100
|
||||
423, 28, // 102
|
||||
423, 65, // 104
|
||||
232, 26, // 106
|
||||
51, 26, // 108
|
||||
379, 343, // 110
|
||||
344, 343, // 112
|
||||
344, 497, // 114
|
||||
379, 497, // 116
|
||||
464, 324, // 118
|
||||
283, 324, // 120
|
||||
236, 344, // 122
|
||||
14, 106, // 124
|
||||
323, 344, // 126
|
||||
246, 199, // 128
|
||||
247, 494, // 130
|
||||
51, 344, // 132
|
||||
270, 106, // 134
|
||||
324, 441, // 136
|
||||
502, 199, // 138
|
||||
52, 455, // 140
|
||||
52, 441 // 142
|
||||
}; // pokittoUVs
|
||||
|
||||
#define POKITTO_UV_INDEX_COUNT 60
|
||||
const S3L_Index pokittoUVIndices[POKITTO_UV_INDEX_COUNT * 3] = {
|
||||
0, 1, 2, // 0
|
||||
3, 4, 5, // 3
|
||||
6, 5, 4, // 6
|
||||
7, 2, 1, // 9
|
||||
8, 9, 2, // 12
|
||||
10, 11, 12, // 15
|
||||
13, 14, 15, // 18
|
||||
11, 6, 12, // 21
|
||||
16, 17, 18, // 24
|
||||
19, 18, 20, // 27
|
||||
3, 21, 22, // 30
|
||||
23, 24, 25, // 33
|
||||
23, 13, 24, // 36
|
||||
26, 27, 28, // 39
|
||||
29, 30, 31, // 42
|
||||
29, 32, 33, // 45
|
||||
34, 28, 27, // 48
|
||||
35, 36, 27, // 51
|
||||
37, 38, 39, // 54
|
||||
40, 41, 42, // 57
|
||||
39, 43, 37, // 60
|
||||
44, 45, 46, // 63
|
||||
44, 47, 48, // 66
|
||||
49, 31, 30, // 69
|
||||
50, 51, 52, // 72
|
||||
50, 52, 41, // 75
|
||||
2, 7, 34, // 78
|
||||
34, 27, 2, // 81
|
||||
27, 36, 2, // 84
|
||||
2, 36, 8, // 87
|
||||
36, 53, 8, // 90
|
||||
8, 53, 54, // 93
|
||||
55, 56, 57, // 96
|
||||
57, 58, 55, // 99
|
||||
59, 42, 60, // 102
|
||||
60, 42, 15, // 105
|
||||
15, 42, 13, // 108
|
||||
42, 41, 13, // 111
|
||||
41, 52, 24, // 114
|
||||
13, 41, 24, // 117
|
||||
20, 48, 19, // 120
|
||||
48, 47, 19, // 123
|
||||
3, 22, 4, // 126
|
||||
6, 61, 5, // 129
|
||||
8, 62, 9, // 132
|
||||
10, 63, 11, // 135
|
||||
13, 64, 14, // 138
|
||||
11, 61, 6, // 141
|
||||
16, 65, 17, // 144
|
||||
19, 16, 18, // 147
|
||||
3, 66, 21, // 150
|
||||
29, 33, 30, // 153
|
||||
29, 43, 32, // 156
|
||||
35, 67, 36, // 159
|
||||
37, 68, 38, // 162
|
||||
40, 69, 41, // 165
|
||||
39, 32, 43, // 168
|
||||
44, 70, 45, // 171
|
||||
44, 46, 47, // 174
|
||||
49, 71, 31 // 177
|
||||
}; // pokittoUVIndices
|
||||
|
||||
S3L_Model3D pokittoModel;
|
||||
|
||||
void pokittoModelInit()
|
||||
{
|
||||
S3L_initModel3D(
|
||||
pokittoVertices,
|
||||
POKITTO_VERTEX_COUNT,
|
||||
pokittoTriangleIndices,
|
||||
POKITTO_TRIANGLE_COUNT,
|
||||
&pokittoModel);
|
||||
}
|
||||
|
||||
#endif // guard
|
185
programs/pokitto/pokittoTexture.h
Normal file
185
programs/pokitto/pokittoTexture.h
Normal file
|
@ -0,0 +1,185 @@
|
|||
#ifndef POKITTO_TEXTURE_H
|
||||
#define POKITTO_TEXTURE_H
|
||||
|
||||
#define POKITTO_TEXTURE_WIDTH 64
|
||||
#define POKITTO_TEXTURE_HEIGHT 64
|
||||
|
||||
const uint8_t pokittoTexture[4096] = {
|
||||
167,167,167,167,167,167,168,168,168,168,168,168,168,168,168,168,168,168,168,168,
|
||||
168,168,168,168,168,168,168,168,167,167,167,167,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,167,167,167,
|
||||
168,168,168,168,169,169,169,169,168,168,168,168,168,168,168,168,168,168,168,168,
|
||||
168,168,168,168,168,168,168,168,167,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,167,167,167,168,168,169,
|
||||
169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,
|
||||
169,169,169,169,168,168,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,167,167,167,168,169,169,169,169,169,
|
||||
169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,
|
||||
169,169,168,13,13,13,13,13,14,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
14,14,13,13,13,13,13,13,13,13,167,167,167,168,169,169,169,164,0,167,169,169,169,
|
||||
169,169,169,169,169,169,169,169,169,169,169,169,169,164,0,168,169,169,168,13,13,
|
||||
13,13,13,10,12,14,13,13,13,13,13,13,13,13,13,13,13,13,13,14,12,10,13,13,13,13,
|
||||
13,13,13,13,167,167,167,168,169,169,169,0,0,165,168,168,168,168,168,168,168,168,
|
||||
168,168,168,168,168,168,168,168,0,0,166,169,169,168,13,13,13,14,10,0,4,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,4,0,10,14,13,13,13,13,13,13,167,167,167,168,
|
||||
169,169,169,167,165,168,168,167,167,167,167,167,167,168,168,168,168,168,168,168,
|
||||
168,168,166,165,169,169,169,168,13,13,13,14,12,4,8,14,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,14,8,4,12,14,13,13,13,13,13,13,167,167,167,168,169,169,169,169,
|
||||
168,166,67,50,162,162,162,162,162,162,162,162,162,162,162,50,162,166,168,168,
|
||||
169,169,169,168,13,13,13,13,13,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,12,13,13,13,13,13,13,13,13,167,167,167,168,169,169,169,169,168,54,178,77,
|
||||
77,77,77,77,77,77,77,77,77,77,77,77,193,166,168,168,169,169,169,168,13,13,13,13,
|
||||
13,9,11,14,13,13,13,13,13,13,13,13,13,13,13,13,13,14,11,9,13,13,13,13,13,13,13,
|
||||
13,167,167,167,168,169,169,169,169,168,167,177,77,76,76,76,76,76,76,76,76,76,76,
|
||||
76,77,176,166,168,168,169,169,169,168,14,14,14,14,10,0,0,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,0,0,10,14,13,13,13,13,13,13,167,167,168,168,169,169,169,
|
||||
169,168,167,177,77,76,77,77,76,76,76,76,76,77,77,76,77,176,166,168,168,169,169,
|
||||
169,168,10,10,12,14,12,0,7,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,7,0,12,
|
||||
14,13,13,13,13,13,13,168,168,168,168,169,169,169,169,168,167,177,77,77,7,7,77,
|
||||
76,76,76,77,7,7,77,77,176,166,168,168,169,169,169,169,168,184,10,14,14,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,13,13,13,13,13,13,13,168,169,
|
||||
169,169,169,169,169,168,168,167,177,77,77,148,148,77,76,76,76,77,148,148,77,77,
|
||||
176,166,168,168,169,169,169,169,169,169,10,14,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,169,169,169,169,169,169,169,
|
||||
168,168,167,177,77,77,148,148,77,76,76,76,77,148,148,77,77,176,166,168,168,168,
|
||||
169,169,169,169,169,10,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,169,169,169,169,169,169,168,168,168,167,177,77,76,
|
||||
132,132,76,76,76,76,76,132,132,76,77,176,166,168,167,168,168,169,169,169,169,10,
|
||||
14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,169,169,168,36,54,167,168,168,168,167,177,77,76,75,75,76,76,76,76,76,
|
||||
75,75,76,77,176,166,168,167,167,167,53,36,168,169,10,14,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,169,169,167,36,36,
|
||||
54,168,168,168,167,177,77,76,77,77,77,76,76,76,77,77,77,76,77,176,166,168,167,
|
||||
167,166,36,36,167,169,10,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,169,169,169,167,168,168,169,168,168,54,177,77,
|
||||
76,76,132,76,77,77,77,76,132,76,76,77,176,166,168,168,168,168,168,167,169,169,
|
||||
10,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,169,169,169,169,169,169,169,169,169,54,177,77,76,77,75,132,132,132,
|
||||
132,132,75,77,76,77,176,166,168,168,169,169,169,169,169,169,10,14,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,168,169,
|
||||
169,169,169,169,169,169,169,54,176,77,76,76,77,77,75,75,75,77,77,76,76,77,0,166,
|
||||
169,168,169,169,169,169,169,169,10,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,168,168,168,169,169,169,169,169,169,
|
||||
54,177,78,77,77,77,77,77,77,77,77,77,77,77,78,192,166,169,168,169,169,169,169,
|
||||
169,169,10,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,167,167,168,168,168,168,169,169,169,54,66,176,176,176,176,176,
|
||||
176,176,176,176,176,176,176,176,67,166,169,169,169,169,184,184,184,184,10,14,13,
|
||||
13,12,11,11,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,167,167,167,167,167,168,169,169,169,169,169,169,169,169,169,169,169,169,169,
|
||||
169,169,169,169,169,168,168,168,169,169,42,10,10,10,10,12,14,13,12,12,13,13,11,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,167,167,167,
|
||||
167,168,168,169,169,169,168,167,167,167,167,167,167,167,167,167,167,167,167,167,
|
||||
183,167,167,168,169,169,10,14,14,14,14,14,13,14,11,12,9,11,12,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,167,167,167,167,168,168,169,169,
|
||||
169,168,167,8,13,12,167,167,167,167,167,167,167,167,167,42,13,13,42,168,169,10,
|
||||
14,13,13,13,13,13,13,11,12,10,11,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,167,167,167,167,168,168,169,169,169,168,182,10,12,13,
|
||||
183,183,167,167,167,167,167,183,182,10,12,12,10,168,169,10,14,13,14,14,13,13,13,
|
||||
11,13,13,13,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,13,13,
|
||||
13,167,167,167,167,168,168,169,169,168,8,10,12,13,13,10,10,56,167,167,167,167,
|
||||
10,10,40,11,12,40,169,169,10,14,14,12,10,13,13,13,11,13,11,12,12,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,12,10,13,13,13,167,167,167,167,168,168,169,
|
||||
169,169,13,12,13,13,13,14,12,10,183,167,183,10,12,12,10,182,167,168,169,169,10,
|
||||
14,13,4,0,10,12,13,11,11,9,10,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,12,3,0,10,14,13,167,167,167,167,168,169,169,169,168,10,11,12,13,13,11,11,40,
|
||||
167,167,167,9,13,13,9,183,167,168,169,169,10,14,14,8,4,12,12,13,11,13,12,13,12,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,12,8,4,12,14,13,167,167,167,167,
|
||||
168,169,169,169,169,168,182,10,13,14,183,183,167,167,167,167,167,40,40,167,167,
|
||||
167,168,169,169,10,14,13,14,13,14,13,13,13,11,12,12,12,13,13,13,13,13,13,13,13,
|
||||
8,12,2,12,0,14,13,13,13,14,13,14,13,13,167,167,167,167,168,169,169,169,169,168,
|
||||
183,9,13,12,167,167,167,167,167,167,167,167,167,167,167,167,168,169,169,10,14,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,8,12,4,12,3,14,13,13,13,
|
||||
13,13,13,13,13,13,167,167,167,167,168,169,169,169,169,168,167,168,7,40,167,167,
|
||||
167,167,167,167,167,167,167,167,167,167,168,169,169,10,14,13,13,13,13,13,13,12,
|
||||
12,11,12,13,13,13,13,13,13,14,7,12,4,12,3,13,13,13,13,13,13,13,13,13,13,13,167,
|
||||
167,167,167,168,169,169,169,169,168,168,168,168,168,168,8,14,14,14,12,168,168,
|
||||
168,168,168,168,168,169,169,10,14,13,13,13,13,13,13,12,13,13,12,13,13,13,13,13,
|
||||
14,7,12,4,12,4,13,13,13,13,13,13,13,13,13,13,13,13,167,167,167,167,168,168,169,
|
||||
168,0,163,168,168,169,169,169,57,12,12,12,10,168,168,168,168,168,163,0,167,169,
|
||||
10,14,14,13,13,13,13,13,12,13,13,12,13,13,13,13,13,7,12,2,12,3,11,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,167,167,167,167,168,169,169,166,0,0,169,169,169,169,169,
|
||||
169,169,168,169,169,169,169,169,169,169,0,0,166,169,42,10,10,12,14,13,13,13,12,
|
||||
13,13,12,13,13,13,13,13,13,13,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
167,167,167,167,168,169,169,169,166,167,169,169,169,169,169,169,169,169,169,169,
|
||||
169,169,169,169,169,167,166,169,169,169,184,183,10,14,13,13,13,12,12,12,12,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,167,167,167,
|
||||
167,168,169,169,169,167,167,169,169,169,169,169,168,168,169,168,169,169,169,169,
|
||||
169,169,168,167,169,169,169,168,183,10,14,13,13,13,14,14,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,14,13,13,13,13,13,13,13,167,167,167,167,168,169,
|
||||
169,168,36,54,169,169,169,168,168,168,168,168,168,168,168,168,169,169,169,54,36,
|
||||
168,169,169,168,183,10,14,13,13,13,10,11,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,9,12,14,13,13,13,13,13,13,167,167,167,167,168,169,169,167,36,36,169,
|
||||
169,169,168,168,167,167,167,167,167,168,168,169,169,169,36,36,167,169,169,168,
|
||||
183,10,14,13,14,10,0,0,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,9,0,0,13,13,
|
||||
13,13,13,13,13,167,167,167,167,168,169,169,169,167,168,169,169,169,168,167,167,
|
||||
167,167,167,167,167,168,169,169,169,168,167,169,169,169,168,183,10,14,13,14,12,
|
||||
0,7,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,12,0,7,14,13,13,13,13,13,13,
|
||||
167,167,167,167,168,168,168,169,169,169,169,168,168,168,167,167,167,167,167,167,
|
||||
167,168,168,169,169,169,169,169,169,169,168,183,10,14,13,13,14,13,14,14,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,14,13,14,14,13,13,13,13,13,13,167,167,167,
|
||||
167,167,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,169,
|
||||
169,169,169,169,169,169,169,168,184,10,14,13,13,13,13,13,13,13,13,14,14,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,167,167,167,183,10,14,13,
|
||||
14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,13,13,
|
||||
13,13,13,13,13,13,13,14,10,184,168,41,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,167,167,167,183,10,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,10,184,168,7,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,167,167,167,183,10,14,13,
|
||||
13,13,13,13,13,13,13,13,14,14,13,13,13,13,14,14,14,14,14,14,14,14,14,13,13,14,
|
||||
14,13,13,13,13,14,13,14,10,184,168,7,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,167,167,167,167,9,12,12,12,12,12,12,12,12,12,12,12,12,97,8,5,8,
|
||||
12,12,12,12,12,12,12,12,12,12,12,12,12,0,0,0,0,12,12,12,9,168,168,40,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,167,167,167,167,167,168,168,168,
|
||||
183,183,183,183,183,183,183,183,167,0,8,6,180,167,183,183,183,183,183,183,183,
|
||||
183,183,183,183,167,54,54,54,165,167,168,168,168,169,168,40,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,167,167,167,167,167,168,169,168,168,168,
|
||||
168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,
|
||||
168,168,168,168,168,168,168,168,168,168,169,169,169,168,40,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,167,167,167,167,167,168,169,169,169,169,169,
|
||||
169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,
|
||||
169,169,169,169,169,169,169,169,169,169,168,169,168,40,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,167,167,167,167,167,168,169,169,169,169,169,
|
||||
169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,
|
||||
169,169,169,169,169,169,169,169,169,169,168,168,168,7,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,167,167,167,167,167,168,169,168,168,168,168,
|
||||
168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,
|
||||
168,168,168,168,168,168,168,168,168,169,168,168,168,41,14,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,167,167,167,167,167,168,168,168,183,183,183,
|
||||
183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,
|
||||
183,183,183,183,183,183,183,167,168,168,168,169,168,38,10,12,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,167,167,167,167,9,12,12,12,12,12,12,12,12,12,
|
||||
12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
|
||||
12,9,169,167,116,0,10,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,167,
|
||||
167,167,183,10,14,14,14,13,14,14,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,10,184,167,4,2,10,14,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,167,167,167,183,10,14,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,14,10,184,167,4,2,10,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,167,
|
||||
167,167,183,10,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,10,168,167,4,2,10,14,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,167,167,167,183,10,14,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,168,168,168,168,168,
|
||||
168,168,168,168,168,169,167,4,97,10,14,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,167,167,167,183,10,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,14,168,168,167,167,167,167,167,167,168,168,169,167,4,
|
||||
1,10,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,167,167,167,183,10,14,
|
||||
14,13,13,13,13,13,13,13,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,
|
||||
168,167,167,167,167,167,167,167,167,168,169,167,4,1,10,14,13,13,13,13,13,13,13,
|
||||
13,13,13,13,13,13,13,13,13,167,167,167,183,9,12,12,12,12,12,12,12,12,12,11,224,
|
||||
7,12,12,12,9,0,0,11,12,12,12,12,12,12,12,12,168,167,167,167,167,167,167,167,168,
|
||||
168,169,167,4,80,10,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,167,167,
|
||||
167,167,167,168,168,168,168,168,168,168,167,167,182,114,179,167,183,167,167,168,
|
||||
168,168,184,167,168,168,168,168,168,168,168,167,167,167,167,167,167,167,167,168,
|
||||
169,167,3,1,10,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,167,167,167,
|
||||
167,168,168,169,169,169,169,169,168,169,168,169,168,168,168,168,168,168,168,168,
|
||||
168,168,168,168,168,168,168,168,168,168,167,167,167,167,167,167,167,167,168,169,
|
||||
168,41,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,167,167,167,167,
|
||||
167,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,
|
||||
168,168,168,168,168,168,168,168,167,167,167,167,167,167,167,167,167,168,168,168,
|
||||
41,14,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,167,167,167,167,167,
|
||||
168,168,168,168,168,167,167,167,168,168,168,168,168,168,168,168,168,168,167,167,
|
||||
167,167,167,167,167,167,167,167,167,167,167,167,167,167,167,167,167,167,167,7,
|
||||
13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13
|
||||
}; // pokittoTexture
|
||||
|
||||
#endif // guard
|
Loading…
Reference in a new issue