gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
gbdk-support/png2asset/testing/ref/sprite_slon_2.c
1 //AUTOGENERATED FILE FROM png2asset
2 // Conversion args: /sprite_slon.png -c /sprite_slon_2.c -sh 48 -spr8x16 -noflip
3
4 #include <stdint.h>
5 #include <gbdk/platform.h>
6 #include <gbdk/metasprites.h>
7
8 BANKREF(sprite_slon_2)
9
10 const palette_color_t sprite_slon_2_palettes[4] = {
11 RGB8(255,255,255), RGB8(224,248,207), RGB8(134,192,108), RGB8( 7, 24, 33)
12 };
13
14 const uint8_t sprite_slon_2_tiles[960] = {
15 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
16 0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x0d,0x0e,0x1f,0x10,0x3f,0x20,0x3f,0x20,
17 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
18 0x00,0x00,0x03,0x03,0xfd,0xfe,0x3f,0xc0,0xff,0x0c,0xff,0x13,0xf7,0x08,0xc1,0x3e,
19 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
20 0x7f,0x7f,0x9f,0xe0,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x80,0xff,0x40,
21 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
22 0xf0,0xf0,0xcf,0x3f,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,
23 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
24 0x00,0x00,0xc0,0xc0,0x3c,0xfc,0xf3,0x0f,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,
25 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
26 0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0xc0,0xb0,0x70,0xf8,0x08,0xfc,0x04,0xfc,0x04,
27 0x3f,0x20,0x3f,0x20,0x3f,0x20,0x3f,0x20,0x3f,0x20,0x3f,0x23,0x3d,0x23,0x5e,0x61,
28 0x5e,0x61,0x7c,0x43,0x78,0x47,0x79,0x47,0xbb,0xc7,0xb3,0xcf,0xf2,0x8e,0xf4,0x8c,
29 0xc0,0x3f,0xc0,0x3f,0xc0,0x3f,0xcf,0x30,0xff,0x08,0xbf,0xc4,0xe7,0xdc,0x07,0xfc,
30 0x02,0xff,0x03,0xff,0x00,0xff,0x87,0xff,0xff,0xff,0xc1,0xc1,0x01,0x01,0x00,0x00,
31 0xff,0x20,0x7f,0xa0,0x7f,0x90,0xff,0x10,0xff,0x10,0xdf,0x30,0xff,0x60,0xbf,0xc0,
32 0xbd,0xc2,0x3c,0xc3,0x7e,0x81,0xff,0x80,0xff,0x80,0xbf,0xc0,0xff,0xc0,0xff,0xc0,
33 0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0x3f,0xc0,
34 0x07,0xf8,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x40,0xff,0x40,0xff,
35 0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xfc,0x03,
36 0xe0,0x1f,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x02,0xff,0x02,0xff,
37 0xfe,0x02,0xfe,0x02,0xfd,0x03,0xff,0x01,0xff,0x01,0xff,0x01,0xff,0x00,0x7f,0x80,
38 0x7f,0x80,0xff,0x00,0xfe,0x01,0xff,0x01,0xfd,0x03,0xfd,0x03,0x79,0x87,0x71,0x8f,
39 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x80,0x80,
40 0x40,0xc0,0xc0,0x40,0xc0,0x40,0xc0,0x40,0xe0,0x20,0x60,0xa0,0x60,0xa0,0xa0,0xe0,
41 0xf4,0x8c,0xf4,0x8c,0xb4,0xcc,0xb8,0xc8,0xb8,0xc8,0x78,0x48,0x78,0x48,0x78,0x48,
42 0x74,0x4c,0x5c,0x64,0x3c,0x24,0x3e,0x22,0x19,0x17,0x0b,0x0f,0x06,0x06,0x00,0x00,
43 0xdf,0xe0,0x7f,0x60,0x7e,0x61,0x6e,0x71,0x7e,0x71,0x7c,0x73,0x70,0x7f,0x78,0x7f,
44 0x78,0x7f,0x78,0x7f,0x7c,0x7f,0x7c,0x7f,0x7c,0x7f,0xfb,0xfc,0xfb,0xfc,0x0f,0x0f,
45 0x70,0xff,0x4f,0xcf,0x41,0xc1,0x40,0xc0,0x40,0xc0,0x40,0xc0,0x20,0xe0,0x20,0xe0,
46 0x20,0xe0,0x20,0xe0,0x20,0xe0,0x10,0xf0,0x10,0xf0,0x90,0x70,0xd0,0x30,0xe0,0xe0,
47 0x02,0xff,0xfe,0xff,0xfe,0xff,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x1f,0x1f,
48 0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x00,0x00,
49 0x01,0xff,0x01,0xff,0x01,0xff,0x01,0xff,0x01,0xff,0x82,0xfe,0x82,0xfe,0xc2,0xfe,
50 0xc2,0xfe,0x42,0x7e,0x42,0x7e,0x42,0x7e,0x81,0xff,0xb9,0xc7,0xfd,0x83,0xfe,0xfe,
51 0x50,0x70,0x50,0x70,0x50,0x70,0x50,0x70,0x30,0x30,0x20,0x20,0x00,0x00,0x00,0x00,
52 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
53 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x80,0x80,
54 0x40,0xc0,0xc0,0x40,0xc0,0x40,0xe0,0x20,0x60,0xa0,0xb0,0xd0,0x70,0x50,0x50,0x70,
55 0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
56 0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
57 0xf4,0x8c,0xf4,0x8c,0xf4,0x8c,0x78,0x88,0xe8,0x18,0xf0,0x10,0xf0,0x10,0xf0,0x10,
58 0x70,0x90,0xf0,0x90,0xe8,0x98,0x78,0x48,0x64,0x5c,0x2c,0x3c,0x18,0x18,0x00,0x00,
59 0x38,0x28,0x38,0x28,0x28,0x38,0x18,0x18,0x18,0x18,0x08,0x08,0x00,0x00,0x00,0x00,
60 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
61 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x80,0x80,
62 0x40,0xc0,0xc0,0x40,0xe0,0x20,0xe0,0x20,0xf0,0x90,0xb0,0xd0,0x78,0x48,0x34,0x2c,
63 0x01,0x01,0x01,0x01,0x01,0x01,0x02,0x03,0x03,0x02,0x03,0x02,0x05,0x06,0x07,0x04,
64 0x07,0x04,0x07,0x04,0x07,0x04,0x05,0x06,0x03,0x02,0x02,0x03,0x01,0x01,0x00,0x00,
65 0x74,0x8c,0xf4,0x0c,0xe8,0x18,0xf8,0x18,0xd0,0x30,0xe0,0x20,0xc0,0x40,0x40,0xc0,
66 0x80,0x80,0x80,0x80,0x80,0x80,0x40,0xc0,0x40,0xc0,0x40,0xc0,0xc0,0xc0,0x00,0x00,
67 0x1c,0x14,0x0e,0x0a,0x07,0x05,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
68 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
69 0x01,0x01,0x01,0x01,0x01,0x01,0x02,0x03,0x03,0x02,0x07,0x04,0x07,0x04,0x0f,0x08,
70 0x0f,0x09,0x15,0x1b,0x1e,0x12,0x1e,0x12,0x1a,0x16,0x12,0x1e,0x1e,0x1e,0x00,0x00,
71 0x74,0x8c,0xf4,0x0c,0xe8,0x18,0xf8,0x18,0xd0,0x30,0xe0,0x20,0xc0,0x40,0x80,0x80,
72 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
73 0x01,0x01,0x01,0x01,0x01,0x01,0x02,0x03,0x03,0x02,0x07,0x04,0x0b,0x0c,0x0f,0x08,
74 0x1f,0x11,0x1e,0x12,0x2a,0x36,0x3c,0x24,0x24,0x3c,0x28,0x38,0x38,0x38,0x00,0x00
75 };
76
77 const metasprite_t sprite_slon_2_metasprite0[] = {
78 METASPR_ITEM(-24, -24, 0, S_PAL(0)),
79 METASPR_ITEM(0, 8, 2, S_PAL(0)),
80 METASPR_ITEM(0, 8, 4, S_PAL(0)),
81 METASPR_ITEM(0, 8, 6, S_PAL(0)),
82 METASPR_ITEM(0, 8, 8, S_PAL(0)),
83 METASPR_ITEM(0, 8, 10, S_PAL(0)),
84 METASPR_ITEM(16, -40, 12, S_PAL(0)),
85 METASPR_ITEM(0, 8, 14, S_PAL(0)),
86 METASPR_ITEM(0, 8, 16, S_PAL(0)),
87 METASPR_ITEM(0, 8, 18, S_PAL(0)),
88 METASPR_ITEM(0, 8, 20, S_PAL(0)),
89 METASPR_ITEM(0, 8, 22, S_PAL(0)),
90 METASPR_ITEM(0, 8, 24, S_PAL(0)),
91 METASPR_ITEM(16, -48, 26, S_PAL(0)),
92 METASPR_ITEM(0, 16, 28, S_PAL(0)),
93 METASPR_ITEM(0, 8, 30, S_PAL(0)),
94 METASPR_ITEM(0, 8, 32, S_PAL(0)),
95 METASPR_ITEM(0, 8, 34, S_PAL(0)),
96 METASPR_ITEM(0, 8, 36, S_PAL(0)),
97 METASPR_TERM
98 };
99
100 const metasprite_t sprite_slon_2_metasprite1[] = {
101 METASPR_ITEM(-24, -24, 0, S_PAL(0)),
102 METASPR_ITEM(0, 8, 2, S_PAL(0)),
103 METASPR_ITEM(0, 8, 4, S_PAL(0)),
104 METASPR_ITEM(0, 8, 6, S_PAL(0)),
105 METASPR_ITEM(0, 8, 8, S_PAL(0)),
106 METASPR_ITEM(0, 8, 10, S_PAL(0)),
107 METASPR_ITEM(16, -40, 12, S_PAL(0)),
108 METASPR_ITEM(0, 8, 14, S_PAL(0)),
109 METASPR_ITEM(0, 8, 16, S_PAL(0)),
110 METASPR_ITEM(0, 8, 18, S_PAL(0)),
111 METASPR_ITEM(0, 8, 20, S_PAL(0)),
112 METASPR_ITEM(0, 8, 22, S_PAL(0)),
113 METASPR_ITEM(0, 8, 38, S_PAL(0)),
114 METASPR_ITEM(16, -56, 40, S_PAL(0)),
115 METASPR_ITEM(0, 8, 42, S_PAL(0)),
116 METASPR_ITEM(0, 16, 28, S_PAL(0)),
117 METASPR_ITEM(0, 8, 30, S_PAL(0)),
118 METASPR_ITEM(0, 8, 32, S_PAL(0)),
119 METASPR_ITEM(0, 8, 34, S_PAL(0)),
120 METASPR_ITEM(0, 8, 44, S_PAL(0)),
121 METASPR_TERM
122 };
123
124 const metasprite_t sprite_slon_2_metasprite2[] = {
125 METASPR_ITEM(-24, -24, 0, S_PAL(0)),
126 METASPR_ITEM(0, 8, 2, S_PAL(0)),
127 METASPR_ITEM(0, 8, 4, S_PAL(0)),
128 METASPR_ITEM(0, 8, 6, S_PAL(0)),
129 METASPR_ITEM(0, 8, 8, S_PAL(0)),
130 METASPR_ITEM(0, 8, 10, S_PAL(0)),
131 METASPR_ITEM(16, -40, 12, S_PAL(0)),
132 METASPR_ITEM(0, 8, 14, S_PAL(0)),
133 METASPR_ITEM(0, 8, 16, S_PAL(0)),
134 METASPR_ITEM(0, 8, 18, S_PAL(0)),
135 METASPR_ITEM(0, 8, 20, S_PAL(0)),
136 METASPR_ITEM(0, 8, 22, S_PAL(0)),
137 METASPR_ITEM(0, 8, 46, S_PAL(0)),
138 METASPR_ITEM(16, -56, 48, S_PAL(0)),
139 METASPR_ITEM(0, 8, 50, S_PAL(0)),
140 METASPR_ITEM(0, 16, 28, S_PAL(0)),
141 METASPR_ITEM(0, 8, 30, S_PAL(0)),
142 METASPR_ITEM(0, 8, 32, S_PAL(0)),
143 METASPR_ITEM(0, 8, 34, S_PAL(0)),
144 METASPR_ITEM(0, 8, 52, S_PAL(0)),
145 METASPR_TERM
146 };
147
148 const metasprite_t sprite_slon_2_metasprite3[] = {
149 METASPR_ITEM(-24, -24, 0, S_PAL(0)),
150 METASPR_ITEM(0, 8, 2, S_PAL(0)),
151 METASPR_ITEM(0, 8, 4, S_PAL(0)),
152 METASPR_ITEM(0, 8, 6, S_PAL(0)),
153 METASPR_ITEM(0, 8, 8, S_PAL(0)),
154 METASPR_ITEM(0, 8, 10, S_PAL(0)),
155 METASPR_ITEM(16, -40, 12, S_PAL(0)),
156 METASPR_ITEM(0, 8, 14, S_PAL(0)),
157 METASPR_ITEM(0, 8, 16, S_PAL(0)),
158 METASPR_ITEM(0, 8, 18, S_PAL(0)),
159 METASPR_ITEM(0, 8, 20, S_PAL(0)),
160 METASPR_ITEM(0, 8, 22, S_PAL(0)),
161 METASPR_ITEM(0, 8, 38, S_PAL(0)),
162 METASPR_ITEM(16, -56, 54, S_PAL(0)),
163 METASPR_ITEM(0, 8, 56, S_PAL(0)),
164 METASPR_ITEM(0, 16, 28, S_PAL(0)),
165 METASPR_ITEM(0, 8, 30, S_PAL(0)),
166 METASPR_ITEM(0, 8, 32, S_PAL(0)),
167 METASPR_ITEM(0, 8, 34, S_PAL(0)),
168 METASPR_ITEM(0, 8, 44, S_PAL(0)),
169 METASPR_TERM
170 };
171
172 const metasprite_t sprite_slon_2_metasprite4[] = {
173 METASPR_ITEM(-24, -24, 0, S_PAL(0)),
174 METASPR_ITEM(0, 8, 2, S_PAL(0)),
175 METASPR_ITEM(0, 8, 4, S_PAL(0)),
176 METASPR_ITEM(0, 8, 6, S_PAL(0)),
177 METASPR_ITEM(0, 8, 8, S_PAL(0)),
178 METASPR_ITEM(0, 8, 10, S_PAL(0)),
179 METASPR_ITEM(16, -40, 12, S_PAL(0)),
180 METASPR_ITEM(0, 8, 14, S_PAL(0)),
181 METASPR_ITEM(0, 8, 16, S_PAL(0)),
182 METASPR_ITEM(0, 8, 18, S_PAL(0)),
183 METASPR_ITEM(0, 8, 20, S_PAL(0)),
184 METASPR_ITEM(0, 8, 22, S_PAL(0)),
185 METASPR_ITEM(0, 8, 24, S_PAL(0)),
186 METASPR_ITEM(16, -56, 58, S_PAL(0)),
187 METASPR_ITEM(0, 8, 56, S_PAL(0)),
188 METASPR_ITEM(0, 16, 28, S_PAL(0)),
189 METASPR_ITEM(0, 8, 30, S_PAL(0)),
190 METASPR_ITEM(0, 8, 32, S_PAL(0)),
191 METASPR_ITEM(0, 8, 34, S_PAL(0)),
192 METASPR_ITEM(0, 8, 36, S_PAL(0)),
193 METASPR_TERM
194 };
195
196 const metasprite_t* const sprite_slon_2_metasprites[5] = {
197 sprite_slon_2_metasprite0, sprite_slon_2_metasprite1, sprite_slon_2_metasprite2, sprite_slon_2_metasprite3, sprite_slon_2_metasprite4
198 };
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.