Skip to content

Instantly share code, notes, and snippets.

@reidrac
Created October 4, 2016 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reidrac/31efac811d2d390c5922987637e67cb6 to your computer and use it in GitHub Desktop.
Save reidrac/31efac811d2d390c5922987637e67cb6 to your computer and use it in GitHub Desktop.
// using 4-bit per tile
// map compressed (UCL/2B)
const unsigned char map[66] = {
0x92, 0x33, 0x72, 0x30, 0x00, 0x0d, 0x03, 0x80, 0x09, 0x7d,
0x33, 0x55, 0x53, 0xfb, 0x07, 0x35, 0x55, 0x27, 0x08, 0x6d,
0x33, 0x01, 0x73, 0x02, 0x3b, 0x23, 0xd9, 0x30, 0x03, 0x09,
0x1b, 0x67, 0xb6, 0x03, 0x33, 0x27, 0x2c, 0x29, 0x6c, 0x03,
0x09, 0x23, 0x66, 0x93, 0xc0, 0x8b, 0xb6, 0x41, 0xb6, 0x8b,
0x35, 0xeb, 0x02, 0x30, 0xa9, 0x02, 0xd9, 0x00, 0x20, 0x00,
0x00, 0x00, 0x00, 0x00, 0x90, 0xff
};
// map uncompressed
const unsigned char map[220] = {
{0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
0x33, 0x55, 0x53, 0x00, 0x00, 0x00, 0x00, 0x35, 0x55, 0x33,
0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
0x30, 0x00, 0x33, 0x00, 0x33, 0x33, 0x00, 0x33, 0x00, 0x03,
0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
0x30, 0x00, 0x00, 0x00, 0x30, 0x03, 0x00, 0x00, 0x00, 0x03,
0x30, 0x00, 0x00, 0x00, 0x30, 0x03, 0x00, 0x00, 0x00, 0x03,
0x30, 0x00, 0x33, 0x33, 0x30, 0x03, 0x33, 0x33, 0x00, 0x03,
0x30, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x03,
0x30, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x03,
0x30, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x03,
0x30, 0x00, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x00, 0x03,
0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
0x30, 0x03, 0x53, 0x00, 0x35, 0x53, 0x00, 0x35, 0x30, 0x03,
0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment