Skip to content

Free games for graphing calculators: NumWorks, TI-Nspire CX, Casio fx-CG50 and soon TI-84 Plus CE. Balatro, Celeste, Hollow Knight, Minecraft and more.

8.7 KB
Raw Blame
/* Made by tools/pack.py from Minecraft 1.8.8's pictures: see data.h. */
#include "data.h"

const uint8_t pal_rgb[256 * 3] = {
  0,0,0,120,167,255,120,167,255,120,167,255,120,167,255,120,167,255,120,167,255,120,167,255,
  120,167,255,120,167,255,120,167,255,120,167,255,120,167,255,120,167,255,120,167,255,120,167,255,
  0,0,0,255,255,255,160,160,160,63,63,63,224,224,224,255,255,160,255,255,0,63,63,0,
  139,139,139,55,55,55,198,198,198,85,85,85,128,255,32,255,85,85,64,64,64,32,32,32,
  112,112,112,192,192,192,124,110,100,209,201,140,15,15,15,196,183,118,51,51,50,81,66,39,
  200,203,203,70,125,28,88,142,141,55,99,23,147,147,146,148,107,36,152,151,152,173,168,125,
  53,38,24,93,59,41,14,14,14,75,53,35,29,20,6,40,66,18,138,162,185,36,53,40,
  101,100,100,5,42,12,214,227,195,158,138,121,126,115,75,42,42,42,18,8,2,182,148,0,
  27,20,13,11,20,6,44,44,45,171,172,168,117,117,117,93,92,92,4,7,3,40,40,40,
  147,191,179,17,13,7,177,175,179,30,45,33,183,184,183,25,38,27,8,8,7,95,69,45,
  44,61,48,47,198,185,207,192,65,217,235,249,14,22,37,87,161,48,95,67,22,136,131,98,
  34,25,12,150,170,189,30,30,31,98,1,1,56,142,111,62,33,23,22,33,7,70,124,52,
  45,72,47,78,79,79,9,10,10,182,1,1,125,177,95,81,109,50,59,44,27,120,88,57,
  23,34,16,39,36,5,42,32,20,5,6,5,43,38,28,173,143,45,9,14,26,69,69,69,
  77,74,56,110,179,174,130,150,165,64,51,31,90,89,88,72,46,32,3,26,7,22,45,77,
  44,78,19,52,48,38,55,92,41,127,135,144,251,248,92,168,167,169,184,148,95,158,139,85,
  119,84,28,12,87,17,116,103,70,14,10,6,91,103,157,178,158,138,49,82,37,154,230,233,
  93,129,209,17,17,19,234,234,231,16,120,26,13,12,19,143,143,143,26,25,19,72,73,73,
  181,19,22,113,114,113,54,43,14,70,91,42,27,27,27,164,178,201,57,57,59,76,53,20,
  106,105,105,98,128,108,248,226,62,45,49,48,150,111,73,76,110,88,24,40,138,47,46,34,
  38,58,28,182,201,245,61,61,61,157,157,157,150,59,9,58,66,78,97,97,96,13,13,12,
  32,58,15,127,137,192,70,97,76,205,159,156,53,70,33,165,156,109,46,31,12,6,6,10,
  233,224,178,125,170,254,202,89,17,41,59,217,119,134,156,21,21,22,219,213,159,16,28,79,
  67,62,43,19,30,22,111,147,109,62,15,5,13,20,12,5,8,26,21,17,10,17,26,10,
  76,58,35,69,57,162,194,189,157,206,215,221,134,134,132,128,69,54,147,155,165,176,190,207,
  4,3,3,12,12,10,45,62,29,9,13,7,85,87,90,34,50,23,27,43,15,36,68,142,
  9,15,12,121,131,188,91,99,106,101,89,59,2,14,4,92,41,6,99,104,115,0,168,167,
  51,70,56,2,2,1,9,63,13,22,14,4,63,104,48,58,84,64,113,223,226,35,29,19,
  3,4,11,144,173,171,8,5,3,9,14,3,206,203,175,115,129,134,43,27,18,11,17,36,
  43,72,32,34,36,41,160,164,176,33,56,100,1,102,92,183,129,94,101,81,48,10,8,5,
  29,0,0,61,81,38,8,10,16,53,84,129,90,90,91,4,5,4,139,147,157,129,126,125,
  182,175,141,73,104,163,109,109,109,14,24,17,1,7,1,7,10,5,211,214,188,96,137,62,
};
const uint8_t blk_tex[B_N][6] = {
  0,0,0,0,0,0,0,0,0,0,0,0,1,2,6,6,6,6,1,1,1,1,1,1,
  10,10,10,10,10,10,11,11,11,11,11,11,12,12,12,12,12,12,13,13,13,13,13,13,
  14,14,14,14,14,14,15,15,15,15,15,15,16,16,16,16,16,16,17,17,17,17,17,17,
  18,18,18,18,18,18,19,19,19,19,19,19,20,20,20,20,20,20,21,21,21,21,21,21,
  22,22,22,22,22,22,23,23,23,23,23,23,24,24,24,24,24,24,25,25,26,26,26,26,
  27,27,28,28,28,28,29,29,30,30,30,30,31,31,31,31,31,31,35,35,35,35,35,35,
  36,36,36,36,36,36,37,37,37,37,37,37,38,38,38,38,38,38,39,39,39,39,39,39,
  40,41,42,42,42,42,43,43,43,43,43,43,47,47,47,47,47,47,48,48,48,48,48,48,
  49,49,49,49,49,49,50,50,50,50,50,50,51,51,51,51,51,51,52,52,52,52,52,52,
  53,53,53,53,53,53,11,11,54,54,54,54,55,55,55,55,55,55,56,56,56,56,56,56,
  57,57,57,57,57,57,58,58,59,60,59,59,61,61,61,61,61,61,62,62,62,62,62,62,
  11,63,64,65,64,64,66,66,67,68,67,67,66,66,67,69,67,67,70,70,70,70,70,70,
  71,72,73,73,73,73,74,74,74,74,74,74,78,78,78,78,78,78,79,79,79,79,79,79,
  80,80,80,80,80,80,81,81,81,81,81,81,82,82,82,82,82,82,1,81,83,83,83,83,
};
const uint8_t blk_tint[B_N] = {
  0,0,62,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,63,0,
  0,0,0,0,0,63,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  0,63,0,0,0,0,0,0,
};
const uint8_t blk_model[B_N] = {
  0,1,1,1,1,1,1,1,2,2,2,1,3,3,1,1,1,1,1,1,1,1,4,4,
  4,5,1,1,1,2,2,1,2,2,1,1,1,1,1,1,6,1,1,1,1,1,1,1,
  1,2,1,1,1,1,5,1,
};
const uint8_t blk_flags[B_N] = {
  0,3,3,3,3,3,3,3,4,4,4,3,8,8,3,3,3,3,3,3,3,3,3,3,
  3,6,3,3,3,4,4,3,4,4,3,3,3,3,3,3,4,3,3,3,3,3,3,3,
  3,4,3,3,3,3,6,3,
};
const uint8_t blk_light[B_N] = {
  0,0,0,0,0,0,0,0,0,0,0,0,0,15,0,0,0,0,0,0,0,0,0,0,
  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,13,0,
  0,0,0,0,0,0,0,0,
};
const uint8_t blk_opacity[B_N] = {
  0,15,15,15,15,15,15,15,0,0,0,15,3,15,15,15,15,15,15,15,15,15,1,1,
  1,0,15,15,15,0,0,15,0,0,15,15,15,15,15,15,0,15,15,15,15,15,15,15,
  15,0,15,15,15,15,0,15,
};
const uint8_t blk_hard[B_N] = {
  0,6,2,2,8,8,8,8,0,0,0,255,255,255,2,2,12,12,12,8,8,8,1,1,
  1,1,12,12,3,0,0,3,0,0,12,20,8,6,8,200,0,10,12,20,10,14,14,12,
  2,0,6,20,2,1,2,2,
};
const uint8_t blk_tool[B_N] = {
  0,1,3,3,1,2,2,2,0,0,0,0,0,0,3,3,33,17,1,2,2,2,0,0,
  0,0,17,17,1,0,0,0,0,0,33,17,1,2,1,49,0,2,33,33,2,1,1,33,
  0,0,1,1,3,3,0,3,
};
const uint8_t blk_drop[B_N] = {
  255,4,3,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,129,19,20,21,255,255,
  255,255,135,27,28,255,128,31,32,33,34,35,36,37,38,39,40,41,133,43,44,45,45,134,
  48,139,50,51,137,53,255,3,
};
const uint16_t it_fuel[B_N + IT_N] = {
  0,0,0,0,0,300,300,300,100,100,100,0,0,0,0,0,0,0,0,300,300,300,0,0,
  0,0,0,0,0,0,0,0,0,0,0,0,0,300,0,0,0,300,0,0,300,0,0,0,
  0,0,0,16000,0,0,0,0,100,1600,1600,0,0,0,0,0,0,0,0,0,0,200,200,200,
  200,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
};
const uint8_t it_kind[IT_N] = {
  0,0,0,0,0,0,0,0,0,0,0,0,0,4,3,1,2,20,19,17,18,36,35,33,
  34,4,3,1,2,52,51,49,50,
};
const uint16_t it_dur[IT_N] = {
  0,0,0,0,0,0,0,0,0,0,0,0,0,59,59,59,59,131,131,131,131,250,250,250,
  250,32,32,32,32,1561,1561,1561,1561,
};
const uint8_t it_speed[IT_N] = {
  1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,4,4,4,4,6,6,6,
  6,12,12,12,12,8,8,8,8,
};
const uint8_t it_dmg[IT_N] = {
  1,1,1,1,1,1,1,1,1,1,1,1,1,5,2,3,4,6,3,4,5,7,4,5,
  6,5,2,3,4,8,5,6,7,
};
const char *const it_label[IT_N] = {"Stick", "Coal", "Charcoal", "Iron Ingot", "Gold Ingot", "Diamond", "Redstone", "Lapis Lazuli", "Flint", "Clay", "Brick", "Sugar Canes", "Apple", "Wooden Sword", "Wooden Shovel", "Wooden Pickaxe", "Wooden Axe", "Stone Sword", "Stone Shovel", "Stone Pickaxe", "Stone Axe", "Iron Sword", "Iron Shovel", "Iron Pickaxe", "Iron Axe", "Golden Sword", "Golden Shovel", "Golden Pickaxe", "Golden Axe", "Diamond Sword", "Diamond Shovel", "Diamond Pickaxe", "Diamond Axe"};
const char *const blk_label[B_N] = {"Air", "Stone", "Grass Block", "Dirt", "Cobblestone", "Oak Wood Planks", "Spruce Wood Planks", "Birch Wood Planks", "Oak Sapling", "Spruce Sapling", "Birch Sapling", "Bedrock", "Water", "Lava", "Sand", "Gravel", "Gold Ore", "Iron Ore", "Coal Ore", "Oak Wood", "Spruce Wood", "Birch Wood", "Oak Leaves", "Spruce Leaves", "Birch Leaves", "Glass", "Lapis Lazuli Ore", "Lapis Lazuli Block", "Sandstone", "Grass", "Dead Bush", "Wool", "Dandelion", "Poppy", "Block of Gold", "Block of Iron", "Bricks", "Bookshelf", "Moss Stone", "Obsidian", "Torch", "Chest", "Diamond Ore", "Block of Diamond", "Crafting Table", "Furnace", "Furnace", "Redstone Ore", "Cactus", "Sugar Canes", "Stone Bricks", "Block of Coal", "Clay", "Snow", "Ice", "Grass Block"};
const uint8_t recipes[] = {
  143,0,1,3,3,254,254,254,255,128,255,255,128,255,142,0,1,1,3,254,128,128,144,0,
  1,2,3,254,254,254,128,255,128,141,0,1,1,3,254,254,128,147,0,1,3,3,4,4,
  4,255,128,255,255,128,255,146,0,1,1,3,4,128,128,148,0,1,2,3,4,4,4,128,
  255,128,145,0,1,1,3,4,4,128,151,0,1,3,3,131,131,131,255,128,255,255,128,255,
  150,0,1,1,3,131,128,128,152,0,1,2,3,131,131,131,128,255,128,149,0,1,1,3,
  131,131,128,155,0,1,3,3,132,132,132,255,128,255,255,128,255,154,0,1,1,3,132,128,
  128,156,0,1,2,3,132,132,132,128,255,128,153,0,1,1,3,132,132,128,159,0,1,3,
  3,133,133,133,255,128,255,255,128,255,158,0,1,1,3,133,128,128,160,0,1,2,3,133,
  133,133,128,255,128,157,0,1,1,3,133,133,128,34,0,1,3,3,132,132,132,132,132,132,
  132,132,132,132,0,9,1,1,34,35,0,1,3,3,131,131,131,131,131,131,131,131,131,131,
  0,9,1,1,35,43,0,1,3,3,133,133,133,133,133,133,133,133,133,133,0,9,1,1,
  43,27,0,1,3,3,135,135,135,135,135,135,135,135,135,135,0,9,1,1,27,51,0,1,
  3,3,129,129,129,129,129,129,129,129,129,129,0,9,1,1,51,41,0,1,3,3,254,254,
  254,254,255,254,254,254,254,45,0,1,3,3,4,4,4,4,255,4,4,4,4,44,0,1,
  2,2,254,254,254,254,28,0,1,2,2,14,14,14,14,50,0,4,2,2,1,1,1,1,
  36,0,1,2,2,138,138,138,138,52,0,1,2,2,137,137,137,137,5,0,4,1,1,19,
  6,0,4,1,1,20,7,0,4,1,1,21,128,0,4,1,2,254,254,40,0,4,1,2,
  129,128,40,0,4,1,2,130,128,0,0,0,
};
const uint8_t smelt[] = {
  17,131,16,132,42,133,14,25,4,1,137,138,18,129,47,134,26,135,19,130,20,130,21,130,
  255,255,
};
const uint8_t tint_of_biome[N_BIOMES] = {
  0,0,0,2,1,2,0,1,3,
};
const uint8_t cube_levels[16] = {
  0,2,7,14,24,35,49,65,82,102,123,146,171,197,225,255,
};