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.
C calculatorcalculator-gamescasiochesscrossy-roaddrive-madfx-cg50gamesgeometry-dashgraphing-calculatorndlessnumworksnumworks-appsnumworks-calculatornumworks-gamenumworks-gamestetristi-84-plus-ceti-nspire
/* Generated by tools/assets.py. Do not edit. */
#ifndef NUMDASH_ASSETS_H
#define NUMDASH_ASSETS_H
#include <stdint.h>
typedef struct { uint16_t w, h; int16_t ax, ay; uint8_t fmt, pal; uint32_t off; } Sprite;
typedef struct { uint8_t cap, outline; int8_t sdx, sdy; uint8_t shadow; uint16_t base; const uint8_t *advance; } Font;
enum {
SPR_BLOCK = 0,
SPR_GRID_T = 1,
SPR_GRID_TL = 2,
SPR_GRID_C = 3,
SPR_GRID_NONE = 4,
SPR_GRID_LTR = 5,
SPR_GRID_LR = 6,
SPR_GLOW_ALL = 7,
SPR_GLOW_T = 8,
SPR_GLOW_TL = 9,
SPR_GLOW_C = 10,
SPR_GLOW_LTR = 11,
SPR_GLOW_LR = 12,
SPR_SPIKE = 13,
SPR_SPIKE_SMALL = 14,
SPR_SPIKE_MED = 15,
SPR_GLOW_SPIKE = 16,
SPR_GLOW_SPIKE_SMALL = 17,
SPR_GLOW_SPIKE_MED = 18,
SPR_PIT0 = 19,
SPR_PIT1 = 20,
SPR_PIT2 = 21,
SPR_PLANK = 22,
SPR_GLOW_PLANK = 23,
SPR_SLAB0 = 24,
SPR_SLAB1 = 25,
SPR_SLAB2 = 26,
SPR_SLAB3 = 27,
SPR_ROD1 = 28,
SPR_ROD2 = 29,
SPR_ROD3 = 30,
SPR_ROD_BALL = 31,
SPR_DSPIKES1 = 32,
SPR_DSPIKES2 = 33,
SPR_DSPIKES3 = 34,
SPR_DSPIKES4 = 35,
SPR_CHAIN = 36,
SPR_CHAIN_SHORT = 37,
SPR_STAR = 38,
SPR_DIAG_BLOCK = 39,
SPR_PAD_YELLOW = 40,
SPR_GLOW_PAD_YELLOW = 41,
SPR_PAD_BLUE = 42,
SPR_GLOW_PAD_BLUE = 43,
SPR_PAD_PINK = 44,
SPR_GLOW_PAD_PINK = 45,
SPR_ORB_YELLOW = 46,
SPR_GLOW_ORB_YELLOW = 47,
SPR_ORB_BLUE = 48,
SPR_GLOW_ORB_BLUE = 49,
SPR_ORB_PINK = 50,
SPR_GLOW_ORB_PINK = 51,
SPR_PORTAL_GRAV_BLUE_BACK = 52,
SPR_PORTAL_GRAV_BLUE_FRONT = 53,
SPR_PORTAL_GRAV_YELLOW_BACK = 54,
SPR_PORTAL_GRAV_YELLOW_FRONT = 55,
SPR_PORTAL_CUBE_BACK = 56,
SPR_PORTAL_CUBE_FRONT = 57,
SPR_PORTAL_SHIP_BACK = 58,
SPR_PORTAL_SHIP_FRONT = 59,
SPR_PORTAL_BALL_BACK = 60,
SPR_PORTAL_BALL_FRONT = 61,
SPR_COIN0 = 62,
SPR_COIN1 = 63,
SPR_COIN2 = 64,
SPR_COIN3 = 65,
SPR_CUBE1_P = 66,
SPR_CUBE1_S = 67,
SPR_SHIP1_P = 68,
SPR_SHIP1_S = 69,
SPR_BALL1_P = 70,
SPR_BALL1_S = 71,
SPR_BTN_PLAY = 72,
SPR_BTN_GARAGE = 73,
SPR_BTN_CREATOR = 74,
SPR_BTN_SETTINGS = 75,
SPR_BTN_STATS = 76,
SPR_BTN_HELP = 77,
SPR_BTN_BACK = 78,
SPR_BTN_RESUME = 79,
SPR_BTN_REPLAY = 80,
SPR_BTN_MENU = 81,
SPR_BTN_PRACTICE = 82,
SPR_BTN_NORMAL = 83,
SPR_BTN_SETTINGS_SMALL = 84,
SPR_BTN_PAUSE = 85,
SPR_ARROW_BACK = 86,
SPR_NAV_ARROW = 87,
SPR_FACE1 = 88,
SPR_FACE2 = 89,
SPR_FACE3 = 90,
SPR_FACE4 = 91,
SPR_FACE5 = 92,
SPR_STAR_UI = 93,
SPR_STAR_BIG = 94,
SPR_COIN_UI = 95,
SPR_COIN_UI_EMPTY = 96,
SPR_COIN_BIG = 97,
SPR_COIN_BIG_EMPTY = 98,
SPR_SIDE_ART = 99,
SPR_CHECK_ON = 100,
SPR_CHECK_OFF = 101,
SPR_COUNT = 249
};
extern const Sprite sprites[SPR_COUNT];
extern const uint8_t sprite_blob[];
extern const uint16_t sprite_pal_rgb[][16];
extern const uint8_t sprite_pal_a[][16];
enum { FONT_SMALL, FONT_BIG, FONT_HUGE };
extern const Font fonts[3];
extern const uint8_t font_charmap[96];
#define BG_RECTS 30
extern const uint16_t bg_rects[BG_RECTS][4];
#endif