diff --git a/Makefile b/Makefile index c96d197..bafc225 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,7 @@ compile.bat: Makefile $(BINS): $(CSOURCES) $(ASMSOURCES) $(LCC) -Wm-yn"MAGICLIFE" -Wl-yt0x1B -Wl-ya1 -D_ram_func=0xD000 -o $@ $(CSOURCES) assets/*.c $(ASMSOURCES) + python3 rom_size.py $(BINS) clean: rm -f *.o *.lst *.map *.gb *.ihx *.sym *.cdb *.adb *.asm diff --git a/assets/font0.png b/assets/font0.png index 96fcf39..efbc61d 100644 Binary files a/assets/font0.png and b/assets/font0.png differ diff --git a/assets/font0_v.c b/assets/font0_v.c new file mode 100644 index 0000000..2e02f56 --- /dev/null +++ b/assets/font0_v.c @@ -0,0 +1,107 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font0_v) + +const palette_color_t font0_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font0_v_tiles[336] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x0f,0x00, + 0x1f,0x00,0x7f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x3f,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0xf0,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0xe0,0x00, + 0xf8,0x00,0xfc,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xfc,0x00,0xf8,0x00, + 0xf0,0x00,0xf0,0x00, + 0xff,0x00,0xf0,0x00, + 0x80,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xe0,0x00,0xf8,0x00, + 0x7e,0x00,0x1f,0x00, + 0x07,0x00,0x03,0x00, + 0x03,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xe0,0x00,0xe0,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf8,0x00,0x78,0x00, + 0x9e,0x00,0xef,0x00, + 0xf3,0x00,0x7c,0x00, + 0x03,0x00,0x03,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0xf8,0x00,0xf8,0x00, + 0xe0,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x03,0x00, + 0x01,0x00,0x03,0x00, + 0x03,0x00,0x07,0x00, + 0x0f,0x00,0x3f,0x00, + 0xff,0x00,0xff,0x00, + 0xe0,0x00,0xe0,0x00, + 0xe0,0x00,0xe0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x80,0x00,0x80,0x00, + 0x3f,0x00,0x1f,0x00, + 0x07,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x7f,0x00,0x07,0x00, + 0x00,0x00,0x00,0x00, + 0x3f,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xfe,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xfe,0x00, + 0xfc,0x00,0xf0,0x00, + 0xc0,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font0_v_map[24] = { + 0x00,0x01,0x02,0x03,0x04,0x00, + 0x05,0x06,0x07,0x08,0x09,0x0a, + 0x0b,0x0c,0x0d,0x0e,0x0f,0x10, + 0x00,0x11,0x12,0x13,0x14,0x00, +}; diff --git a/assets/font0_v.h b/assets/font0_v.h new file mode 100644 index 0000000..a1362a7 --- /dev/null +++ b/assets/font0_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font0_v_H +#define METASPRITE_font0_v_H + +#include +#include +#include + +#define font0_v_TILE_ORIGIN 0 +#define font0_v_TILE_W 8 +#define font0_v_TILE_H 8 +#define font0_v_WIDTH 48 +#define font0_v_HEIGHT 32 +#define font0_v_TILE_COUNT 21 +#define font0_v_PALETTE_COUNT 1 +#define font0_v_COLORS_PER_PALETTE 4 +#define font0_v_TOTAL_COLORS 4 +#define font0_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font0_v) + +extern const palette_color_t font0_v_palettes[4]; +extern const uint8_t font0_v_tiles[336]; + +extern const unsigned char font0_v_map[24]; + +#endif diff --git a/assets/font0_v.png b/assets/font0_v.png new file mode 100644 index 0000000..fd55344 Binary files /dev/null and b/assets/font0_v.png differ diff --git a/assets/font10_v.c b/assets/font10_v.c new file mode 100644 index 0000000..440c471 --- /dev/null +++ b/assets/font10_v.c @@ -0,0 +1,87 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font10_v) + +const palette_color_t font10_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font10_v_tiles[256] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x03,0x00,0x0f,0x00, + 0x0f,0x00,0x0f,0x00, + 0x03,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0x80,0x00,0x80,0x00, + 0x80,0x00,0xe0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x70,0x00,0x7c,0x00, + 0x7c,0x00,0xfc,0x00, + 0x0f,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xe0,0x00,0x8f,0x00, + 0x1e,0x00,0x1e,0x00, + 0x7c,0x00,0x7c,0x00, + 0x7c,0x00,0x7f,0x00, + 0x00,0x00,0xec,0x00, + 0x7c,0x00,0x7c,0x00, + 0x1f,0x00,0x7e,0x00, + 0x7e,0x00,0xef,0x00, + 0xfc,0x00,0x60,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x0f,0x00, + 0x7f,0x00,0x7c,0x00, + 0x7c,0x00,0x7c,0x00, + 0x1e,0x00,0x0e,0x00, + 0x8f,0x00,0xe0,0x00, + 0xef,0x00,0x7e,0x00, + 0x1f,0x00,0x1f,0x00, + 0x7c,0x00,0x6c,0x00, + 0xec,0x00,0x00,0x00, + 0x80,0x00,0x00,0x00, + 0x80,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x60,0x00,0xfc,0x00, + 0x0f,0x00,0x0f,0x00, + 0x03,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xe0,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xfc,0x00,0x7c,0x00, + 0x70,0x00,0x70,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font10_v_map[24] = { + 0x00,0x01,0x02,0x03,0x04,0x00, + 0x00,0x05,0x06,0x07,0x08,0x00, + 0x00,0x09,0x0a,0x0b,0x0c,0x00, + 0x00,0x0d,0x0e,0x00,0x0f,0x00, +}; diff --git a/assets/font10_v.h b/assets/font10_v.h new file mode 100644 index 0000000..d68c69d --- /dev/null +++ b/assets/font10_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font10_v_H +#define METASPRITE_font10_v_H + +#include +#include +#include + +#define font10_v_TILE_ORIGIN 0 +#define font10_v_TILE_W 8 +#define font10_v_TILE_H 8 +#define font10_v_WIDTH 48 +#define font10_v_HEIGHT 32 +#define font10_v_TILE_COUNT 16 +#define font10_v_PALETTE_COUNT 1 +#define font10_v_COLORS_PER_PALETTE 4 +#define font10_v_TOTAL_COLORS 4 +#define font10_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font10_v) + +extern const palette_color_t font10_v_palettes[4]; +extern const uint8_t font10_v_tiles[256]; + +extern const unsigned char font10_v_map[24]; + +#endif diff --git a/assets/font10_v.png b/assets/font10_v.png new file mode 100644 index 0000000..224bb99 Binary files /dev/null and b/assets/font10_v.png differ diff --git a/assets/font11_v.c b/assets/font11_v.c new file mode 100644 index 0000000..dfc69db --- /dev/null +++ b/assets/font11_v.c @@ -0,0 +1,87 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font11_v) + +const palette_color_t font11_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font11_v_tiles[256] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x0f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xe0,0x00,0xf0,0x00, + 0x0f,0x00,0x0f,0x00, + 0x1f,0x00,0x1f,0x00, + 0x1f,0x00,0x3f,0x00, + 0x3f,0x00,0x3f,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x3f,0x00,0x3f,0x00, + 0xf0,0x00,0xf8,0x00, + 0xf8,0x00,0xf8,0x00, + 0xf8,0x00,0xfc,0x00, + 0xfc,0x00,0xfc,0x00, + 0x3f,0x00,0x3f,0x00, + 0x00,0x00,0x0c,0x00, + 0x0c,0x00,0x0c,0x00, + 0x0c,0x00,0x0c,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x01,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0xfc,0x00,0xfc,0x00, + 0x00,0x00,0x30,0x00, + 0x30,0x00,0x30,0x00, + 0x30,0x00,0x30,0x00, + 0x0f,0x00,0x0f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xe3,0x00,0xc7,0x00, + 0x0f,0x00,0x1f,0x00, + 0x3f,0x00,0x3f,0x00, + 0x03,0x00,0x03,0x00, + 0xc7,0x00,0xe3,0x00, + 0xf0,0x00,0xf8,0x00, + 0xfc,0x00,0xfc,0x00, + 0xc0,0x00,0xc0,0x00, + 0xf0,0x00,0xf0,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font11_v_map[24] = { + 0x00,0x01,0x02,0x02,0x03,0x00, + 0x00,0x04,0x05,0x06,0x07,0x00, + 0x00,0x08,0x09,0x0a,0x0b,0x00, + 0x00,0x0c,0x0d,0x0e,0x0f,0x00, +}; diff --git a/assets/font11_v.h b/assets/font11_v.h new file mode 100644 index 0000000..007dcb7 --- /dev/null +++ b/assets/font11_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font11_v_H +#define METASPRITE_font11_v_H + +#include +#include +#include + +#define font11_v_TILE_ORIGIN 0 +#define font11_v_TILE_W 8 +#define font11_v_TILE_H 8 +#define font11_v_WIDTH 48 +#define font11_v_HEIGHT 32 +#define font11_v_TILE_COUNT 16 +#define font11_v_PALETTE_COUNT 1 +#define font11_v_COLORS_PER_PALETTE 4 +#define font11_v_TOTAL_COLORS 4 +#define font11_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font11_v) + +extern const palette_color_t font11_v_palettes[4]; +extern const uint8_t font11_v_tiles[256]; + +extern const unsigned char font11_v_map[24]; + +#endif diff --git a/assets/font11_v.png b/assets/font11_v.png new file mode 100644 index 0000000..c6cb972 Binary files /dev/null and b/assets/font11_v.png differ diff --git a/assets/font1_v.c b/assets/font1_v.c new file mode 100644 index 0000000..ac495e9 --- /dev/null +++ b/assets/font1_v.c @@ -0,0 +1,63 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font1_v) + +const palette_color_t font1_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font1_v_tiles[160] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x40,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x03,0x00,0x03,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xe0,0x00,0xc0,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x03,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0x00,0x00 + }; + + +const unsigned char font1_v_map[24] = { + 0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x02,0x02,0x03,0x04, + 0x05,0x06,0x07,0x07,0x08,0x09, + 0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/assets/font1_v.h b/assets/font1_v.h new file mode 100644 index 0000000..18b3e36 --- /dev/null +++ b/assets/font1_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font1_v_H +#define METASPRITE_font1_v_H + +#include +#include +#include + +#define font1_v_TILE_ORIGIN 0 +#define font1_v_TILE_W 8 +#define font1_v_TILE_H 8 +#define font1_v_WIDTH 48 +#define font1_v_HEIGHT 32 +#define font1_v_TILE_COUNT 10 +#define font1_v_PALETTE_COUNT 1 +#define font1_v_COLORS_PER_PALETTE 4 +#define font1_v_TOTAL_COLORS 4 +#define font1_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font1_v) + +extern const palette_color_t font1_v_palettes[4]; +extern const uint8_t font1_v_tiles[160]; + +extern const unsigned char font1_v_map[24]; + +#endif diff --git a/assets/font1_v.png b/assets/font1_v.png new file mode 100644 index 0000000..a3fde32 Binary files /dev/null and b/assets/font1_v.png differ diff --git a/assets/font2.png b/assets/font2.png index 92b665c..c6ee0b0 100644 Binary files a/assets/font2.png and b/assets/font2.png differ diff --git a/assets/font2_v.c b/assets/font2_v.c new file mode 100644 index 0000000..5d48b1c --- /dev/null +++ b/assets/font2_v.c @@ -0,0 +1,91 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font2_v) + +const palette_color_t font2_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font2_v_tiles[272] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x08,0x00, + 0x04,0x00,0x06,0x00, + 0x03,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x00,0x00,0x03,0x00, + 0x0f,0x00,0x3f,0x00, + 0x7f,0x00,0x7f,0x00, + 0xff,0x00,0xf8,0x00, + 0x00,0x00,0xfc,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x03,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0xc0,0x00, + 0xf0,0x00,0xf8,0x00, + 0xfc,0x00,0xfe,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0x80,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x00,0x00, + 0xf0,0x00,0xe0,0x00, + 0xc0,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0x3f,0x00,0x0f,0x00, + 0x07,0x00,0x03,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x87,0x00, + 0xcf,0x00,0xcf,0x00, + 0xee,0x00,0x7e,0x00, + 0x3e,0x00,0x1e,0x00, + 0x80,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xc0,0x00,0x70,0x00, + 0x3f,0x00,0x1f,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x80,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x06,0x00, + 0x03,0x00,0x03,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0xc0,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font2_v_map[24] = { + 0x00,0x00,0x00,0x00,0x01,0x02, + 0x00,0x03,0x04,0x05,0x06,0x07, + 0x08,0x09,0x00,0x0a,0x0b,0x0c, + 0x00,0x0d,0x0e,0x00,0x0f,0x10, +}; diff --git a/assets/font2_v.h b/assets/font2_v.h new file mode 100644 index 0000000..5b70291 --- /dev/null +++ b/assets/font2_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font2_v_H +#define METASPRITE_font2_v_H + +#include +#include +#include + +#define font2_v_TILE_ORIGIN 0 +#define font2_v_TILE_W 8 +#define font2_v_TILE_H 8 +#define font2_v_WIDTH 48 +#define font2_v_HEIGHT 32 +#define font2_v_TILE_COUNT 17 +#define font2_v_PALETTE_COUNT 1 +#define font2_v_COLORS_PER_PALETTE 4 +#define font2_v_TOTAL_COLORS 4 +#define font2_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font2_v) + +extern const palette_color_t font2_v_palettes[4]; +extern const uint8_t font2_v_tiles[272]; + +extern const unsigned char font2_v_map[24]; + +#endif diff --git a/assets/font2_v.png b/assets/font2_v.png new file mode 100644 index 0000000..f99d71f Binary files /dev/null and b/assets/font2_v.png differ diff --git a/assets/font3_v.c b/assets/font3_v.c new file mode 100644 index 0000000..f76daef --- /dev/null +++ b/assets/font3_v.c @@ -0,0 +1,83 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font3_v) + +const palette_color_t font3_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font3_v_tiles[240] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x3f,0x00, + 0x7f,0x00,0xff,0x00, + 0xe0,0x00,0xc0,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0xc0,0x00, + 0xf1,0x00,0xf9,0x00, + 0x7f,0x00,0x1f,0x00, + 0x0f,0x00,0x3f,0x00, + 0x7f,0x00,0xff,0x00, + 0xff,0x00,0xf8,0x00, + 0xe0,0x00,0xc0,0x00, + 0xe0,0x00,0xf8,0x00, + 0xfc,0x00,0xfe,0x00, + 0xff,0x00,0x1f,0x00, + 0x07,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x80,0x00,0xc0,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0x80,0x00,0xc0,0x00, + 0xe0,0x00,0x7c,0x00, + 0x0f,0x00,0x0f,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x13,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0x80,0x00, + 0x80,0x00,0x00,0x00, + 0x3e,0x00,0x0e,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x7e,0x00,0x3c,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font3_v_map[24] = { + 0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,0x05,0x06, + 0x07,0x08,0x09,0x0a,0x0b,0x0c, + 0x00,0x0d,0x00,0x00,0x0e,0x00, +}; diff --git a/assets/font3_v.h b/assets/font3_v.h new file mode 100644 index 0000000..b2736ef --- /dev/null +++ b/assets/font3_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font3_v_H +#define METASPRITE_font3_v_H + +#include +#include +#include + +#define font3_v_TILE_ORIGIN 0 +#define font3_v_TILE_W 8 +#define font3_v_TILE_H 8 +#define font3_v_WIDTH 48 +#define font3_v_HEIGHT 32 +#define font3_v_TILE_COUNT 15 +#define font3_v_PALETTE_COUNT 1 +#define font3_v_COLORS_PER_PALETTE 4 +#define font3_v_TOTAL_COLORS 4 +#define font3_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font3_v) + +extern const palette_color_t font3_v_palettes[4]; +extern const uint8_t font3_v_tiles[240]; + +extern const unsigned char font3_v_map[24]; + +#endif diff --git a/assets/font3_v.png b/assets/font3_v.png new file mode 100644 index 0000000..afc5c26 Binary files /dev/null and b/assets/font3_v.png differ diff --git a/assets/font4_v.c b/assets/font4_v.c new file mode 100644 index 0000000..7f5d57e --- /dev/null +++ b/assets/font4_v.c @@ -0,0 +1,87 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font4_v) + +const palette_color_t font4_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font4_v_tiles[256] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x7f,0x00, + 0x3f,0x00,0x1f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0xe0,0x00, + 0xc0,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x03,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0x3f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x0f,0x00,0x0f,0x00, + 0x0f,0x00,0x0f,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x01,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x1f,0x00,0x07,0x00, + 0x03,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xe0,0x00, + 0xf8,0x00,0xfc,0x00, + 0x7f,0x00,0x1f,0x00, + 0x0f,0x00,0x03,0x00, + 0xff,0x00,0x0f,0x00, + 0x0f,0x00,0x0f,0x00, + 0x0f,0x00,0x8f,0x00, + 0xcf,0x00,0xff,0x00, + 0xff,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0x7f,0x00, + 0x3f,0x00,0x1f,0x00, + 0x07,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font4_v_map[24] = { + 0x00,0x00,0x00,0x01,0x02,0x00, + 0x03,0x04,0x05,0x06,0x07,0x08, + 0x00,0x09,0x0a,0x0b,0x0c,0x0d, + 0x00,0x00,0x0e,0x0f,0x00,0x00, +}; diff --git a/assets/font4_v.h b/assets/font4_v.h new file mode 100644 index 0000000..0d81715 --- /dev/null +++ b/assets/font4_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font4_v_H +#define METASPRITE_font4_v_H + +#include +#include +#include + +#define font4_v_TILE_ORIGIN 0 +#define font4_v_TILE_W 8 +#define font4_v_TILE_H 8 +#define font4_v_WIDTH 48 +#define font4_v_HEIGHT 32 +#define font4_v_TILE_COUNT 16 +#define font4_v_PALETTE_COUNT 1 +#define font4_v_COLORS_PER_PALETTE 4 +#define font4_v_TOTAL_COLORS 4 +#define font4_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font4_v) + +extern const palette_color_t font4_v_palettes[4]; +extern const uint8_t font4_v_tiles[256]; + +extern const unsigned char font4_v_map[24]; + +#endif diff --git a/assets/font4_v.png b/assets/font4_v.png new file mode 100644 index 0000000..2e51119 Binary files /dev/null and b/assets/font4_v.png differ diff --git a/assets/font5_v.c b/assets/font5_v.c new file mode 100644 index 0000000..bf5e18f --- /dev/null +++ b/assets/font5_v.c @@ -0,0 +1,111 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font5_v) + +const palette_color_t font5_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font5_v_tiles[352] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x03,0x00, + 0x0f,0x00,0x3e,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0x80,0x00, + 0x00,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x07,0x00, + 0x7f,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xf0,0x00,0xf8,0x00, + 0x00,0x00,0x07,0x00, + 0x07,0x00,0x07,0x00, + 0x03,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0xfe,0x00,0xfc,0x00, + 0xfc,0x00,0xf8,0x00, + 0xf8,0x00,0xf0,0x00, + 0xf0,0x00,0xf0,0x00, + 0x03,0x00,0x07,0x00, + 0x0f,0x00,0x1f,0x00, + 0x1f,0x00,0x3f,0x00, + 0x3e,0x00,0x7c,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xe0,0x00, + 0x80,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xfe,0x00,0xfe,0x00, + 0xff,0x00,0x3f,0x00, + 0x0f,0x00,0x07,0x00, + 0x03,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0xc0,0x00,0xc0,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0xe0,0x00,0xe0,0x00, + 0xe0,0x00,0xe0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xf8,0x00,0xff,0x00, + 0x7c,0x00,0x78,0x00, + 0x78,0x00,0x78,0x00, + 0x70,0x00,0x70,0x00, + 0x70,0x00,0xf0,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x01,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x80,0x00,0x80,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf0,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x03,0x00,0x07,0x00, + 0xce,0x00,0xfc,0x00, + 0xf0,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font5_v_map[24] = { + 0x00,0x01,0x02,0x03,0x04,0x00, + 0x05,0x06,0x07,0x08,0x09,0x0a, + 0x0b,0x0c,0x0d,0x00,0x0e,0x0f, + 0x10,0x11,0x12,0x13,0x14,0x15, +}; diff --git a/assets/font5_v.h b/assets/font5_v.h new file mode 100644 index 0000000..a141731 --- /dev/null +++ b/assets/font5_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font5_v_H +#define METASPRITE_font5_v_H + +#include +#include +#include + +#define font5_v_TILE_ORIGIN 0 +#define font5_v_TILE_W 8 +#define font5_v_TILE_H 8 +#define font5_v_WIDTH 48 +#define font5_v_HEIGHT 32 +#define font5_v_TILE_COUNT 22 +#define font5_v_PALETTE_COUNT 1 +#define font5_v_COLORS_PER_PALETTE 4 +#define font5_v_TOTAL_COLORS 4 +#define font5_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font5_v) + +extern const palette_color_t font5_v_palettes[4]; +extern const uint8_t font5_v_tiles[352]; + +extern const unsigned char font5_v_map[24]; + +#endif diff --git a/assets/font5_v.png b/assets/font5_v.png new file mode 100644 index 0000000..df1087d Binary files /dev/null and b/assets/font5_v.png differ diff --git a/assets/font6_v.c b/assets/font6_v.c new file mode 100644 index 0000000..20e516f --- /dev/null +++ b/assets/font6_v.c @@ -0,0 +1,107 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font6_v) + +const palette_color_t font6_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font6_v_tiles[336] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x01,0x00, + 0x07,0x00,0x0f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x7f,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0xf0,0x00, + 0xf8,0x00,0xfe,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x03,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x1f,0x00,0x1f,0x00, + 0x3f,0x00,0x7f,0x00, + 0x7e,0x00,0x7c,0x00, + 0x7c,0x00,0x78,0x00, + 0xff,0x00,0xf8,0x00, + 0xc0,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x0f,0x00,0x1f,0x00, + 0xff,0x00,0x0f,0x00, + 0x03,0x00,0x01,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x00,0x00,0x80,0x00, + 0x80,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xe0,0x00,0xe0,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xc0,0x00,0xe0,0x00, + 0xf0,0x00,0x78,0x00, + 0x7c,0x00,0x3f,0x00, + 0x1f,0x00,0x0f,0x00, + 0x78,0x00,0x38,0x00, + 0x38,0x00,0x1c,0x00, + 0x0c,0x00,0x07,0x00, + 0xc3,0x00,0xf0,0x00, + 0x1f,0x00,0x1f,0x00, + 0x0e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0x00,0x00, + 0x80,0x00,0x80,0x00, + 0x01,0x00,0x01,0x00, + 0x03,0x00,0x07,0x00, + 0x1f,0x00,0x3f,0x00, + 0xe0,0x00,0xe0,0x00, + 0xe0,0x00,0xe0,0x00, + 0xe0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x07,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xfe,0x00,0xff,0x00, + 0xff,0x00,0x3f,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0xfe,0x00,0xfc,0x00, + 0xf0,0x00,0xc0,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font6_v_map[24] = { + 0x00,0x00,0x01,0x02,0x03,0x00, + 0x04,0x05,0x06,0x07,0x08,0x09, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x0f, + 0x00,0x10,0x11,0x12,0x13,0x14, +}; diff --git a/assets/font6_v.h b/assets/font6_v.h new file mode 100644 index 0000000..811ab29 --- /dev/null +++ b/assets/font6_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font6_v_H +#define METASPRITE_font6_v_H + +#include +#include +#include + +#define font6_v_TILE_ORIGIN 0 +#define font6_v_TILE_W 8 +#define font6_v_TILE_H 8 +#define font6_v_WIDTH 48 +#define font6_v_HEIGHT 32 +#define font6_v_TILE_COUNT 21 +#define font6_v_PALETTE_COUNT 1 +#define font6_v_COLORS_PER_PALETTE 4 +#define font6_v_TOTAL_COLORS 4 +#define font6_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font6_v) + +extern const palette_color_t font6_v_palettes[4]; +extern const uint8_t font6_v_tiles[336]; + +extern const unsigned char font6_v_map[24]; + +#endif diff --git a/assets/font6_v.png b/assets/font6_v.png new file mode 100644 index 0000000..1e204ff Binary files /dev/null and b/assets/font6_v.png differ diff --git a/assets/font7_v.c b/assets/font7_v.c new file mode 100644 index 0000000..30b1a9b --- /dev/null +++ b/assets/font7_v.c @@ -0,0 +1,79 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font7_v) + +const palette_color_t font7_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font7_v_tiles[224] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0xf0,0x00, + 0xfe,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xe1,0x00, + 0xe0,0x00,0xe0,0x00, + 0x00,0x00,0xc0,0x00, + 0xf8,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x3f,0x00,0x07,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xe0,0x00,0xfc,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0xf1,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0xe0,0x00,0xf0,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf8,0x00,0xf8,0x00, + 0xfc,0x00,0xfc,0x00, + 0xff,0x00,0x1f,0x00, + 0x03,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0x7f,0x00, + 0x0f,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x7e,0x00,0x1f,0x00, + 0x07,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0xc0,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font7_v_map[24] = { + 0x00,0x01,0x00,0x00,0x00,0x00, + 0x00,0x02,0x03,0x04,0x05,0x06, + 0x07,0x08,0x00,0x09,0x0a,0x0b, + 0x00,0x0c,0x0d,0x00,0x00,0x00, +}; diff --git a/assets/font7_v.h b/assets/font7_v.h new file mode 100644 index 0000000..5978467 --- /dev/null +++ b/assets/font7_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font7_v_H +#define METASPRITE_font7_v_H + +#include +#include +#include + +#define font7_v_TILE_ORIGIN 0 +#define font7_v_TILE_W 8 +#define font7_v_TILE_H 8 +#define font7_v_WIDTH 48 +#define font7_v_HEIGHT 32 +#define font7_v_TILE_COUNT 14 +#define font7_v_PALETTE_COUNT 1 +#define font7_v_COLORS_PER_PALETTE 4 +#define font7_v_TOTAL_COLORS 4 +#define font7_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font7_v) + +extern const palette_color_t font7_v_palettes[4]; +extern const uint8_t font7_v_tiles[224]; + +extern const unsigned char font7_v_map[24]; + +#endif diff --git a/assets/font7_v.png b/assets/font7_v.png new file mode 100644 index 0000000..a981337 Binary files /dev/null and b/assets/font7_v.png differ diff --git a/assets/font8_v.c b/assets/font8_v.c new file mode 100644 index 0000000..ff8d8ca --- /dev/null +++ b/assets/font8_v.c @@ -0,0 +1,99 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font8_v) + +const palette_color_t font8_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font8_v_tiles[304] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x03,0x00,0x3f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0xf0,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x1f,0x00, + 0x7f,0x00,0x7f,0x00, + 0xf0,0x00,0xe0,0x00, + 0xc7,0x00,0x8f,0x00, + 0x00,0x00,0xe1,0x00, + 0xf3,0x00,0xfb,0x00, + 0x3f,0x00,0x1f,0x00, + 0x8f,0x00,0xcf,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xf0,0x00, + 0xc0,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0xfc,0x00,0xfe,0x00, + 0xff,0x00,0x07,0x00, + 0x03,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x80,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x8f,0x00,0x8f,0x00, + 0x87,0x00,0xc0,0x00, + 0xe0,0x00,0xff,0x00, + 0x7f,0x00,0x3f,0x00, + 0xce,0x00,0xce,0x00, + 0x0f,0x00,0x1f,0x00, + 0x3f,0x00,0xff,0x00, + 0xf3,0x00,0xf1,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xc0,0x00,0xe0,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x01,0x00, + 0x03,0x00,0x07,0x00, + 0xff,0x00,0xfe,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x80,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xc0,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0x7f,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xfe,0x00,0xf8,0x00, + 0xe0,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font8_v_map[24] = { + 0x00,0x00,0x00,0x01,0x02,0x00, + 0x03,0x04,0x05,0x06,0x07,0x08, + 0x09,0x0a,0x0b,0x0c,0x0d,0x0e, + 0x00,0x0f,0x10,0x11,0x12,0x00, +}; diff --git a/assets/font8_v.h b/assets/font8_v.h new file mode 100644 index 0000000..561c31b --- /dev/null +++ b/assets/font8_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font8_v_H +#define METASPRITE_font8_v_H + +#include +#include +#include + +#define font8_v_TILE_ORIGIN 0 +#define font8_v_TILE_W 8 +#define font8_v_TILE_H 8 +#define font8_v_WIDTH 48 +#define font8_v_HEIGHT 32 +#define font8_v_TILE_COUNT 19 +#define font8_v_PALETTE_COUNT 1 +#define font8_v_COLORS_PER_PALETTE 4 +#define font8_v_TOTAL_COLORS 4 +#define font8_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font8_v) + +extern const palette_color_t font8_v_palettes[4]; +extern const uint8_t font8_v_tiles[304]; + +extern const unsigned char font8_v_map[24]; + +#endif diff --git a/assets/font8_v.png b/assets/font8_v.png new file mode 100644 index 0000000..3877bdb Binary files /dev/null and b/assets/font8_v.png differ diff --git a/assets/font9_v.c b/assets/font9_v.c new file mode 100644 index 0000000..7811e4b --- /dev/null +++ b/assets/font9_v.c @@ -0,0 +1,103 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font9_v) + +const palette_color_t font9_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font9_v_tiles[320] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x0f,0x00, + 0x3f,0x00,0x7f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0xf8,0x00, + 0xfe,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x00,0x00,0x01,0x00, + 0x03,0x00,0x03,0x00, + 0x03,0x00,0x07,0x00, + 0x07,0x00,0x07,0x00, + 0xff,0x00,0xff,0x00, + 0xfc,0x00,0xf8,0x00, + 0xe0,0x00,0xc0,0x00, + 0x80,0x00,0x80,0x00, + 0xff,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x70,0x00, + 0xff,0x00,0x3f,0x00, + 0x87,0x00,0xc1,0x00, + 0x70,0x00,0x38,0x00, + 0x18,0x00,0x1c,0x00, + 0xe0,0x00,0xf0,0x00, + 0xf8,0x00,0xfc,0x00, + 0x7e,0x00,0x1f,0x00, + 0x0f,0x00,0x07,0x00, + 0x07,0x00,0x07,0x00, + 0x07,0x00,0x07,0x00, + 0x07,0x00,0x03,0x00, + 0x03,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x80,0x00,0xc0,0x00, + 0xf8,0x00,0xf8,0x00, + 0xf8,0x00,0xf0,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x07,0x00, + 0x1c,0x00,0x1e,0x00, + 0x1e,0x00,0x3e,0x00, + 0x3e,0x00,0x7e,0x00, + 0xfc,0x00,0xfc,0x00, + 0x03,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xc0,0x00,0xc0,0x00, + 0x60,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xf0,0x00,0xff,0x00, + 0x7f,0x00,0x1f,0x00, + 0x0f,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x1f,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xfe,0x00, + 0x00,0x00,0x00,0x00, + 0xf8,0x00,0xf8,0x00, + 0xf0,0x00,0xc0,0x00, + 0x80,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font9_v_map[24] = { + 0x00,0x01,0x02,0x03,0x04,0x00, + 0x05,0x06,0x07,0x08,0x09,0x04, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x0f, + 0x10,0x11,0x12,0x13,0x00,0x00, +}; diff --git a/assets/font9_v.h b/assets/font9_v.h new file mode 100644 index 0000000..de7a8cc --- /dev/null +++ b/assets/font9_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font9_v_H +#define METASPRITE_font9_v_H + +#include +#include +#include + +#define font9_v_TILE_ORIGIN 0 +#define font9_v_TILE_W 8 +#define font9_v_TILE_H 8 +#define font9_v_WIDTH 48 +#define font9_v_HEIGHT 32 +#define font9_v_TILE_COUNT 20 +#define font9_v_PALETTE_COUNT 1 +#define font9_v_COLORS_PER_PALETTE 4 +#define font9_v_TOTAL_COLORS 4 +#define font9_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font9_v) + +extern const palette_color_t font9_v_palettes[4]; +extern const uint8_t font9_v_tiles[320]; + +extern const unsigned char font9_v_map[24]; + +#endif diff --git a/assets/font9_v.png b/assets/font9_v.png new file mode 100644 index 0000000..c4e59f8 Binary files /dev/null and b/assets/font9_v.png differ diff --git a/assets/font_alt0_v.c b/assets/font_alt0_v.c new file mode 100644 index 0000000..627b0b5 --- /dev/null +++ b/assets/font_alt0_v.c @@ -0,0 +1,102 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt0_v) + +const uint8_t font_alt0_v_tiles[336] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x03, + 0x00,0x0f,0x00,0x3f, + 0x00,0x7f,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x7f,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xfc, + 0x00,0x00,0x00,0x00, + 0x00,0xe0,0x00,0xfe, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0xe0, + 0x00,0xf8,0x00,0xfc, + 0x00,0x01,0x00,0x01, + 0x00,0x03,0x00,0x03, + 0x00,0x07,0x00,0x07, + 0x00,0x07,0x00,0x07, + 0x00,0xff,0x00,0xff, + 0x00,0xfc,0x00,0xf0, + 0x00,0xe0,0x00,0xc0, + 0x00,0xc0,0x00,0x80, + 0x00,0xc0,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x07, + 0x00,0x1f,0x00,0x1f, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0xc0,0x00,0xc0, + 0x00,0x3e,0x00,0xcf, + 0x00,0xf7,0x00,0x79, + 0x00,0x1e,0x00,0x1f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0x80, + 0x00,0x07,0x00,0x07, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0xc0, + 0x00,0xc0,0x00,0xe0, + 0x00,0xf8,0x00,0x7e, + 0x00,0x1f,0x00,0x07, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x01, + 0x00,0x0f,0x00,0xff, + 0x00,0x0f,0x00,0x0f, + 0x00,0x1f,0x00,0x3f, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x3f,0x00,0x1f, + 0x00,0x07,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x0f,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xfc,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xfe,0x00,0xf8, + 0x00,0xf0,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt0_v_map[24] = { + 0x00,0x01,0x02,0x03,0x04,0x00, + 0x05,0x06,0x07,0x08,0x09,0x0a, + 0x0b,0x0c,0x0d,0x0e,0x0f,0x10, + 0x00,0x11,0x12,0x13,0x14,0x00, +}; diff --git a/assets/font_alt0_v.h b/assets/font_alt0_v.h new file mode 100644 index 0000000..d653406 --- /dev/null +++ b/assets/font_alt0_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt0_v_H +#define METASPRITE_font_alt0_v_H + +#include +#include +#include + +#define font_alt0_v_TILE_ORIGIN 0 +#define font_alt0_v_TILE_W 8 +#define font_alt0_v_TILE_H 8 +#define font_alt0_v_WIDTH 48 +#define font_alt0_v_HEIGHT 32 +#define font_alt0_v_TILE_COUNT 21 +#define font_alt0_v_PALETTE_COUNT 0 +#define font_alt0_v_COLORS_PER_PALETTE 4 +#define font_alt0_v_TOTAL_COLORS 0 +#define font_alt0_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt0_v) + +extern const palette_color_t font_alt0_v_palettes[0]; +extern const uint8_t font_alt0_v_tiles[336]; + +extern const unsigned char font_alt0_v_map[24]; + +#endif diff --git a/assets/font_alt0_v.png b/assets/font_alt0_v.png new file mode 100644 index 0000000..67101b9 Binary files /dev/null and b/assets/font_alt0_v.png differ diff --git a/assets/font_alt10_v.c b/assets/font_alt10_v.c new file mode 100644 index 0000000..d1ef0e1 --- /dev/null +++ b/assets/font_alt10_v.c @@ -0,0 +1,82 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt10_v) + +const uint8_t font_alt10_v_tiles[256] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x0e,0x00,0x0e, + 0x00,0x3e,0x00,0x3f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x01, + 0x00,0x01,0x00,0x07, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0xc0, + 0x00,0xf0,0x00,0xf0, + 0x00,0x3f,0x00,0x06, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x01, + 0x00,0x00,0x00,0x01, + 0x00,0x00,0x00,0x37, + 0x00,0x36,0x00,0x3e, + 0x00,0xf8,0x00,0xf8, + 0x00,0x7e,0x00,0xf7, + 0x00,0x07,0x00,0xf1, + 0x00,0x70,0x00,0x78, + 0x00,0x3e,0x00,0x3e, + 0x00,0x3e,0x00,0xfe, + 0x00,0xf0,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x06,0x00,0x3f, + 0x00,0xf7,0x00,0x7e, + 0x00,0x7e,0x00,0xf8, + 0x00,0x3e,0x00,0x3e, + 0x00,0x37,0x00,0x00, + 0x00,0xfe,0x00,0x3e, + 0x00,0x3e,0x00,0x3e, + 0x00,0x78,0x00,0x78, + 0x00,0xf1,0x00,0x07, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0xf0, + 0x00,0x3f,0x00,0x3e, + 0x00,0x3e,0x00,0x0e, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x07,0x00,0x01, + 0x00,0x01,0x00,0x01, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0xc0, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf0,0x00,0xc0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt10_v_map[24] = { + 0x00,0x01,0x00,0x02,0x03,0x00, + 0x00,0x04,0x05,0x06,0x07,0x00, + 0x00,0x08,0x09,0x0a,0x0b,0x00, + 0x00,0x0c,0x0d,0x0e,0x0f,0x00, +}; diff --git a/assets/font_alt10_v.h b/assets/font_alt10_v.h new file mode 100644 index 0000000..cbf9b8e --- /dev/null +++ b/assets/font_alt10_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt10_v_H +#define METASPRITE_font_alt10_v_H + +#include +#include +#include + +#define font_alt10_v_TILE_ORIGIN 0 +#define font_alt10_v_TILE_W 8 +#define font_alt10_v_TILE_H 8 +#define font_alt10_v_WIDTH 48 +#define font_alt10_v_HEIGHT 32 +#define font_alt10_v_TILE_COUNT 16 +#define font_alt10_v_PALETTE_COUNT 0 +#define font_alt10_v_COLORS_PER_PALETTE 4 +#define font_alt10_v_TOTAL_COLORS 0 +#define font_alt10_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt10_v) + +extern const palette_color_t font_alt10_v_palettes[0]; +extern const uint8_t font_alt10_v_tiles[256]; + +extern const unsigned char font_alt10_v_map[24]; + +#endif diff --git a/assets/font_alt10_v.png b/assets/font_alt10_v.png new file mode 100644 index 0000000..2f56c55 Binary files /dev/null and b/assets/font_alt10_v.png differ diff --git a/assets/font_alt11_v.c b/assets/font_alt11_v.c new file mode 100644 index 0000000..f5d2390 --- /dev/null +++ b/assets/font_alt11_v.c @@ -0,0 +1,82 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt11_v) + +const uint8_t font_alt11_v_tiles[256] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x0f,0x00,0x0f, + 0x00,0x03,0x00,0x03, + 0x00,0x3f,0x00,0x3f, + 0x00,0x1f,0x00,0x0f, + 0x00,0xc7,0x00,0xe3, + 0x00,0xc0,0x00,0xc0, + 0x00,0xfc,0x00,0xfc, + 0x00,0xf8,0x00,0xf0, + 0x00,0xe3,0x00,0xc7, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xf0,0x00,0xf0, + 0x00,0x0c,0x00,0x0c, + 0x00,0x0c,0x00,0x0c, + 0x00,0x0c,0x00,0x00, + 0x00,0x3f,0x00,0x3f, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0x80,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0x30,0x00,0x30, + 0x00,0x30,0x00,0x30, + 0x00,0x30,0x00,0x00, + 0x00,0xfc,0x00,0xfc, + 0x00,0x3f,0x00,0x3f, + 0x00,0x3f,0x00,0x1f, + 0x00,0x1f,0x00,0x1f, + 0x00,0x1f,0x00,0x0f, + 0x00,0xfc,0x00,0xfc, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xfc,0x00,0xfc, + 0x00,0xfc,0x00,0xf8, + 0x00,0xf8,0x00,0xf8, + 0x00,0xf0,0x00,0xf0, + 0x00,0x0f,0x00,0x07, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xf0,0x00,0xe0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt11_v_map[24] = { + 0x00,0x01,0x02,0x03,0x04,0x00, + 0x00,0x05,0x06,0x07,0x08,0x00, + 0x00,0x09,0x0a,0x0b,0x0c,0x00, + 0x00,0x0d,0x0e,0x0e,0x0f,0x00, +}; diff --git a/assets/font_alt11_v.h b/assets/font_alt11_v.h new file mode 100644 index 0000000..674ca3f --- /dev/null +++ b/assets/font_alt11_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt11_v_H +#define METASPRITE_font_alt11_v_H + +#include +#include +#include + +#define font_alt11_v_TILE_ORIGIN 0 +#define font_alt11_v_TILE_W 8 +#define font_alt11_v_TILE_H 8 +#define font_alt11_v_WIDTH 48 +#define font_alt11_v_HEIGHT 32 +#define font_alt11_v_TILE_COUNT 16 +#define font_alt11_v_PALETTE_COUNT 0 +#define font_alt11_v_COLORS_PER_PALETTE 4 +#define font_alt11_v_TOTAL_COLORS 0 +#define font_alt11_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt11_v) + +extern const palette_color_t font_alt11_v_palettes[0]; +extern const uint8_t font_alt11_v_tiles[256]; + +extern const unsigned char font_alt11_v_map[24]; + +#endif diff --git a/assets/font_alt11_v.png b/assets/font_alt11_v.png new file mode 100644 index 0000000..59f0794 Binary files /dev/null and b/assets/font_alt11_v.png differ diff --git a/assets/font_alt1_v.c b/assets/font_alt1_v.c new file mode 100644 index 0000000..e56d86c --- /dev/null +++ b/assets/font_alt1_v.c @@ -0,0 +1,58 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt1_v) + +const uint8_t font_alt1_v_tiles[160] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xc0, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x03,0x00,0x07, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0x80, + 0x00,0xc0,0x00,0xc0, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x02, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt1_v_map[24] = { + 0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x03,0x04,0x05, + 0x06,0x07,0x08,0x08,0x08,0x09, + 0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/assets/font_alt1_v.h b/assets/font_alt1_v.h new file mode 100644 index 0000000..1f49d98 --- /dev/null +++ b/assets/font_alt1_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt1_v_H +#define METASPRITE_font_alt1_v_H + +#include +#include +#include + +#define font_alt1_v_TILE_ORIGIN 0 +#define font_alt1_v_TILE_W 8 +#define font_alt1_v_TILE_H 8 +#define font_alt1_v_WIDTH 48 +#define font_alt1_v_HEIGHT 32 +#define font_alt1_v_TILE_COUNT 10 +#define font_alt1_v_PALETTE_COUNT 0 +#define font_alt1_v_COLORS_PER_PALETTE 4 +#define font_alt1_v_TOTAL_COLORS 0 +#define font_alt1_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt1_v) + +extern const palette_color_t font_alt1_v_palettes[0]; +extern const uint8_t font_alt1_v_tiles[160]; + +extern const unsigned char font_alt1_v_map[24]; + +#endif diff --git a/assets/font_alt1_v.png b/assets/font_alt1_v.png new file mode 100644 index 0000000..a44c2a7 Binary files /dev/null and b/assets/font_alt1_v.png differ diff --git a/assets/font_alt2_v.c b/assets/font_alt2_v.c new file mode 100644 index 0000000..45ec1f0 --- /dev/null +++ b/assets/font_alt2_v.c @@ -0,0 +1,86 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt2_v) + +const uint8_t font_alt2_v_tiles[272] = { + 0x00,0x00,0x00,0x00, + 0x00,0x03,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0xc0,0x00,0xc0, + 0x00,0x60,0x00,0x70, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x01, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xf0, + 0x00,0xf8,0x00,0xfc, + 0x00,0x0e,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x01, + 0x00,0x78,0x00,0x7c, + 0x00,0x7e,0x00,0x77, + 0x00,0xf3,0x00,0xf3, + 0x00,0xe1,0x00,0xe0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0xc0,0x00,0xe0, + 0x00,0xf0,0x00,0xfc, + 0x00,0x01,0x00,0x01, + 0x00,0x01,0x00,0x01, + 0x00,0x01,0x00,0x03, + 0x00,0x07,0x00,0x0f, + 0x00,0x00,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x01, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x7f,0x00,0x3f, + 0x00,0x1f,0x00,0x0f, + 0x00,0x03,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xc0, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x3f,0x00,0x00, + 0x00,0x1f,0x00,0xff, + 0x00,0xfe,0x00,0xfe, + 0x00,0xfc,0x00,0xf0, + 0x00,0xc0,0x00,0x00, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0xc0, + 0x00,0x60,0x00,0x20, + 0x00,0x10,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt2_v_map[24] = { + 0x00,0x01,0x02,0x03,0x04,0x02, + 0x05,0x06,0x07,0x02,0x08,0x09, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x02, + 0x0f,0x10,0x02,0x02,0x02,0x02, +}; diff --git a/assets/font_alt2_v.h b/assets/font_alt2_v.h new file mode 100644 index 0000000..1d7d6d0 --- /dev/null +++ b/assets/font_alt2_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt2_v_H +#define METASPRITE_font_alt2_v_H + +#include +#include +#include + +#define font_alt2_v_TILE_ORIGIN 0 +#define font_alt2_v_TILE_W 8 +#define font_alt2_v_TILE_H 8 +#define font_alt2_v_WIDTH 48 +#define font_alt2_v_HEIGHT 32 +#define font_alt2_v_TILE_COUNT 17 +#define font_alt2_v_PALETTE_COUNT 0 +#define font_alt2_v_COLORS_PER_PALETTE 4 +#define font_alt2_v_TOTAL_COLORS 0 +#define font_alt2_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt2_v) + +extern const palette_color_t font_alt2_v_palettes[0]; +extern const uint8_t font_alt2_v_tiles[272]; + +extern const unsigned char font_alt2_v_map[24]; + +#endif diff --git a/assets/font_alt2_v.png b/assets/font_alt2_v.png new file mode 100644 index 0000000..325fd3c Binary files /dev/null and b/assets/font_alt2_v.png differ diff --git a/assets/font_alt3_v.c b/assets/font_alt3_v.c new file mode 100644 index 0000000..dc21ede --- /dev/null +++ b/assets/font_alt3_v.c @@ -0,0 +1,78 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt3_v) + +const uint8_t font_alt3_v_tiles[240] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x3c,0x00,0x7e, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x70,0x00,0x7c, + 0x00,0x00,0x00,0x01, + 0x00,0x01,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0xc8,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xf0, + 0x00,0xf0,0x00,0xf0, + 0x00,0x3e,0x00,0x07, + 0x00,0x03,0x00,0x01, + 0x00,0x01,0x00,0x01, + 0x00,0x01,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x03,0x00,0x01, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0xe0, + 0x00,0xf8,0x00,0xff, + 0x00,0x7f,0x00,0x3f, + 0x00,0x1f,0x00,0x07, + 0x00,0x03,0x00,0x07, + 0x00,0x1f,0x00,0xff, + 0x00,0xff,0x00,0xfe, + 0x00,0xfc,0x00,0xf0, + 0x00,0xf8,0x00,0xfe, + 0x00,0x9f,0x00,0x8f, + 0x00,0x03,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x03,0x00,0x07, + 0x00,0xff,0x00,0xfe, + 0x00,0xfc,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt3_v_map[24] = { + 0x00,0x01,0x00,0x00,0x02,0x00, + 0x03,0x04,0x05,0x06,0x07,0x08, + 0x09,0x0a,0x0b,0x0c,0x0d,0x0e, + 0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/assets/font_alt3_v.h b/assets/font_alt3_v.h new file mode 100644 index 0000000..e5b46c6 --- /dev/null +++ b/assets/font_alt3_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt3_v_H +#define METASPRITE_font_alt3_v_H + +#include +#include +#include + +#define font_alt3_v_TILE_ORIGIN 0 +#define font_alt3_v_TILE_W 8 +#define font_alt3_v_TILE_H 8 +#define font_alt3_v_WIDTH 48 +#define font_alt3_v_HEIGHT 32 +#define font_alt3_v_TILE_COUNT 15 +#define font_alt3_v_PALETTE_COUNT 0 +#define font_alt3_v_COLORS_PER_PALETTE 4 +#define font_alt3_v_TOTAL_COLORS 0 +#define font_alt3_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt3_v) + +extern const palette_color_t font_alt3_v_palettes[0]; +extern const uint8_t font_alt3_v_tiles[240]; + +extern const unsigned char font_alt3_v_map[24]; + +#endif diff --git a/assets/font_alt3_v.png b/assets/font_alt3_v.png new file mode 100644 index 0000000..31e05d7 Binary files /dev/null and b/assets/font_alt3_v.png differ diff --git a/assets/font_alt4_v.c b/assets/font_alt4_v.c new file mode 100644 index 0000000..2d1d5e3 --- /dev/null +++ b/assets/font_alt4_v.c @@ -0,0 +1,82 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt4_v) + +const uint8_t font_alt4_v_tiles[256] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0xe0, + 0x00,0xf8,0x00,0xfc, + 0x00,0xfe,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0xff, + 0x00,0xff,0x00,0xf3, + 0x00,0xf1,0x00,0xf0, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf0,0x00,0xff, + 0x00,0xc0,0x00,0xf0, + 0x00,0xf8,0x00,0xfe, + 0x00,0x3f,0x00,0x1f, + 0x00,0x07,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xc0, + 0x00,0xe0,0x00,0xf8, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x80,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf0,0x00,0xf0, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xfc,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0xc0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x03, + 0x00,0x07,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xf8,0x00,0xfc, + 0x00,0xfe,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt4_v_map[24] = { + 0x00,0x00,0x01,0x02,0x00,0x00, + 0x03,0x04,0x05,0x06,0x07,0x00, + 0x08,0x09,0x0a,0x0b,0x0c,0x0d, + 0x00,0x0e,0x0f,0x00,0x00,0x00, +}; diff --git a/assets/font_alt4_v.h b/assets/font_alt4_v.h new file mode 100644 index 0000000..0ff3ef1 --- /dev/null +++ b/assets/font_alt4_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt4_v_H +#define METASPRITE_font_alt4_v_H + +#include +#include +#include + +#define font_alt4_v_TILE_ORIGIN 0 +#define font_alt4_v_TILE_W 8 +#define font_alt4_v_TILE_H 8 +#define font_alt4_v_WIDTH 48 +#define font_alt4_v_HEIGHT 32 +#define font_alt4_v_TILE_COUNT 16 +#define font_alt4_v_PALETTE_COUNT 0 +#define font_alt4_v_COLORS_PER_PALETTE 4 +#define font_alt4_v_TOTAL_COLORS 0 +#define font_alt4_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt4_v) + +extern const palette_color_t font_alt4_v_palettes[0]; +extern const uint8_t font_alt4_v_tiles[256]; + +extern const unsigned char font_alt4_v_map[24]; + +#endif diff --git a/assets/font_alt4_v.png b/assets/font_alt4_v.png new file mode 100644 index 0000000..79490d7 Binary files /dev/null and b/assets/font_alt4_v.png differ diff --git a/assets/font_alt5_v.c b/assets/font_alt5_v.c new file mode 100644 index 0000000..c5a1e95 --- /dev/null +++ b/assets/font_alt5_v.c @@ -0,0 +1,107 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt5_v) + + +const uint8_t font_alt5_v_tiles[352] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x0f, + 0x00,0x3f,0x00,0x73, + 0x00,0xe0,0x00,0xc0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x0f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x01,0x00,0x01, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x80,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x0f,0x00,0x0e, + 0x00,0x0e,0x00,0x0e, + 0x00,0x1e,0x00,0x1e, + 0x00,0x1e,0x00,0x3e, + 0x00,0xff,0x00,0x1f, + 0x00,0x03,0x00,0x03, + 0x00,0x07,0x00,0x07, + 0x00,0x07,0x00,0x07, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x03,0x00,0x03, + 0x00,0x01,0x00,0x01, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0xc0, + 0x00,0xe0,0x00,0xf0, + 0x00,0xfc,0x00,0xff, + 0x00,0x7f,0x00,0x7f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x01, + 0x00,0x07,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x3e,0x00,0x7c, + 0x00,0xfc,0x00,0xf8, + 0x00,0xf8,0x00,0xf0, + 0x00,0xe0,0x00,0xc0, + 0x00,0x0f,0x00,0x0f, + 0x00,0x0f,0x00,0x1f, + 0x00,0x1f,0x00,0x3f, + 0x00,0x3f,0x00,0x7f, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0xc0, + 0x00,0xe0,0x00,0xe0, + 0x00,0xe0,0x00,0x00, + 0x00,0x1f,0x00,0x0f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xfe, + 0x00,0xe0,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0x00, + 0x00,0x01,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x7c,0x00,0xf0, + 0x00,0xc0,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt5_v_map[24] = { + 0x00,0x01,0x02,0x03,0x04,0x05, + 0x06,0x07,0x08,0x09,0x0a,0x0b, + 0x0c,0x0d,0x0e,0x0f,0x10,0x11, + 0x08,0x12,0x13,0x14,0x15,0x08, +}; diff --git a/assets/font_alt5_v.h b/assets/font_alt5_v.h new file mode 100644 index 0000000..8e66387 --- /dev/null +++ b/assets/font_alt5_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt5_v_H +#define METASPRITE_font_alt5_v_H + +#include +#include +#include + +#define font_alt5_v_TILE_ORIGIN 0 +#define font_alt5_v_TILE_W 8 +#define font_alt5_v_TILE_H 8 +#define font_alt5_v_WIDTH 48 +#define font_alt5_v_HEIGHT 32 +#define font_alt5_v_TILE_COUNT 22 +#define font_alt5_v_PALETTE_COUNT 0 +#define font_alt5_v_COLORS_PER_PALETTE 4 +#define font_alt5_v_TOTAL_COLORS 0 +#define font_alt5_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt5_v) + +extern const palette_color_t font_alt5_v_palettes[0]; +extern const uint8_t font_alt5_v_tiles[352]; + +extern const unsigned char font_alt5_v_map[24]; + +#endif diff --git a/assets/font_alt5_v.png b/assets/font_alt5_v.png new file mode 100644 index 0000000..60f293e Binary files /dev/null and b/assets/font_alt5_v.png differ diff --git a/assets/font_alt6_v.c b/assets/font_alt6_v.c new file mode 100644 index 0000000..1cc4370 --- /dev/null +++ b/assets/font_alt6_v.c @@ -0,0 +1,102 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt6_v) + +const uint8_t font_alt6_v_tiles[336] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x03,0x00,0x0f, + 0x00,0x3f,0x00,0x7f, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xf0, + 0x00,0xfc,0x00,0xff, + 0x00,0xff,0x00,0x7f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0xe0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x07, + 0x00,0x07,0x00,0x07, + 0x00,0x07,0x00,0x07, + 0x00,0xfc,0x00,0xf8, + 0x00,0xe0,0x00,0xc0, + 0x00,0x80,0x00,0x80, + 0x00,0x01,0x00,0x01, + 0x00,0x00,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x70, + 0x00,0xf8,0x00,0xf8, + 0x00,0x0f,0x00,0xc3, + 0x00,0xe0,0x00,0x30, + 0x00,0x38,0x00,0x1c, + 0x00,0x1c,0x00,0x1e, + 0x00,0xf0,0x00,0xf8, + 0x00,0xfc,0x00,0x3e, + 0x00,0x1e,0x00,0x0f, + 0x00,0x07,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0x80, + 0x00,0x07,0x00,0x07, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x01, + 0x00,0x01,0x00,0x00, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0x80,0x00,0xc0, + 0x00,0xf0,0x00,0xff, + 0x00,0xf8,0x00,0xf0, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x03, + 0x00,0x1f,0x00,0xff, + 0x00,0x1e,0x00,0x3e, + 0x00,0x3e,0x00,0x7e, + 0x00,0xfe,0x00,0xfc, + 0x00,0xf8,0x00,0xf8, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0xc0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x7f,0x00,0x1f, + 0x00,0x0f,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xfe, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xf0,0x00,0xe0, + 0x00,0x80,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt6_v_map[24] = { + 0x00,0x01,0x02,0x03,0x04,0x05, + 0x06,0x07,0x08,0x09,0x0a,0x0b, + 0x0c,0x0d,0x0e,0x0f,0x10,0x11, + 0x05,0x12,0x13,0x14,0x05,0x05, +}; diff --git a/assets/font_alt6_v.h b/assets/font_alt6_v.h new file mode 100644 index 0000000..be5bcd7 --- /dev/null +++ b/assets/font_alt6_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt6_v_H +#define METASPRITE_font_alt6_v_H + +#include +#include +#include + +#define font_alt6_v_TILE_ORIGIN 0 +#define font_alt6_v_TILE_W 8 +#define font_alt6_v_TILE_H 8 +#define font_alt6_v_WIDTH 48 +#define font_alt6_v_HEIGHT 32 +#define font_alt6_v_TILE_COUNT 21 +#define font_alt6_v_PALETTE_COUNT 0 +#define font_alt6_v_COLORS_PER_PALETTE 4 +#define font_alt6_v_TOTAL_COLORS 0 +#define font_alt6_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt6_v) + +extern const palette_color_t font_alt6_v_palettes[0]; +extern const uint8_t font_alt6_v_tiles[336]; + +extern const unsigned char font_alt6_v_map[24]; + +#endif diff --git a/assets/font_alt6_v.png b/assets/font_alt6_v.png new file mode 100644 index 0000000..93b3969 Binary files /dev/null and b/assets/font_alt6_v.png differ diff --git a/assets/font_alt7_v.c b/assets/font_alt7_v.c new file mode 100644 index 0000000..0cfdeec --- /dev/null +++ b/assets/font_alt7_v.c @@ -0,0 +1,74 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt7_v) + +const uint8_t font_alt7_v_tiles[224] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x03, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0xe0, + 0x00,0xf8,0x00,0x7e, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0xf0, + 0x00,0xfe,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xc0, + 0x00,0xf8,0x00,0xff, + 0x00,0x3f,0x00,0x3f, + 0x00,0x1f,0x00,0x1f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x0f,0x00,0x07, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x8f,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0x3f,0x00,0x07, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xe0,0x00,0xfc, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0x1f, + 0x00,0x03,0x00,0x00, + 0x00,0x07,0x00,0x07, + 0x00,0x87,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0x7f, + 0x00,0x0f,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt7_v_map[24] = { + 0x00,0x00,0x00,0x01,0x02,0x00, + 0x03,0x04,0x05,0x00,0x06,0x07, + 0x08,0x09,0x0a,0x0b,0x0c,0x00, + 0x00,0x00,0x00,0x00,0x0d,0x00, +}; diff --git a/assets/font_alt7_v.h b/assets/font_alt7_v.h new file mode 100644 index 0000000..8fa4bbf --- /dev/null +++ b/assets/font_alt7_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt7_v_H +#define METASPRITE_font_alt7_v_H + +#include +#include +#include + +#define font_alt7_v_TILE_ORIGIN 0 +#define font_alt7_v_TILE_W 8 +#define font_alt7_v_TILE_H 8 +#define font_alt7_v_WIDTH 48 +#define font_alt7_v_HEIGHT 32 +#define font_alt7_v_TILE_COUNT 14 +#define font_alt7_v_PALETTE_COUNT 0 +#define font_alt7_v_COLORS_PER_PALETTE 4 +#define font_alt7_v_TOTAL_COLORS 0 +#define font_alt7_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt7_v) + +extern const palette_color_t font_alt7_v_palettes[0]; +extern const uint8_t font_alt7_v_tiles[224]; + +extern const unsigned char font_alt7_v_map[24]; + +#endif diff --git a/assets/font_alt7_v.png b/assets/font_alt7_v.png new file mode 100644 index 0000000..14f0978 Binary files /dev/null and b/assets/font_alt7_v.png differ diff --git a/assets/font_alt8_v.c b/assets/font_alt8_v.c new file mode 100644 index 0000000..7757ea1 --- /dev/null +++ b/assets/font_alt8_v.c @@ -0,0 +1,94 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt8_v) + +const uint8_t font_alt8_v_tiles[304] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x07, + 0x00,0x1f,0x00,0x7f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xf0, + 0x00,0xfe,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xf0, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x01, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x7f,0x00,0xff, + 0x00,0xe0,0x00,0xc0, + 0x00,0x80,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0x07,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x8f,0x00,0xcf, + 0x00,0xff,0x00,0xfc, + 0x00,0xf8,0x00,0xf0, + 0x00,0x73,0x00,0x73, + 0x00,0xfc,0x00,0xfe, + 0x00,0xff,0x00,0x07, + 0x00,0x03,0x00,0xe1, + 0x00,0xf1,0x00,0xf1, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x01, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0xc0, + 0x00,0xe0,0x00,0xff, + 0x00,0x7f,0x00,0x3f, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x03, + 0x00,0x0f,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xf3,0x00,0xf1, + 0x00,0xf8,0x00,0xfc, + 0x00,0xdf,0x00,0xcf, + 0x00,0x87,0x00,0x00, + 0x00,0xf1,0x00,0xe3, + 0x00,0x07,0x00,0x0f, + 0x00,0xfe,0x00,0xfe, + 0x00,0xf8,0x00,0x00, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x0f,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xfc,0x00,0xc0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt8_v_map[24] = { + 0x00,0x01,0x02,0x03,0x04,0x00, + 0x05,0x06,0x07,0x08,0x09,0x0a, + 0x0b,0x0c,0x0d,0x0e,0x0f,0x10, + 0x00,0x11,0x12,0x00,0x00,0x00, +}; diff --git a/assets/font_alt8_v.h b/assets/font_alt8_v.h new file mode 100644 index 0000000..7dbf537 --- /dev/null +++ b/assets/font_alt8_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt8_v_H +#define METASPRITE_font_alt8_v_H + +#include +#include +#include + +#define font_alt8_v_TILE_ORIGIN 0 +#define font_alt8_v_TILE_W 8 +#define font_alt8_v_TILE_H 8 +#define font_alt8_v_WIDTH 48 +#define font_alt8_v_HEIGHT 32 +#define font_alt8_v_TILE_COUNT 19 +#define font_alt8_v_PALETTE_COUNT 0 +#define font_alt8_v_COLORS_PER_PALETTE 4 +#define font_alt8_v_TOTAL_COLORS 0 +#define font_alt8_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt8_v) + +extern const palette_color_t font_alt8_v_palettes[0]; +extern const uint8_t font_alt8_v_tiles[304]; + +extern const unsigned char font_alt8_v_map[24]; + +#endif diff --git a/assets/font_alt8_v.png b/assets/font_alt8_v.png new file mode 100644 index 0000000..65e7449 Binary files /dev/null and b/assets/font_alt8_v.png differ diff --git a/assets/font_alt9_v.c b/assets/font_alt9_v.c new file mode 100644 index 0000000..5f0760c --- /dev/null +++ b/assets/font_alt9_v.c @@ -0,0 +1,98 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt9_v) + +const uint8_t font_alt9_v_tiles[320] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x01, + 0x00,0x03,0x00,0x0f, + 0x00,0x1f,0x00,0x1f, + 0x00,0x00,0x00,0x00, + 0x00,0x7f,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xf8, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0xf0, + 0x00,0xf8,0x00,0xfe, + 0x00,0xff,0x00,0x0f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x06, + 0x00,0x03,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xc0, + 0x00,0x3f,0x00,0x3f, + 0x00,0x7e,0x00,0x7c, + 0x00,0x7c,0x00,0x78, + 0x00,0x78,0x00,0x38, + 0x00,0xe0,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x0f,0x00,0x1f, + 0x00,0x1f,0x00,0x1f, + 0x00,0x03,0x00,0x01, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0xc0, + 0x00,0xc0,0x00,0xe0, + 0x00,0xe0,0x00,0xe0, + 0x00,0xe0,0x00,0xe0, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xe0,0x00,0xf0, + 0x00,0xf8,0x00,0x7e, + 0x00,0x3f,0x00,0x1f, + 0x00,0x0f,0x00,0x07, + 0x00,0x38,0x00,0x18, + 0x00,0x1c,0x00,0x0e, + 0x00,0x83,0x00,0xe1, + 0x00,0xfc,0x00,0xff, + 0x00,0x0e,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0xff, + 0x00,0x01,0x00,0x01, + 0x00,0x03,0x00,0x07, + 0x00,0x1f,0x00,0x3f, + 0x00,0xff,0x00,0xff, + 0x00,0xe0,0x00,0xe0, + 0x00,0xe0,0x00,0xc0, + 0x00,0xc0,0x00,0xc0, + 0x00,0x80,0x00,0x00, + 0x00,0xff,0x00,0x7f, + 0x00,0x1f,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xfe,0x00,0xfc, + 0x00,0xf0,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt9_v_map[24] = { + 0x00,0x00,0x01,0x02,0x03,0x04, + 0x05,0x06,0x07,0x08,0x09,0x0a, + 0x0b,0x0c,0x0d,0x0e,0x0f,0x10, + 0x00,0x0b,0x11,0x12,0x13,0x00, +}; diff --git a/assets/font_alt9_v.h b/assets/font_alt9_v.h new file mode 100644 index 0000000..6c7e38a --- /dev/null +++ b/assets/font_alt9_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt9_v_H +#define METASPRITE_font_alt9_v_H + +#include +#include +#include + +#define font_alt9_v_TILE_ORIGIN 0 +#define font_alt9_v_TILE_W 8 +#define font_alt9_v_TILE_H 8 +#define font_alt9_v_WIDTH 48 +#define font_alt9_v_HEIGHT 32 +#define font_alt9_v_TILE_COUNT 20 +#define font_alt9_v_PALETTE_COUNT 0 +#define font_alt9_v_COLORS_PER_PALETTE 4 +#define font_alt9_v_TOTAL_COLORS 0 +#define font_alt9_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt9_v) + +extern const palette_color_t font_alt9_v_palettes[0]; +extern const uint8_t font_alt9_v_tiles[320]; + +extern const unsigned char font_alt9_v_map[24]; + +#endif diff --git a/assets/font_alt9_v.png b/assets/font_alt9_v.png new file mode 100644 index 0000000..5066e02 Binary files /dev/null and b/assets/font_alt9_v.png differ diff --git a/rom_size.py b/rom_size.py new file mode 100644 index 0000000..3a766c5 --- /dev/null +++ b/rom_size.py @@ -0,0 +1,11 @@ +import sys +import os +import re + +file_size = os.path.getsize(sys.argv[1]) +final_line = next(reversed(list(open(sys.argv[1], 'rb')))) +final_line = re.sub(b"[^\xff]", b'', final_line) +used_bytes = file_size - len(final_line) +percentage = round(used_bytes / file_size * 100, 1) + +print('### Usage: ' + str(percentage) + '% (' + str(used_bytes) + ' of ' + str(file_size) + ')') \ No newline at end of file diff --git a/src/main.c b/src/main.c index 0d39d47..f1a5d34 100644 --- a/src/main.c +++ b/src/main.c @@ -3,33 +3,68 @@ #include #include #include -#include -#include +#include #include "../assets/font0.h" // ../../../../bin/png2asset font0.png -spr8x8 -map -noflip -tile_origin 0 -#include "../assets/font_alt0.h" +#include "../assets/font_alt0.h" +#include "../assets/font0_v.h" +#include "../assets/font_alt0_v.h" + #include "../assets/font1.h" #include "../assets/font_alt1.h" +#include "../assets/font1_v.h" +#include "../assets/font_alt1_v.h" + #include "../assets/font2.h" #include "../assets/font_alt2.h" +#include "../assets/font2_v.h" +#include "../assets/font_alt2_v.h" + #include "../assets/font3.h" #include "../assets/font_alt3.h" +#include "../assets/font3_v.h" +#include "../assets/font_alt3_v.h" + #include "../assets/font4.h" #include "../assets/font_alt4.h" +#include "../assets/font4_v.h" +#include "../assets/font_alt4_v.h" + #include "../assets/font5.h" #include "../assets/font_alt5.h" +#include "../assets/font5_v.h" +#include "../assets/font_alt5_v.h" + #include "../assets/font6.h" #include "../assets/font_alt6.h" +#include "../assets/font6_v.h" +#include "../assets/font_alt6_v.h" + #include "../assets/font7.h" #include "../assets/font_alt7.h" +#include "../assets/font7_v.h" +#include "../assets/font_alt7_v.h" + #include "../assets/font8.h" #include "../assets/font_alt8.h" +#include "../assets/font8_v.h" +#include "../assets/font_alt8_v.h" + #include "../assets/font9.h" #include "../assets/font_alt9.h" +#include "../assets/font9_v.h" +#include "../assets/font_alt9_v.h" + #include "../assets/font10.h" #include "../assets/font_alt10.h" +#include "../assets/font10_v.h" +#include "../assets/font_alt10_v.h" + #include "../assets/font11.h" #include "../assets/font_alt11.h" +#include "../assets/font11_v.h" +#include "../assets/font_alt11_v.h" + #include "../assets/border2.h" #include "../assets/watchface.h" @@ -41,11 +76,21 @@ uint8_t* font_tiles[] = { font6_tiles, font7_tiles, font8_tiles, font9_tiles, font10_tiles, font11_tiles }; +uint8_t* font_tiles_v[] = { + font0_v_tiles, font1_v_tiles, font2_v_tiles, font3_v_tiles, font4_v_tiles, font5_v_tiles, + font6_v_tiles, font7_v_tiles, font8_v_tiles, font9_v_tiles, font10_v_tiles, font11_v_tiles +}; + uint8_t* font_alt_tiles[] = { font_alt0_tiles, font_alt1_tiles, font_alt2_tiles, font_alt3_tiles, font_alt4_tiles, font_alt5_tiles, font_alt6_tiles, font_alt7_tiles, font_alt8_tiles, font_alt9_tiles, font_alt10_tiles, font_alt11_tiles }; +uint8_t* font_alt_tiles_v[] = { + font_alt0_v_tiles, font_alt1_v_tiles, font_alt2_v_tiles, font_alt3_v_tiles, font_alt4_v_tiles, font_alt5_v_tiles, + font_alt6_v_tiles, font_alt7_v_tiles, font_alt8_v_tiles, font_alt9_v_tiles, font_alt10_v_tiles, font_alt11_v_tiles +}; + uint8_t font_tile_counts[] = { font0_TILE_COUNT, font1_TILE_COUNT, font2_TILE_COUNT, font3_TILE_COUNT, font4_TILE_COUNT, font5_TILE_COUNT, font6_TILE_COUNT, font7_TILE_COUNT, font8_TILE_COUNT, font9_TILE_COUNT, font10_TILE_COUNT, font11_TILE_COUNT @@ -56,6 +101,16 @@ unsigned char* font_maps[] = { font6_map, font7_map, font8_map, font9_map, font10_map, font11_map }; +unsigned char* font_maps_v[] = { + font0_v_map, font1_v_map, font2_v_map, font3_v_map, font4_v_map, font5_v_map, + font6_v_map, font7_v_map, font8_v_map, font9_v_map, font10_v_map, font11_v_map +}; + +unsigned char* font_maps_alt_v[] = { + font_alt0_v_map, font_alt1_v_map, font_alt2_v_map, font_alt3_v_map, font_alt4_v_map, font_alt5_v_map, + font_alt6_v_map, font_alt7_v_map, font_alt8_v_map, font_alt9_v_map, font_alt10_v_map, font_alt11_v_map +}; + uint8_t loaded_font_tile_counts[4]; unsigned char* loaded_font_maps[4]; uint8_t digits[4]; @@ -75,9 +130,26 @@ uint8_t keys = 0; int8_t player_left = 20; int8_t player_right = 20; -char life_buffer[2]; uint8_t selected_player = 0; +#define HORIZONTAL 0 +#define VERTICAL 1 + +uint8_t display_mode = HORIZONTAL; + +#define LIFE_COUNTER 0 +#define DIE_ROLLER 1 + +uint8_t screen = LIFE_COUNTER; + +const uint16_t d_redo[] = {256, 252, 256, 250, 252, 240}; // if the roll is >= this number, re-roll (evens out distribution) +uint8_t d[] = {4, 6, 8, 10, 12, 20}; +uint8_t d_index = 5; +uint8_t d_value = 0; +uint8_t d_rand = 0; + +uint8_t eat_start = 0; + void set_left_font_bkg_data() { if (player_left) { @@ -90,8 +162,13 @@ void set_left_font_bkg_data() { for (uint8_t i = 0; i < 2; i++) { loaded_font_tile_counts[i] = font_tile_counts[digits[i]]; - set_bkg_data(i * MAX_TILE_COUNT, loaded_font_tile_counts[i], font_alt_tiles[digits[i]]); - loaded_font_maps[i] = font_maps[digits[i]]; + if (display_mode == HORIZONTAL) { + set_bkg_data(i * MAX_TILE_COUNT, loaded_font_tile_counts[i], font_alt_tiles[digits[i]]); + loaded_font_maps[i] = font_maps[digits[i]]; + } else { // VERTICAL + set_bkg_data(i * MAX_TILE_COUNT, loaded_font_tile_counts[i], font_alt_tiles_v[digits[i]]); + loaded_font_maps[i] = font_maps_alt_v[digits[i]]; + } } } @@ -106,7 +183,27 @@ void set_right_font_bkg_data() { for (uint8_t i = 2; i < 4; i++) { loaded_font_tile_counts[i] = font_tile_counts[digits[i]]; - set_bkg_data(i * MAX_TILE_COUNT, loaded_font_tile_counts[i], font_tiles[digits[i]]); + if (display_mode == HORIZONTAL) { + set_bkg_data(i * MAX_TILE_COUNT, loaded_font_tile_counts[i], font_tiles[digits[i]]); + loaded_font_maps[i] = font_maps[digits[i]]; + } else { // VERTICAL + set_bkg_data(i * MAX_TILE_COUNT, loaded_font_tile_counts[i], font_tiles_v[digits[i]]); + loaded_font_maps[i] = font_maps_v[digits[i]]; + } + } +} + +void set_die_roll_font_bkg_data() { + digits[0] = d_value / 10; + digits[1] = d_value % 10; + + for (uint8_t i = 0; i < 2; i++) { + loaded_font_tile_counts[i] = font_tile_counts[digits[i]]; + if (d_value % 2 == 0) { + set_bkg_data(i * MAX_TILE_COUNT, loaded_font_tile_counts[i], font_tiles[digits[i]]); + } else { + set_bkg_data(i * MAX_TILE_COUNT, loaded_font_tile_counts[i], font_alt_tiles[digits[i]]); + } loaded_font_maps[i] = font_maps[digits[i]]; } } @@ -120,16 +217,63 @@ void print_at(uint8_t x, uint8_t y, char* str) { } void draw_text() { - print_at(1,1, "Magic Life Counter"); - print_at(1,16," L/R A/B"); + print_at(1, 1, "Magic Life Counter"); + + if (screen == LIFE_COUNTER) { + print_at(1, 15, "START [Life] Roll"); + if (display_mode == HORIZONTAL) { + print_at(1, 16, "SELECT [H] V"); + } else { // VERTICAL + print_at(1, 16, "SELECT H [V]"); + } + + } else { // DIE_ROLLER + print_at(1, 15, "START Life [Roll]"); + + switch (d_index) { + case 0: + print_at(1, 16, "SELECT [D4]"); + break; + case 1: + print_at(1, 16, "SELECT [D6]"); + break; + case 2: + print_at(1, 16, "SELECT [D8]"); + break; + case 3: + print_at(1, 16, "SELECT [D10]"); + break; + case 4: + print_at(1, 16, "SELECT [D12]"); + break; + case 5: + print_at(1, 16, "SELECT [D20]"); + break; + } + } } void draw_life_at(uint8_t life, uint8_t offset, uint8_t x, uint8_t y) { - if (life >= 10 || life == 0) { // configure two digits - set_bkg_based_tiles(x, y, 4, 6, loaded_font_maps[0 + offset], offset * MAX_TILE_COUNT); - set_bkg_based_tiles(x + 4, y, 4, 6, loaded_font_maps[1 + offset], (1 + offset) * MAX_TILE_COUNT); - } else if (life > 0) { // configure one digit - set_bkg_based_tiles(x + 2, y, 4, 6, loaded_font_maps[1 + offset], (1 + offset) * MAX_TILE_COUNT); + if (screen == DIE_ROLLER || display_mode == HORIZONTAL) { + if (life >= 10 || life == 0) { // configure two digits + set_bkg_based_tiles(x, y, 4, 6, loaded_font_maps[0 + offset], offset * MAX_TILE_COUNT); + set_bkg_based_tiles(x + 4, y, 4, 6, loaded_font_maps[1 + offset], (1 + offset) * MAX_TILE_COUNT); + } else if (life > 0) { // configure one digit + set_bkg_based_tiles(x + 2, y, 4, 6, loaded_font_maps[1 + offset], (1 + offset) * MAX_TILE_COUNT); + } + + } else { // VERTICAL + if (life >= 10 || life == 0) { // configure two digits + if (offset == 2) { // dumb hack to detect the right player digits, since we need to swap them + set_bkg_based_tiles(x, y, 6, 4, loaded_font_maps[1 + offset], (1 + offset) * MAX_TILE_COUNT); + set_bkg_based_tiles(x, y + 4, 6, 4, loaded_font_maps[0 + offset], offset * MAX_TILE_COUNT); + } else { // left player + set_bkg_based_tiles(x, y, 6, 4, loaded_font_maps[0 + offset], offset * MAX_TILE_COUNT); + set_bkg_based_tiles(x, y + 4, 6, 4, loaded_font_maps[1 + offset], (1 + offset) * MAX_TILE_COUNT); + } + } else if (life > 0) { // configure one digit + set_bkg_based_tiles(x, y + 2, 6, 4, loaded_font_maps[1 + offset], (1 + offset) * MAX_TILE_COUNT); + } } } @@ -143,53 +287,140 @@ void draw_border() { void draw_left() { set_left_font_bkg_data(); - draw_life_at(player_left, 0, 1, 6); + if (display_mode == HORIZONTAL) { + draw_life_at(player_left, 0, 1, 6); + } else { + draw_life_at(player_left, 0, 2, 5); + } } void draw_right() { set_right_font_bkg_data(); - draw_life_at(player_right, 2, 11, 6); + if (display_mode == HORIZONTAL) { + draw_life_at(player_right, 2, 11, 6); + } else { // VERTICAL + draw_life_at(player_right, 2, 12, 5); + } +} + +void draw_die_roll() { + set_die_roll_font_bkg_data(); + draw_life_at(d_value, 0, 6, 6); +} + +void draw_life_counter_digits() { + if (display_mode == HORIZONTAL) draw_border(); + draw_left(); + draw_right(); +} + +void roll_die() { + do { + d_rand = rand(); + } while (d_rand >= d_redo[d_index]); + d_value = (d_rand % d[d_index]) + 1; } void update_and_draw() { - if (!KEY_TICKED(J_A | J_B | J_LEFT | J_RIGHT)) return; - clear_screen(); + // Screen Change - // if (KEY_TICKED(J_LEFT | J_RIGHT)) selected_player = (selected_player + 1) % 2; - - // if (KEY_TICKED(J_UP)) { - // if (selected_player == PLAYER_LEFT) { - // player_left = MIN(99, player_left + 1); - // } else { - // player_right = MIN(99, player_right + 1); - // } - // } else if (KEY_TICKED(J_DOWN)){ - // if (selected_player == PLAYER_LEFT) { - // player_left = MAX(0, player_left - 1); - // } else { - // player_right = MAX(0, player_right - 1); - // } - // } - - if (KEY_TICKED(J_RIGHT)) { - selected_player = PLAYER_LEFT; - player_left = MIN(99, player_left + 1); - } else if (KEY_TICKED(J_LEFT)) { - selected_player = PLAYER_LEFT; - player_left = MAX(0, player_left - 1); + if (eat_start && KEY_TICKED(J_START | J_SELECT)) { + eat_start = 0; + draw_text(); + return; } - - if (KEY_TICKED(J_B)) { - selected_player = PLAYER_RIGHT; - player_right = MIN(99, player_right + 1); - } else if (KEY_TICKED(J_A)) { - selected_player = PLAYER_RIGHT; - player_right = MAX(0, player_right - 1); + + if (KEY_TICKED(J_START)) { + if (screen == LIFE_COUNTER) { + screen = DIE_ROLLER; + initrand(DIV_REG); + clear_screen(); + draw_text(); + print_at(6, 8, "Press A"); + print_at(6, 9, " To Roll"); + } else { + screen = LIFE_COUNTER; + clear_screen(); + draw_text(); + draw_life_counter_digits(); + } + } + + + // Update and Display Screen + if (screen == LIFE_COUNTER) { // Die Roller + if (KEY_TICKED(J_SELECT)) { + display_mode = !display_mode; + clear_screen(); + draw_text(); + draw_life_counter_digits(); + } + + if (display_mode == HORIZONTAL) { + if (!KEY_TICKED(J_UP | J_DOWN | J_LEFT | J_RIGHT)) return; + } else { // VERTICAL + if (!KEY_TICKED(J_A | J_B | J_LEFT | J_RIGHT)) return; + } + + clear_screen(); + eat_start = 1; + + if (display_mode == HORIZONTAL) { + if (KEY_TICKED(J_LEFT | J_RIGHT)) selected_player = (selected_player + 1) % 2; + + if (KEY_TICKED(J_UP)) { + if (selected_player == PLAYER_LEFT) { + player_left = MIN(99, player_left + 1); + } else { + player_right = MIN(99, player_right + 1); + } + } else if (KEY_TICKED(J_DOWN)){ + if (selected_player == PLAYER_LEFT) { + player_left = MAX(0, player_left - 1); + } else { + player_right = MAX(0, player_right - 1); + } + } + + } else { // VERTICAL + if (KEY_TICKED(J_RIGHT)) { + selected_player = PLAYER_LEFT; + player_left = MIN(99, player_left + 1); + } else if (KEY_TICKED(J_LEFT)) { + selected_player = PLAYER_LEFT; + player_left = MAX(0, player_left - 1); + } + + if (KEY_TICKED(J_B)) { + selected_player = PLAYER_RIGHT; + player_right = MIN(99, player_right + 1); + } else if (KEY_TICKED(J_A)) { + selected_player = PLAYER_RIGHT; + player_right = MAX(0, player_right - 1); + } + + } + + draw_life_counter_digits(); + + } else { // Life Counter + if (KEY_TICKED(J_SELECT)) { + d_index = (d_index + 1) % 6; + draw_text(); + } + + if (!KEY_TICKED(J_A)) return; + + clear_screen(); + eat_start = 1; + + if (KEY_TICKED(J_A)) { + roll_die(); + clear_screen(); + delay(500); + draw_die_roll(); + } } - - draw_border(); - draw_left(); - draw_right(); } void main(void) { @@ -205,9 +436,7 @@ void main(void) { clear_screen(); draw_text(); - draw_border(); - draw_left(); - draw_right(); + draw_life_counter_digits(); while (1) { UPDATE_KEYS();