-
Notifications
You must be signed in to change notification settings - Fork 22
/
sprite.c
49 lines (44 loc) · 5.6 KB
/
sprite.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//AUTOGENERATED FILE FROM png2mtspr
#include <gb/gb.h>
#include <gb/metasprites.h>
const UINT8 sprite_data[960] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x03,0x03,0x07,0x07,0x0f,0x0f,0x0f,0x0f,0x1f,0x1f,0x1f,0x1f,0x3f,0x3f,0x3f,0x3f,
0x00,0x00,0x00,0x00,0x03,0x03,0x0f,0x0f,0x3f,0x3f,0x7f,0x7f,0xff,0xff,0xef,0xf0,0xef,0xf0,0xff,0xfc,0xff,0xfe,0xff,0xfe,0xff,0xfe,0xff,0xfe,0xff,0xfe,0xff,0xfe,
0x03,0x03,0x7f,0x7f,0xf7,0xfb,0xff,0xf3,0xff,0xf3,0xff,0xf3,0xff,0xf3,0xff,0x00,0xff,0x00,0xfe,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,
0xe0,0xe0,0xfe,0xfe,0xff,0xe7,0xff,0xe7,0xff,0xe7,0xff,0xe7,0xff,0xe7,0xff,0x07,0xff,0x01,0xff,0x00,0xff,0xe0,0xff,0xf8,0xff,0xf8,0xff,0xfc,0xff,0xfc,0xff,0xfc,
0x00,0x00,0x00,0x00,0xc0,0xc0,0xf0,0xf0,0xfc,0xfc,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x7f,0xff,0x3f,0xff,0x1f,0xff,0x1f,0xef,0x1f,0xff,0x0f,0xff,0x0f,
0x3f,0x3f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x3f,0x3f,
0xff,0xfe,0xff,0xfe,0xff,0xfe,0xff,0xfe,0xff,0xfe,0xff,0xfe,0xff,0xfe,0xff,0xfe,0xff,0xfe,0xff,0xfe,0xff,0xfe,0xff,0xfe,0xff,0xfe,0xff,0xfe,0xff,0xfe,0xff,0xfe,
0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,
0xff,0xfc,0xff,0xfc,0xfb,0xfc,0xff,0xf8,0xff,0xe0,0xff,0x01,0xfe,0x01,0xff,0x00,0xff,0xf0,0xfb,0xfc,0xff,0xfc,0xff,0xfe,0xff,0xfe,0xff,0xff,0xff,0xff,0xfe,0xff,
0xff,0x0f,0xff,0x1f,0xff,0x1f,0xff,0x3f,0x7f,0xff,0xff,0xff,0xff,0xff,0xbf,0x7f,0xff,0x1f,0xff,0x0f,0xff,0x07,0xff,0x07,0xff,0x07,0xff,0x07,0xfb,0x07,0xff,0x07,
0xfc,0xfc,0xfe,0xfe,0xfe,0xfe,0xfe,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xfe,0xfe,0xfe,0xfe,0xfe,0xfc,0xfc,
0xff,0xfe,0xff,0xfe,0xff,0xfe,0xff,0xfe,0xff,0xfe,0xfb,0xfc,0xff,0xe0,0xef,0xf0,0xff,0xff,0xff,0xff,0x7f,0x7f,0x3f,0x3f,0x0f,0x0f,0x03,0x03,0x00,0x00,0x00,0x00,
0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xfd,0x0e,0xff,0x00,0xff,0x00,0xff,0xf3,0xff,0xf3,0xff,0xf3,0xff,0xf3,0xf7,0xfb,0xff,0xff,0x7f,0x7f,0x07,0x07,
0xff,0xfe,0xff,0xfe,0xff,0xfc,0xff,0xf8,0xff,0xe0,0xff,0x00,0xff,0x01,0xdf,0x27,0xff,0xe7,0xff,0xe7,0xff,0xe7,0xff,0xe7,0xff,0xe7,0xff,0xff,0xfe,0xfe,0xe0,0xe0,
0xff,0x07,0xff,0x07,0xf7,0x0f,0xef,0x1f,0xdf,0x3f,0xbf,0x7f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfc,0xfc,0xf0,0xf0,0xc0,0xc0,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x02,0x02,0x05,0x05,0x0b,0x0b,0x17,0x17,0x17,0x17,0x2f,0x2f,0x2f,0x2f,0x1f,0x1f,
0x00,0x00,0x00,0x00,0x06,0x06,0x19,0x19,0x27,0x27,0x5f,0x5f,0xbf,0xbf,0x7f,0x7f,0xff,0xff,0xf8,0xff,0xf8,0xff,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0x00,0x00,0x00,0x00,0x7f,0x7b,0xff,0xff,0xff,0xff,0xfb,0xff,0xfb,0xff,0xfb,0xff,0xfb,0xff,0x00,0xff,0x00,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,
0x00,0x00,0x00,0x00,0xee,0xee,0xff,0xff,0xff,0xff,0xef,0xff,0xef,0xff,0xef,0xff,0xef,0xff,0x4f,0xff,0x03,0xff,0xc0,0xff,0xf0,0xff,0xf0,0xff,0xf8,0xff,0xf8,0xff,
0x00,0x00,0x00,0x00,0x60,0x60,0x98,0x98,0xe4,0xe4,0xfa,0xfa,0xfd,0xfd,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x7f,0xff,0x7f,0xff,0x3f,0xff,0x3f,0xff,
0x1f,0x1f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x1f,0x1f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x1f,0x1f,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x00,0xff,0x00,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,
0xf8,0xff,0xf8,0xff,0xf8,0xff,0xf8,0xff,0xf0,0xff,0xe1,0xff,0x0f,0xff,0x01,0xff,0xe0,0xff,0xf8,0xff,0xfc,0xff,0xfc,0xff,0xfc,0xff,0xfe,0xff,0xfe,0xff,0xfe,0xff,
0x3f,0xff,0x3f,0xff,0x3f,0xff,0x7f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x7f,0xff,0x3f,0xff,0x1f,0xff,0x1f,0xff,0x1f,0xff,0x0f,0xff,0x0f,0xff,0x1f,0xff,
0xf8,0xf8,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xf8,0xf8,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xf8,0xf8,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xf8,0xf8,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xff,0xf8,0xff,0xff,0xff,0xff,0xff,0x7f,0x7f,0xbf,0xbf,0x5f,0x5f,0x27,0x27,0x19,0x19,0x06,0x06,0x00,0x00,0x00,0x00,
0x0f,0xff,0x0f,0xff,0x0f,0xff,0x0f,0xff,0x06,0xff,0x00,0xff,0xf3,0xff,0xfb,0xff,0xfb,0xff,0xfb,0xff,0xfb,0xff,0xff,0xff,0xff,0xff,0x77,0x77,0x00,0x00,0x00,0x00,
0xfc,0xff,0xfc,0xff,0xf8,0xff,0xe0,0xff,0x01,0xff,0x07,0xff,0xef,0xff,0xcf,0xff,0xef,0xff,0xcf,0xff,0xef,0xff,0xff,0xff,0xff,0xff,0xee,0xee,0x00,0x00,0x00,0x00,
0x1f,0xff,0x1f,0xff,0x3f,0xff,0x7f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfd,0xfd,0xfa,0xfa,0xe4,0xe4,0x98,0x98,0x60,0x60,0x00,0x00,0x00,0x00
};
const metasprite_t sprite_metasprite0[] = {
{-24, -32, 0, 0}, {0, 8, 2, 0}, {0, 8, 4, 0}, {0, 8, 6, 0}, {0, 8, 8, 0}, {0, 8, 0, 32}, {16, -40, 10, 0}, {0, 8, 12, 0}, {0, 8, 14, 0}, {0, 8, 16, 0}, {0, 8, 18, 0}, {0, 8, 20, 0}, {16, -40, 0, 64}, {0, 8, 22, 0}, {0, 8, 24, 0}, {0, 8, 26, 0}, {0, 8, 28, 0}, {0, 8, 0, 96}, {metasprite_end}
};
const metasprite_t sprite_metasprite1[] = {
{-24, -32, 30, 0}, {0, 8, 32, 0}, {0, 8, 34, 0}, {0, 8, 36, 0}, {0, 8, 38, 0}, {0, 8, 30, 32}, {16, -40, 40, 0}, {0, 8, 42, 0}, {0, 8, 44, 0}, {0, 8, 46, 0}, {0, 8, 48, 0}, {0, 8, 50, 0}, {16, -40, 30, 64}, {0, 8, 52, 0}, {0, 8, 54, 0}, {0, 8, 56, 0}, {0, 8, 58, 0}, {0, 8, 30, 96}, {metasprite_end}
};
const metasprite_t* const sprite_metasprites[2] = {
sprite_metasprite0, sprite_metasprite1
};