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.

1.0 KB
Raw Blame
/* Generated by tools/art.py: don't edit. */
#ifndef BT_ART_H
#define BT_ART_H
#include <stdint.h>
#include "font.h"

typedef struct {
  uint8_t w, h, ax, ay;      /* size, anchor */
  uint8_t jx, jy;            /* where the next part attaches (Sans: the head, the torso; the head: sweat) */
  const uint32_t *pal;        /* 0xRRGGBB; index 0 is see-through */
  const uint8_t *px;          /* 4 bits a pixel, two a byte, the first in the low half */
} art_t;

extern const art_t ART_HEAD[8];
extern const art_t ART_HEAD_BLUE2[1];
extern const art_t ART_TORSO[2];
extern const art_t ART_LEGS[2];
extern const art_t ART_BODY_DOWN[4];
extern const art_t ART_BODY_UP[5];
extern const art_t ART_BODY_RIGHT[5];
extern const art_t ART_BODY_LEFT[5];
extern const art_t ART_SWEAT[3];
extern const art_t ART_BLASTER[6];
extern const art_t ART_HEART[2];
extern const art_t ART_BUTTON[4];
extern const art_t ART_BUTTON_ON[4];
extern const art_t ART_LABEL[2];
extern const art_t ART_BUBBLE[1];

extern const np_font_t BT_FONT_BOX;
extern const np_font_t BT_FONT_BUBBLE;
#endif