anarch/assets.h

332 lines
23 KiB
C

/**
@file assets.h
Assets to be used in game. Textures are stored by columns for cache
friendliness (as rendering also happens by columns).
*/
#ifndef _SFG_RESOURCES_H
#define _SFG_RESOURCES_H
#define SFG_TEXTURE_SIZE 32
/**
Color index which will in textures and sprites be considered transparent.
*/
#define SFG_TRANSPARENT_COLOR 175
/**
Special index of an implicit texture that consists of only transparent pixels.
*/
#define SFG_TRANSPARENT_TEXTURE 255
static inline uint8_t SFG_getTexel(const uint8_t *texture, uint8_t x, uint8_t y)
{
return texture[(x & 0x1f) * SFG_TEXTURE_SIZE + (y & 0x1f)];
}
const uint8_t SFG_texturesWall[][SFG_TEXTURE_SIZE * SFG_TEXTURE_SIZE] =
{
{ // 0: white wooden planks
4,5,3,4,3,4,4,20,4,21,21,4,4,20,21,57,4,4,21,5,21,4,4,5,3,4,4,4,21,4,4,4,4,5,3,
5,20,6,17,20,4,21,21,4,21,20,21,57,21,4,21,21,21,4,4,5,18,4,4,21,21,21,4,4,81,
136,26,0,3,2,18,3,4,21,4,4,21,3,4,49,21,21,4,5,21,4,4,5,26,4,4,21,21,21,4,4,4,4,
5,4,4,4,21,74,4,4,4,4,4,3,21,73,21,4,4,21,4,4,21,5,2,4,4,21,5,21,4,4,4,4,5,4,4,
4,4,3,4,4,4,4,4,3,5,65,21,4,4,4,21,4,4,5,2,4,4,5,21,21,4,4,4,4,21,4,4,4,21,3,4,
4,21,4,4,3,5,65,4,4,21,4,21,21,4,5,26,4,4,5,21,21,4,4,20,4,5,21,4,4,4,3,4,4,4,4,
4,3,5,1,4,4,4,4,5,21,4,5,3,4,4,21,21,4,4,4,20,4,5,5,4,4,21,3,4,4,4,4,4,3,5,1,4,
4,3,4,4,4,3,5,20,4,4,5,21,21,4,20,4,4,5,21,4,4,21,3,4,4,21,4,4,3,5,49,6,5,4,5,5,
3,5,6,2,4,4,5,21,21,4,4,3,4,21,5,4,4,21,3,4,4,5,4,4,3,22,0,0,0,0,0,0,0,0,0,56,4,
4,5,5,4,4,4,3,21,5,5,4,4,21,3,4,4,21,4,4,3,5,2,5,4,4,5,4,4,4,5,3,4,4,21,5,4,4,4,
3,4,5,5,4,4,4,4,4,4,5,4,4,3,5,1,4,4,4,5,4,4,4,5,3,4,21,21,5,21,4,4,3,21,21,5,4,
4,4,3,4,4,5,4,4,3,5,25,4,5,4,5,4,4,4,21,3,4,4,21,5,4,20,4,3,4,5,5,21,4,5,3,21,4,
21,4,4,3,5,73,4,5,4,5,4,21,4,4,3,4,21,5,5,21,4,4,26,4,5,5,21,4,5,3,4,20,21,4,4,
3,5,57,4,21,4,5,4,21,4,4,3,4,4,21,21,21,20,4,3,4,5,21,4,3,5,4,5,4,5,4,5,4,6,65,
4,21,4,5,4,21,4,4,3,4,21,21,21,4,3,4,3,4,5,21,4,4,4,26,10,0,16,0,16,0,17,0,4,21,
4,5,21,21,4,4,3,4,21,21,4,4,4,4,20,4,21,21,4,4,4,4,3,4,4,3,4,3,4,3,4,21,4,5,5,4,
4,4,3,4,4,21,4,4,4,4,3,4,5,21,21,4,21,4,3,4,4,4,4,3,4,3,4,21,4,5,21,4,4,4,3,4,
21,21,4,4,4,4,3,4,5,5,5,3,21,4,4,4,21,4,4,4,4,3,4,21,4,5,21,4,4,21,26,4,4,5,4,4,
4,4,3,4,5,5,21,3,21,4,4,21,4,4,4,3,4,26,4,5,20,21,21,4,4,21,3,4,21,5,21,4,4,4,3,
4,5,5,21,3,4,4,4,21,4,4,21,3,4,3,4,21,20,4,5,4,20,4,3,4,21,5,4,21,4,20,3,4,5,5,
4,3,21,20,4,21,4,4,21,3,4,3,4,4,4,4,21,4,4,21,3,4,4,5,4,4,4,20,3,4,5,5,21,3,4,4,
4,5,21,4,21,3,4,3,4,4,4,4,5,4,4,21,3,4,21,21,4,4,21,3,3,4,4,5,4,3,4,4,4,21,21,
21,21,3,21,26,4,4,21,4,5,4,4,21,3,21,4,21,4,4,4,20,3,21,21,5,4,3,4,20,4,5,21,21,
5,20,21,2,4,4,5,4,21,4,4,21,3,21,4,21,4,4,4,4,3,4,4,5,4,20,5,20,4,21,21,21,21,3,
21,2,4,4,5,21,21,4,4,21,82,6,4,4,5,4,5,5,3,21,4,21,4,3,5,3,4,21,5,21,21,3,21,2,
4,4,21,21,21,4,4,21,0,20,18,2,20,96,20,0,3,4,4,5,4,3,5,20,3,21,21,4,5,3,5,2,4,4,
4,21,21,4,4,21,3,3,3,3,4,3,3,3,3,4,4,21,4,20,5,20,4,21,5,4,21,3,21,65,4,4,21,5,
21,4,4,5,3,4,4,4,21,4,4,4,3,5,4,21,4,4,5,3,4,21,21,4,4,20,5,224,21,4,4,21,21,4,
4,5,26,4,4,4,21,4,4,4,4,5,4,4,4,4,4,3,20,21,21,4,4,20,21,57,4,4,4,5,5,4,21,5,18,
4,4,4,21,4,4,4
},
{ // 1: skyscraper window
4,4,44,5,4,3,4,4,44,4,5,4,132,3,5,4,4,4,4,4,5,3,66,3,4,132,4,44,4,131,4,5,132,4,
44,4,4,3,5,4,5,5,4,4,4,3,4,4,5,5,4,4,4,2,66,4,4,4,4,4,4,131,4,4,4,4,4,5,4,3,5,4,
4,5,5,4,3,3,4,4,4,4,4,4,5,2,2,4,4,44,4,4,4,131,4,4,4,4,5,5,4,131,3,4,4,44,3,3,
50,1,0,137,3,50,3,4,3,2,1,3,3,4,4,4,4,3,51,5,4,4,4,2,2,59,3,3,3,3,3,3,3,3,3,3,3,
3,3,3,3,3,3,3,3,3,3,2,66,2,67,59,2,83,3,3,50,4,6,6,5,6,6,5,6,5,6,6,5,6,5,5,6,6,
6,6,6,6,6,6,3,66,8,2,5,5,5,4,138,3,5,5,5,4,5,5,4,5,5,5,5,5,5,4,5,5,4,5,5,5,5,6,
3,60,5,5,85,5,5,4,217,4,5,5,4,5,5,6,81,81,128,137,2,138,81,137,2,129,2,59,138,
128,5,6,3,4,86,5,4,4,4,4,2,3,5,5,5,5,5,6,128,48,137,81,48,81,81,128,81,59,129,2,
48,0,5,5,81,2,3,4,2,49,66,81,2,4,5,4,5,5,5,6,81,81,48,81,129,2,2,81,81,2,59,59,
128,48,4,6,81,2,2,66,4,4,4,4,2,3,5,5,5,5,5,6,128,81,0,81,2,59,129,59,129,81,81,
81,81,2,4,4,3,3,4,45,4,4,4,4,2,4,5,20,6,5,5,6,81,81,81,81,138,2,2,137,81,137,48,
81,128,138,5,4,4,3,5,5,4,4,3,4,2,4,5,5,4,5,5,6,81,81,129,81,128,130,81,81,81,81,
128,128,138,81,5,6,3,4,4,4,4,3,4,4,2,3,5,5,5,5,5,6,48,48,81,48,81,3,138,48,128,
137,81,81,2,2,4,6,59,3,4,4,4,4,4,4,138,4,5,5,5,4,5,6,48,48,48,48,0,137,81,48,2,
81,0,128,139,59,5,5,2,4,4,4,44,4,4,4,3,26,5,4,5,5,5,6,6,68,6,6,6,6,6,6,6,6,6,6,
6,68,4,6,66,3,4,4,4,4,4,4,3,3,5,5,5,5,5,6,68,61,6,68,6,61,6,76,6,60,6,76,6,6,5,
5,82,4,4,4,3,3,3,4,2,3,5,5,28,4,5,6,0,0,0,0,81,2,138,0,0,2,130,3,59,130,5,6,81,
3,4,4,3,3,4,2,2,26,5,5,5,5,5,6,0,0,0,0,0,216,81,2,129,2,59,59,59,3,4,6,2,49,2,2,
5,4,4,4,81,4,6,5,5,5,5,6,0,0,0,0,0,0,48,59,129,59,3,4,59,59,5,6,66,2,4,5,4,4,4,
4,131,26,5,5,5,5,5,6,0,0,48,0,0,0,48,216,2,4,59,59,3,51,5,6,218,2,5,4,4,4,4,4,3,
3,5,5,4,5,5,6,0,0,0,48,48,0,48,129,2,59,59,3,59,59,5,6,66,5,4,44,4,4,4,4,2,4,5,
5,4,5,5,6,0,81,48,48,48,0,128,138,81,3,3,59,59,3,5,5,138,4,4,4,4,3,4,4,3,3,4,28,
5,4,5,6,0,48,48,0,0,0,138,2,48,137,137,51,3,59,5,6,131,3,5,4,4,4,4,4,3,2,5,5,4,
5,5,6,0,0,0,0,0,0,48,81,0,0,130,59,59,59,5,5,2,51,4,4,4,4,4,4,4,2,5,4,5,4,5,4,5,
5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,2,3,5,4,3,3,4,4,3,131,6,5,5,5,5,5,5,5,6,6,6,5,5,5,
5,5,5,6,5,5,5,6,56,131,4,3,6,5,86,5,4,50,4,3,4,3,3,4,3,3,3,2,2,3,2,131,3,3,51,3,
51,2,3,3,3,2,50,3,66,3,2,2,2,3,3,3,3,3,2,3,1,50,3,3,3,3,3,3,3,2,4,132,4,5,4,4,4,
50,3,2,4,5,4,4,131,4,4,45,4,5,4,5,3,3,5,4,4,5,4,4,4,3,139,4,4,4,4,4,4,66,60,44,
4,4,45,5,3,4,5,4,5,4,4,4,3,3,5,4,4,4,4,4,4,4,138,4,4,4,4,4,4,2,44,4,4,61,4,5,5,
51,5,5,5,4,4,4,4,51,4,4,5,5,4,4,5,3,131,4,4,4,132,5,4,131,5,4
},
{ // 2: pink high-texh wall
4,4,4,4,4,4,4,4,83,11,11,11,83,11,11,11,12,12,11,11,12,83,83,12,83,83,12,12,83,
12,12,12,4,4,4,4,4,4,4,4,11,11,11,11,11,12,11,12,12,83,11,11,12,12,11,12,12,12,
83,12,12,12,12,12,4,4,4,4,4,4,4,5,11,83,11,12,83,11,83,11,83,12,84,12,83,11,12,
12,84,12,12,12,12,12,12,12,4,4,4,4,4,5,4,5,84,83,83,83,83,83,83,83,83,83,83,83,
83,83,12,12,11,12,12,12,12,12,12,12,4,4,3,5,3,5,3,5,85,4,4,20,4,4,4,20,4,4,4,4,
83,12,84,12,11,83,12,83,12,12,12,12,5,4,4,5,3,5,3,5,83,83,83,83,83,83,83,61,84,
20,84,20,83,83,12,83,83,83,83,83,83,83,83,83,5,4,3,5,3,5,4,6,61,61,61,61,61,61,
83,83,61,20,84,4,83,12,83,61,61,61,61,61,61,61,61,61,5,4,4,5,3,5,3,5,85,4,20,20,
20,20,20,83,61,20,20,4,83,12,83,61,84,12,12,12,12,12,12,12,4,5,4,5,3,6,4,6,85,
84,20,84,20,20,20,83,61,20,20,4,83,84,83,61,11,12,12,12,12,12,12,12,5,4,4,5,4,5,
4,5,85,4,3,20,20,20,20,83,61,20,84,20,83,13,83,61,20,12,12,84,12,12,12,12,4,5,4,
5,3,6,4,6,85,20,20,84,84,20,84,83,83,83,83,83,83,83,83,83,83,83,83,83,12,12,12,
12,5,5,4,6,4,6,4,6,85,4,84,20,84,20,84,84,83,61,61,61,61,61,61,61,61,61,61,83,
61,12,12,12,5,5,4,5,4,6,4,5,85,84,20,20,20,20,20,84,20,84,84,84,83,12,13,20,20,
12,12,83,61,12,12,12,5,5,5,6,4,6,4,6,85,4,20,4,84,20,20,20,20,84,20,4,83,84,12,
13,12,12,12,83,61,13,13,12,5,5,4,5,4,6,4,6,85,84,84,4,84,20,20,20,20,20,84,20,
83,84,84,84,84,84,84,83,61,12,84,12,5,5,5,6,4,6,4,6,85,20,20,84,20,20,20,20,20,
20,20,84,83,12,84,84,12,84,12,83,61,12,20,12,5,5,5,6,4,7,4,6,85,84,84,4,84,84,
20,84,4,84,84,4,83,84,13,84,84,20,20,83,61,13,13,12,6,5,5,5,4,6,4,6,85,20,84,4,
84,20,84,4,4,84,84,84,83,85,13,13,13,84,12,83,61,84,84,12,5,5,5,6,5,6,5,7,85,20,
84,84,84,20,4,4,84,20,84,20,83,12,84,13,20,13,13,83,61,13,13,12,5,5,5,5,5,5,5,6,
85,4,4,4,84,84,4,4,4,4,20,4,83,85,13,13,13,20,13,83,61,13,13,12,6,5,5,5,5,6,5,6,
85,20,4,84,84,84,4,4,4,4,4,20,83,85,13,13,20,13,84,83,61,13,84,12,6,5,5,6,6,5,5,
6,85,84,84,84,84,4,4,84,83,83,83,83,83,83,83,83,83,83,83,83,61,13,13,12,6,5,6,5,
5,5,6,6,85,84,84,20,4,4,4,83,61,61,61,61,61,61,61,61,61,61,61,61,13,85,85,12,5,
5,5,5,6,5,5,6,85,3,84,84,4,4,4,83,61,4,4,4,83,85,83,61,85,85,85,13,85,85,13,12,
6,5,6,5,5,6,6,6,85,20,4,4,4,4,4,83,61,4,4,3,83,85,83,61,13,85,85,13,13,85,20,12,
6,5,6,5,6,5,7,5,85,84,3,20,84,4,4,83,61,4,4,84,83,12,83,61,85,13,13,13,13,13,20,
12,6,5,7,5,6,5,6,5,83,83,83,83,83,83,83,61,61,4,84,20,83,85,83,61,83,83,83,83,
83,83,83,83,7,5,5,5,6,5,7,5,61,61,61,61,61,61,61,61,20,3,3,84,83,13,13,61,61,61,
61,61,61,61,61,61,6,5,6,5,7,5,6,5,85,3,3,84,20,3,84,3,84,20,84,3,83,85,13,85,85,
85,85,13,85,85,85,12,7,5,7,5,5,5,7,5,85,85,85,85,85,85,85,85,85,85,85,85,84,85,
85,15,85,14,85,13,13,13,12,12,6,5,6,5,7,5,7,5,12,85,84,84,84,14,84,85,13,85,14,
85,85,13,85,85,12,85,85,13,13,85,20,12,6,6,6,5,6,5,6,5,85,84,13,13,13,13,13,13,
13,13,84,13,13,85,85,13,85,13,13,13,20,85,12,12
},
{ // 3: partly mossy concrete wall
3,19,36,3,19,3,20,4,4,20,3,4,37,5,37,4,3,4,4,4,4,4,4,5,4,37,4,4,4,4,5,4,130,4,3,
12,4,3,4,36,37,36,3,20,4,36,36,12,11,3,4,36,4,3,4,4,4,5,4,76,4,5,4,4,3,3,3,4,36,
3,36,36,4,36,3,36,4,36,36,4,11,19,4,4,4,4,4,4,4,4,4,4,4,4,5,4,3,3,36,3,12,3,4,4,
36,20,3,4,4,4,4,4,11,4,4,4,4,3,4,4,4,36,4,3,4,5,4,4,3,3,4,4,4,3,36,20,37,37,3,
12,3,20,36,12,11,3,4,4,4,3,4,4,4,36,37,4,4,4,5,4,3,3,3,19,36,3,4,36,36,20,4,4,4,
4,20,4,76,4,4,4,4,4,4,4,4,4,5,3,4,4,5,4,3,4,19,4,4,3,36,37,36,4,36,3,4,37,36,4,
3,4,4,4,4,4,4,37,4,37,36,4,4,4,4,4,3,3,3,3,4,3,36,36,4,36,3,4,36,4,20,19,3,4,4,
4,4,3,4,4,4,4,5,35,4,4,5,4,130,4,3,4,3,36,36,4,36,36,3,12,4,20,37,4,11,3,4,4,4,
3,4,4,4,36,4,3,4,4,36,3,3,3,4,12,36,4,20,37,36,20,3,4,36,4,37,37,11,4,4,4,4,4,4,
4,5,5,4,4,4,4,5,4,3,4,3,3,4,3,36,37,20,36,36,4,20,4,20,4,11,4,4,4,4,76,4,5,20,4,
37,4,20,5,4,4,3,12,3,36,12,12,36,36,36,4,3,36,4,5,36,4,3,4,12,4,4,4,4,4,4,5,5,4,
4,4,5,5,2,3,4,4,4,12,36,20,36,36,3,4,20,37,37,4,12,4,4,4,4,4,4,4,5,20,4,76,4,5,
20,4,2,4,4,4,3,36,36,4,37,4,4,20,4,5,20,20,11,4,4,4,4,4,77,4,4,5,5,76,4,5,5,4,
130,3,3,4,4,12,36,36,4,36,3,36,4,37,37,4,76,4,4,4,4,76,4,4,4,4,4,76,5,4,5,4,130,
3,4,4,130,3,36,36,36,4,3,4,4,4,36,36,3,4,4,4,4,76,3,4,4,4,5,4,4,5,4,4,3,4,11,3,
4,35,4,36,36,4,36,4,4,36,4,4,11,4,76,4,4,4,4,4,4,5,4,76,4,4,5,4,3,3,4,3,4,4,36,
36,4,4,36,4,20,5,20,4,76,4,4,4,4,4,4,5,20,4,5,76,4,5,5,4,11,4,4,4,4,19,36,20,36,
37,3,4,4,36,5,36,76,4,4,4,4,76,4,4,5,5,4,76,5,13,5,5,3,4,3,4,12,3,4,36,4,20,3,
20,4,5,37,4,11,4,5,77,4,4,4,4,20,5,5,4,77,5,4,4,3,4,4,12,4,3,36,4,4,4,3,4,5,36,
20,20,11,4,13,4,4,4,76,4,5,5,20,76,4,5,5,4,3,3,12,4,12,3,4,4,4,36,4,4,4,4,4,4,
11,4,4,4,4,4,4,4,4,4,5,4,5,5,20,5,3,4,4,4,12,11,4,4,36,5,4,20,4,20,37,4,11,4,4,
4,4,4,77,5,4,5,20,4,77,5,5,4,3,36,4,4,3,3,4,4,37,37,3,4,4,36,4,36,11,4,4,5,4,4,
76,4,13,5,5,76,4,20,5,4,3,4,4,12,4,4,20,4,4,4,4,4,4,20,37,4,11,4,4,4,20,4,4,4,5,
4,36,4,4,5,5,4,130,4,4,4,3,4,37,4,36,20,4,36,20,5,37,37,11,4,4,5,5,76,76,4,5,4,
5,76,5,5,20,4,3,12,4,12,4,4,4,4,20,4,3,4,4,4,20,4,11,4,20,36,20,4,4,77,4,13,5,
76,4,5,5,4,3,4,4,4,4,36,20,4,36,35,4,20,37,37,37,4,3,4,5,4,4,4,4,4,4,4,5,4,5,13,
5,4,130,3,12,3,4,4,4,36,20,4,35,5,20,20,4,20,11,4,20,4,37,3,4,4,77,5,4,4,4,5,5,
4,3,4,4,4,4,3,36,4,37,37,4,4,4,37,37,4,3,4,4,4,4,3,4,4,4,4,4,76,4,5,5,4,3,3,19,
3,4,19,4,20,4,36,4,4,37,37,20,37,3,3,4,36,4,3,4,4,4,4,4,4,5,13,5,4,3,3,4,4,4,3,
4,36,37,4,4,4,20,20,36,4,35,4,4,20,4,4,4,4,4,4,4,76,4,5,4,4
},
{ // 4: wooden chess pattern
2,11,11,11,11,73,11,11,11,11,1,11,11,11,11,2,83,83,43,83,83,65,83,43,43,43,10,
43,11,43,19,43,11,12,12,12,11,2,12,12,12,12,73,11,11,12,12,11,11,20,20,20,21,11,
20,21,20,21,20,20,20,20,20,20,11,12,12,12,12,73,12,11,12,11,1,11,11,11,12,11,11,
21,21,20,20,19,21,20,20,21,43,20,20,20,20,20,11,12,12,12,12,1,11,12,12,11,73,12,
11,11,12,11,11,21,21,20,21,19,21,20,20,21,19,20,20,20,20,19,11,12,12,12,11,73,
12,12,11,12,73,12,12,11,12,11,19,21,21,20,21,19,21,20,20,21,43,20,21,20,20,43,
11,12,12,11,11,73,12,11,11,11,2,12,11,11,12,11,19,21,20,20,21,19,21,20,20,21,43,
20,20,20,20,43,11,12,12,11,12,2,12,11,11,11,2,12,11,11,12,2,19,21,21,20,21,81,
21,21,20,21,11,20,20,20,20,43,11,12,12,11,11,2,12,12,11,11,2,12,11,11,12,11,19,
21,20,20,21,81,20,20,20,21,11,20,21,20,20,43,11,12,12,11,11,1,12,12,11,11,2,12,
11,11,12,82,43,21,20,20,21,2,20,20,21,20,11,20,20,20,20,20,11,12,11,12,11,73,12,
12,11,11,2,11,11,11,12,11,43,20,20,20,21,34,20,20,21,21,11,20,20,20,20,20,11,12,
12,12,12,73,12,11,11,12,2,12,11,11,12,11,43,21,20,20,21,19,20,20,21,20,19,20,20,
20,20,43,11,12,12,12,12,2,12,11,11,12,2,12,12,11,12,2,19,20,20,20,21,19,21,20,
20,21,11,20,21,20,20,20,11,12,12,12,12,1,12,11,12,12,2,12,11,11,11,11,19,20,20,
20,20,19,20,20,20,20,11,20,20,20,20,20,11,12,12,12,11,1,12,11,12,12,2,11,11,11,
12,11,12,20,20,20,21,19,20,20,20,20,43,20,20,20,20,20,11,12,12,12,11,2,12,12,12,
12,2,12,12,12,12,2,19,20,20,20,21,11,20,20,20,21,43,21,21,20,21,20,2,11,2,2,2,1,
2,2,11,2,1,2,2,2,2,2,43,43,43,43,20,42,43,43,43,20,19,43,43,43,20,43,11,43,43,
43,20,43,20,43,43,20,43,20,20,20,20,19,2,11,11,11,11,2,11,11,11,11,2,12,11,11,
11,2,43,20,20,20,21,43,21,20,20,21,43,21,21,20,21,20,11,12,11,12,12,2,11,11,12,
11,2,12,11,11,12,2,43,20,43,20,20,43,21,20,21,21,19,21,21,21,21,21,11,11,11,12,
12,2,11,11,11,12,2,12,11,11,12,2,43,20,43,20,20,43,21,20,21,21,43,21,21,21,21,
21,11,12,11,12,12,2,11,11,11,12,2,12,11,11,11,2,43,20,43,20,20,43,21,20,21,21,
19,21,21,21,20,20,11,12,12,12,12,2,12,11,12,12,2,12,11,11,11,2,20,20,20,20,20,
43,21,20,21,21,43,21,21,21,21,21,11,11,12,12,12,2,12,12,12,12,2,12,11,11,12,2,
20,20,20,20,20,43,21,21,20,21,19,21,21,21,20,20,11,12,12,12,12,2,12,12,12,12,2,
12,11,11,12,2,43,20,43,20,20,43,21,21,20,21,19,21,21,21,21,20,11,12,12,12,12,2,
11,12,12,12,2,12,11,11,11,2,43,20,20,20,20,11,21,21,21,21,19,21,21,21,21,20,11,
12,12,12,12,2,12,11,12,12,2,12,11,11,12,2,43,20,12,20,20,43,21,21,21,21,19,21,
21,21,21,20,11,12,12,12,12,2,12,11,12,12,2,12,11,11,12,2,43,43,43,20,20,43,21,
21,20,21,10,21,21,21,21,20,11,11,11,11,12,2,12,11,12,12,2,12,11,11,12,2,43,20,
12,20,21,43,21,20,20,21,2,21,21,21,21,20,2,11,11,11,11,2,12,12,12,12,2,12,11,11,
12,2,43,20,20,21,21,11,20,21,20,21,19,21,21,21,21,20,2,12,12,12,2,2,12,12,12,12,
2,12,11,11,12,2,43,20,20,21,21,11,21,21,21,21,2,21,20,20,21,20,11,12,12,12,11,2,
12,12,11,11,2,12,12,11,12,2,43,20,20,21,21,11,20,20,21,21,19,21,21,21,21,20,11,
12,11,12,12,2,12,12,12,12,2,12,12,11,12,2,11,43,43,20,20,81,19,43,19,43,9,43,43,
43,43,43,11,20,19,20,43,19,20,43,20,20,81,19,20,43,20,11
},
{ // 5: red brick wall
4,93,101,13,93,5,5,13,13,13,13,93,5,6,4,21,21,13,5,6,11,13,13,21,101,6,4,5,5,5,
5,6,4,93,13,13,93,5,5,93,13,13,13,93,5,5,93,13,13,93,13,6,11,101,101,101,101,6,
11,101,13,13,101,6,4,93,13,4,93,5,5,101,21,21,21,101,5,5,93,13,13,13,5,6,11,13,
101,101,101,6,11,21,21,21,13,6,4,93,101,101,93,5,5,101,21,21,21,101,6,5,93,13,
21,13,5,6,11,13,21,21,4,6,93,21,21,13,13,6,101,93,101,101,93,5,5,101,21,21,13,
93,6,5,93,13,21,13,5,6,11,13,21,21,13,6,93,13,4,13,4,6,4,93,101,4,93,5,5,101,21,
21,21,93,5,5,101,13,21,101,5,6,93,21,21,13,4,6,93,13,13,13,4,6,93,93,101,4,93,5,
5,101,21,21,21,93,5,5,13,13,21,101,5,5,93,13,21,101,4,6,93,13,13,13,4,6,93,93,
101,4,93,6,5,93,101,101,101,93,6,5,13,101,4,101,5,5,93,93,101,93,4,6,93,13,13,
13,4,6,11,101,13,13,93,6,6,6,6,6,6,5,6,5,21,101,4,101,5,6,5,5,5,5,6,6,93,13,101,
101,13,6,93,101,13,13,93,6,5,5,5,5,5,5,6,5,13,13,21,101,5,6,6,5,6,6,6,6,93,13,
13,13,5,6,93,93,13,13,93,6,100,100,13,13,13,100,6,4,13,21,21,101,5,5,106,93,13,
93,6,6,11,21,21,13,21,6,101,101,13,13,93,6,5,5,13,13,5,100,6,4,13,21,21,13,6,5,
93,13,101,11,6,6,93,13,13,13,21,6,4,101,13,13,93,6,5,13,13,13,13,100,6,4,13,21,
5,101,5,5,93,4,101,11,6,6,93,13,13,13,5,6,4,101,101,101,93,6,5,13,13,13,5,100,6,
4,101,21,21,93,5,5,93,93,101,19,5,6,11,13,13,13,21,6,4,101,101,101,93,5,5,13,13,
13,13,100,6,4,101,21,13,93,5,5,19,4,101,93,5,6,93,13,13,13,21,6,4,101,101,13,93,
5,5,13,13,13,13,100,6,5,101,21,13,93,5,5,93,93,101,11,5,6,93,13,13,13,21,6,4,
101,101,13,93,5,5,13,13,13,13,100,6,5,101,21,13,93,5,5,93,101,4,19,5,6,93,13,13,
13,21,6,4,101,101,101,93,6,5,13,13,13,13,100,6,5,101,21,13,101,5,5,19,13,101,93,
5,6,93,13,21,13,21,6,93,101,101,13,11,6,5,100,13,13,13,100,6,5,101,13,21,101,5,
6,93,4,101,93,6,6,93,21,13,13,21,6,4,5,13,13,93,6,5,13,13,13,13,100,6,5,93,93,
101,93,5,6,93,13,101,93,5,6,11,13,13,93,5,6,5,7,6,6,6,6,5,13,13,13,13,100,6,5,6,
6,6,6,5,5,93,21,13,13,5,6,93,13,13,13,5,6,4,5,21,4,93,6,5,13,5,5,5,100,6,5,5,5,
5,5,5,5,93,13,13,13,5,6,6,7,7,6,6,6,4,13,21,21,93,6,5,5,5,5,13,100,6,4,93,13,13,
13,13,6,93,13,101,93,5,6,5,21,13,101,4,6,4,13,21,21,93,6,5,5,13,13,13,100,6,4,
101,21,21,13,21,6,19,4,101,93,5,6,93,13,13,101,13,6,4,13,21,21,101,6,5,5,13,13,
13,5,6,5,101,21,21,21,21,6,11,93,101,93,5,6,93,21,21,13,5,6,4,13,21,21,101,6,5,
5,13,13,13,100,6,4,101,21,21,21,21,6,93,101,101,93,5,5,93,21,21,13,5,6,4,13,21,
13,101,5,5,5,5,5,5,100,6,4,13,21,21,21,21,6,93,4,101,93,5,5,93,21,5,13,5,6,4,13,
21,21,13,5,5,5,13,13,13,100,6,4,13,21,21,21,21,6,93,13,21,93,5,5,93,21,21,13,21,
6,4,13,21,21,101,6,5,5,13,13,13,100,5,4,21,5,5,21,5,6,93,4,101,93,5,5,101,21,21,
13,21,6,4,13,21,13,93,6,5,13,13,13,5,13,6,4,21,21,21,13,5,6,93,13,93,178,5,5,93,
13,21,13,21,6,4,21,21,21,93,6,6,7,7,7,6,6,5,3,13,21,21,13,5,6,6,6,6,6,6,5,93,21,
21,13,21,6,4,13,13,13,93,6,5,5,4,4,4,93,6,4,13,21,21,13,5,6,5,5,5,21,6,6,93,21,
21,13,5,6
},
{ // 6: grass-covered concrete wall, tiles with skyscraper window
28,44,43,4,36,35,36,36,43,36,4,3,131,35,4,3,3,36,36,36,4,35,42,35,36,131,35,35,
35,123,35,36,37,36,36,43,36,50,4,36,4,4,3,3,36,35,36,36,4,4,36,36,36,34,42,36,3,
36,3,36,36,131,36,35,36,36,36,36,37,36,36,36,110,36,4,43,50,50,3,3,36,36,36,3,4,
34,34,36,36,36,37,37,36,43,107,36,36,36,37,36,131,43,36,110,37,36,34,35,42,114,
209,107,36,42,35,36,35,34,115,35,36,36,37,36,37,36,36,37,43,36,36,36,36,37,36,
36,36,36,36,50,35,35,36,36,36,50,35,35,35,35,35,34,34,43,36,36,36,107,42,42,106,
43,36,36,36,37,133,37,36,43,36,4,5,43,43,36,36,36,4,37,5,5,5,36,36,109,37,37,36,
37,37,37,36,36,36,43,36,43,36,36,36,36,36,4,35,36,36,36,43,36,36,36,37,36,35,36,
36,37,36,36,37,36,37,37,36,43,43,36,36,36,43,36,36,36,36,4,3,43,36,43,36,107,43,
36,35,36,37,36,36,36,37,37,36,37,37,36,36,43,36,36,36,43,36,37,36,37,37,36,36,
36,36,43,36,131,43,43,36,36,36,36,37,36,37,36,36,37,37,37,36,36,36,43,43,36,36,
43,36,36,43,36,43,36,43,36,43,36,36,36,131,36,36,37,36,36,36,36,36,36,37,36,36,
37,36,36,43,36,37,36,37,37,36,36,36,43,36,36,43,36,36,36,36,107,3,36,36,35,35,
37,37,36,43,43,43,36,36,43,132,36,36,36,4,36,43,36,43,36,37,36,36,36,36,43,36,
36,36,37,37,4,36,37,43,37,37,36,36,36,43,36,36,36,36,37,37,36,36,36,36,36,36,36,
36,110,36,36,36,43,37,36,4,36,43,37,34,43,37,36,36,36,36,36,36,36,36,37,43,37,
36,43,36,36,37,36,36,36,110,36,36,37,36,36,36,35,35,37,43,37,36,36,107,43,36,36,
107,35,36,36,36,37,37,36,37,43,36,36,36,36,36,37,37,4,36,37,36,28,36,36,37,36,
36,37,43,35,26,35,50,36,36,36,36,36,36,36,37,36,36,36,36,36,36,36,36,36,37,131,
36,36,36,4,107,36,36,36,36,3,3,36,36,36,36,107,37,37,37,36,36,36,37,37,36,36,43,
37,36,36,36,43,43,36,131,36,43,36,43,36,50,50,36,43,36,36,37,36,36,35,36,37,37,
36,36,36,36,3,3,4,43,37,36,36,36,36,36,36,36,36,36,43,35,131,36,36,36,114,36,36,
37,37,36,36,36,43,36,107,36,4,4,36,37,37,36,43,43,36,43,36,36,43,41,106,36,36,
36,107,43,37,37,36,36,37,36,37,36,36,36,36,131,36,4,36,36,36,37,36,36,36,36,36,
36,36,36,4,36,36,36,43,36,36,43,36,36,107,36,36,36,36,3,36,36,36,36,36,43,36,36,
43,43,43,36,36,43,36,43,36,36,36,36,36,36,36,36,36,36,36,36,43,43,43,3,3,36,36,
36,36,36,36,37,37,36,36,43,36,36,36,43,36,36,43,36,36,36,37,36,36,43,36,43,36,
36,36,4,4,43,36,37,43,36,36,36,35,36,37,37,36,36,36,43,36,36,36,131,36,36,36,35,
36,36,35,36,36,36,36,107,36,43,43,36,36,36,36,36,43,37,36,107,43,36,43,36,43,36,
43,36,36,36,43,37,43,36,36,36,36,36,36,36,43,36,36,43,107,36,36,36,36,36,37,43,
37,36,36,36,36,36,37,43,36,36,36,43,37,37,35,4,36,36,36,36,36,36,43,37,43,36,36,
36,36,36,36,37,37,37,37,36,36,36,36,36,36,36,36,37,36,37,37,36,36,43,43,36,36,
36,36,36,36,43,36,43,107,36,36,43,4,37,36,43,36,36,36,83,37,107,36,36,37,36,36,
34,43,36,34,34,106,41,34,98,36,36,36,43,36,37,43,37,37,36,36,37,37,43,36,36,36,
36,36,37,34,34,50,106,42,114,35,26,35,35,35,34,42,36,43,36,43,36,37,36,36,36,37,
36,37,36,107,131,36,36,37,36,44,36,4,36,4,35,35,4,36,3,4,36,35,36,37,36,37,36,
35,37,37,37,36,36,36,43,36,36,3,34,36,4,36,37,36,36,36,35,35,4,36,36,36,3,50,50,
35,122,35,36,37,36,37,36,37,21,37,36,43,36,37,4,43,4,4,4,36,36,36,36,43,36,36,4,
4,36,36,4,35,131,36,35,35,37,36,37,37,36,36
}
};
const uint8_t SFG_backgrounds[][SFG_TEXTURE_SIZE * SFG_TEXTURE_SIZE] =
{
{ // 5
10,10,10,10,10,10,19,19,12,13,13,13,13,13,13,13,13,14,64,80,64,64,73,64,64,64,
73,136,73,73,73,73,10,10,10,10,10,19,12,12,12,19,12,12,13,13,13,14,14,14,14,64,
64,64,80,73,80,73,64,73,73,73,73,73,10,10,10,10,10,19,19,10,19,19,19,12,13,13,
14,14,14,168,168,64,168,64,64,64,64,73,73,64,73,73,73,73,10,10,10,10,10,10,10,
10,19,19,19,19,12,13,13,14,14,14,14,14,14,80,64,64,64,73,64,136,73,73,73,73,10,
10,10,10,10,10,10,19,19,12,19,12,168,168,168,168,64,64,64,80,64,64,136,64,64,73,
73,64,73,73,73,73,10,10,10,10,10,10,10,19,12,12,12,13,168,0,0,0,0,168,168,168,
64,64,64,64,64,64,64,73,73,73,73,73,10,10,10,10,10,10,19,19,12,12,13,13,57,0,0,
0,168,168,136,64,168,64,64,64,64,64,73,64,73,73,136,73,10,10,10,10,10,10,19,19,
12,12,13,13,168,168,168,168,168,64,64,168,64,64,64,64,80,73,73,73,73,73,73,73,
10,10,10,10,19,19,19,19,12,12,13,13,13,13,14,14,14,14,14,80,168,64,73,80,73,64,
73,64,73,73,73,73,10,10,10,10,10,19,19,12,12,13,13,13,13,13,14,14,14,14,14,14,
80,64,80,64,64,64,64,73,73,73,73,73,10,10,10,10,10,10,19,12,12,13,168,168,168,
168,168,168,64,64,64,80,168,64,73,80,73,64,73,64,73,73,73,73,10,10,10,10,10,10,
10,19,12,13,168,0,223,0,223,0,219,168,168,168,64,64,64,64,80,64,64,73,73,73,73,
73,59,10,10,10,10,10,10,19,12,12,168,0,0,0,0,0,168,168,168,64,168,64,64,64,73,
64,73,64,73,73,73,73,10,10,10,10,10,10,19,19,12,12,168,168,168,57,168,168,168,
64,168,168,64,80,80,73,80,73,64,73,73,73,73,73,10,10,10,10,10,19,19,12,61,13,
101,12,12,12,12,63,14,14,64,64,168,80,64,64,64,64,73,136,73,73,73,73,10,10,10,
10,10,10,19,12,12,12,101,101,12,12,12,101,14,63,64,168,64,57,64,64,64,64,64,73,
73,73,73,73,10,10,10,10,10,10,19,19,12,12,101,101,168,168,168,168,64,64,64,80,
64,80,64,64,64,64,73,64,73,73,73,73,10,10,10,10,10,10,19,19,19,100,101,101,168,
168,168,168,168,64,64,64,80,136,64,64,64,64,64,73,73,73,73,73,10,10,10,10,10,10,
19,19,19,100,100,101,168,168,168,168,64,64,64,80,168,64,64,64,64,64,73,64,73,73,
73,73,10,10,10,10,19,10,19,12,168,168,168,168,168,0,0,0,0,168,168,168,136,64,64,
64,64,64,64,73,73,73,73,73,10,10,10,10,19,19,19,12,168,223,136,223,0,0,0,0,168,
168,168,64,136,64,64,64,64,64,73,64,73,73,73,73,10,10,10,10,19,60,19,12,168,168,
168,168,168,168,168,168,168,64,57,64,80,80,80,64,64,136,64,73,73,73,73,73,59,59,
10,10,19,60,19,19,12,12,100,100,101,101,187,101,101,64,64,80,168,64,73,80,73,64,
73,136,73,73,73,73,10,10,10,10,10,19,19,19,19,12,12,100,100,101,187,168,168,64,
64,64,64,64,64,64,64,64,64,73,73,136,73,73,10,10,10,10,19,19,19,19,19,100,100,
101,100,100,187,168,64,64,64,80,168,64,64,64,136,64,73,64,73,73,73,73,59,10,10,
19,19,12,12,12,12,19,100,101,100,100,101,168,168,64,64,64,80,80,80,64,64,64,64,
73,73,73,73,73,10,10,19,19,19,12,12,12,13,13,13,101,100,100,100,101,101,14,14,
80,64,80,73,64,64,64,73,64,73,73,73,73,10,10,10,10,19,19,19,12,12,13,14,101,100,
100,101,101,71,14,14,14,14,14,80,64,64,64,64,73,73,73,73,73,10,10,10,10,10,19,
12,12,12,13,14,101,100,101,101,209,64,64,64,80,64,80,64,64,64,64,73,64,73,73,73,
73,10,10,10,10,10,19,12,19,12,14,14,101,101,14,14,14,14,14,64,168,136,64,64,64,
64,73,64,73,73,73,73,73,10,10,10,10,10,19,19,19,19,13,14,13,13,14,14,209,64,64,
64,80,64,64,73,80,73,73,73,64,73,73,73,73,10,10,10,10,10,10,19,19,19,13,14,14,
14,13,14,14,63,14,14,14,63,80,80,64,64,64,64,73,73,73,73,73
}
};
#endif // guard