diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fc0521d --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.DS_Store +*.gb +*.zip +*.sav diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c96d197 --- /dev/null +++ b/Makefile @@ -0,0 +1,35 @@ +# If you move this project you can change the directory +# to match your GBDK root directory (ex: GBDK_HOME = "C:/GBDK/" +GBDK_HOME = ../../../ + +LCC = $(GBDK_HOME)bin/lcc + +# You can uncomment the line below to turn on debug output +# LCC = $(LCC) -debug + +# You can set the name of the .gb ROM file here +PROJECTNAME = magic-life + +BINS = $(PROJECTNAME).gb +CSOURCES := $(wildcard src/*.c) +ASMSOURCES := $(wildcard src/*.s) + +all: $(BINS) + +compile.bat: Makefile + @echo "REM Automatically generated from Makefile" > compile.bat + @make -sn | sed y/\\//\\\\/ | grep -v make >> compile.bat + +# Compile and link all source files in a single call to LCC +# -Wm-yc : color support +# -Wl-yt0x1B : MBC5 ROM + RAM + Battery (for better compatibility with emulators) +# -Wl-ya1 : 1 RAM bank + +$(BINS): $(CSOURCES) $(ASMSOURCES) + $(LCC) -Wm-yn"MAGICLIFE" -Wl-yt0x1B -Wl-ya1 -D_ram_func=0xD000 -o $@ $(CSOURCES) assets/*.c $(ASMSOURCES) + +clean: + rm -f *.o *.lst *.map *.gb *.ihx *.sym *.cdb *.adb *.asm + +dev: + make && (killall SameBoy || true) && open $(PROJECTNAME).gb \ No newline at end of file diff --git a/assets/border2.c b/assets/border2.c new file mode 100644 index 0000000..67a4964 --- /dev/null +++ b/assets/border2.c @@ -0,0 +1,77 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(border2) + +const palette_color_t border2_palettes[32] = { + RGB8( 0, 0, 0), RGB8( 34, 32, 52), RGB8( 69, 40, 60), RGB8(102, 57, 49) + , + RGB8(143, 86, 59), RGB8(223,113, 38), RGB8(217,160,102), RGB8(238,195,154) + , + RGB8(251,242, 54), RGB8(153,229, 80), RGB8(106,190, 48), RGB8( 55,148,110) + , + RGB8( 75,105, 47), RGB8( 82, 75, 36), RGB8( 50, 60, 57), RGB8( 63, 63,116) + , + RGB8( 48, 96,130), RGB8( 91,110,225), RGB8( 99,155,255), RGB8( 95,205,228) + , + RGB8(203,219,252), RGB8(255,255,255), RGB8(155,173,183), RGB8(132,126,135) + , + RGB8(105,106,106), RGB8( 89, 86, 82), RGB8(118, 66,138), RGB8(172, 50, 50) + , + RGB8(217, 87, 99), RGB8(215,123,186), RGB8(143,151, 74), RGB8(138,111, 48) + +}; + +const uint8_t border2_tiles[144] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x1f,0x1f,0x10,0x10, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0xff,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xf8,0xf8,0x08,0x08, + 0x10,0x10,0x10,0x10, + 0x10,0x10,0x10,0x10, + 0x10,0x10,0x10,0x10, + 0x10,0x10,0x10,0x10, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x08,0x08,0x08,0x08, + 0x08,0x08,0x08,0x08, + 0x08,0x08,0x08,0x08, + 0x08,0x08,0x08,0x08, + 0x10,0x10,0x1f,0x1f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0xff,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x08,0x08,0xf8,0xf8, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char border2_map[80] = { + 0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02, + 0x03,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x05, + 0x03,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x05, + 0x03,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x05, + 0x03,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x05, + 0x03,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x05, + 0x03,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x05, + 0x06,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x08, +}; diff --git a/assets/border2.h b/assets/border2.h new file mode 100644 index 0000000..53d52fa --- /dev/null +++ b/assets/border2.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_border2_H +#define METASPRITE_border2_H + +#include +#include +#include + +#define border2_TILE_ORIGIN 0 +#define border2_TILE_W 8 +#define border2_TILE_H 8 +#define border2_WIDTH 80 +#define border2_HEIGHT 64 +#define border2_TILE_COUNT 9 +#define border2_PALETTE_COUNT 8 +#define border2_COLORS_PER_PALETTE 4 +#define border2_TOTAL_COLORS 32 +#define border2_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(border2) + +extern const palette_color_t border2_palettes[32]; +extern const uint8_t border2_tiles[144]; + +extern const unsigned char border2_map[80]; + +#endif diff --git a/assets/border2.png b/assets/border2.png new file mode 100644 index 0000000..2e5b22b Binary files /dev/null and b/assets/border2.png differ diff --git a/assets/font0.c b/assets/font0.c new file mode 100644 index 0000000..fd5ee94 --- /dev/null +++ b/assets/font0.c @@ -0,0 +1,109 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font0) + +const palette_color_t font0_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font0_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,0x00,0x00, + 0x00,0x00,0x33,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xf8,0x00,0xfc,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x03,0x00, + 0x03,0x00,0x07,0x00, + 0x07,0x00,0x0f,0x00, + 0x77,0x00,0xef,0x00, + 0xef,0x00,0xdf,0x00, + 0xbc,0x00,0xb0,0x00, + 0x70,0x00,0x60,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x3f,0x00,0x1f,0x00, + 0x0f,0x00,0x0f,0x00, + 0x00,0x00,0x80,0x00, + 0x80,0x00,0xc0,0x00, + 0xe0,0x00,0xe0,0x00, + 0xe0,0x00,0xf0,0x00, + 0x0e,0x00,0x1e,0x00, + 0x1e,0x00,0x1e,0x00, + 0x1e,0x00,0x3e,0x00, + 0x3e,0x00,0x3e,0x00, + 0x20,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x03,0x00,0x07,0x00, + 0x07,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0x01,0x00,0x01,0x00, + 0x81,0x00,0x81,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf8,0x00,0xf8,0x00, + 0xf8,0x00,0xf8,0x00, + 0xf8,0x00,0xf8,0x00, + 0x3e,0x00,0x3e,0x00, + 0x3f,0x00,0x3f,0x00, + 0x3f,0x00,0x3f,0x00, + 0x3f,0x00,0x1f,0x00, + 0x07,0x00,0x07,0x00, + 0x07,0x00,0x03,0x00, + 0x03,0x00,0x00,0x00, + 0x80,0x00,0x80,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0x80,0x00, + 0x80,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xf8,0x00,0xf8,0x00, + 0xf8,0x00,0xf8,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf0,0x00,0xf0,0x00, + 0x1f,0x00,0x1f,0x00, + 0x0f,0x00,0x0f,0x00, + 0x07,0x00,0x07,0x00, + 0x03,0x00,0x01,0x00, + 0xc0,0x00,0xc0,0x00, + 0xe0,0x00,0xe0,0x00, + 0xf0,0x00,0xf8,0x00, + 0xfe,0x00,0xff,0x00, + 0x00,0x00,0x01,0x00, + 0x01,0x00,0x03,0x00, + 0x03,0x00,0x07,0x00, + 0x1f,0x00,0xfe,0x00, + 0xe0,0x00,0xe0,0x00, + 0xe0,0x00,0xc0,0x00, + 0xc0,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0x3f,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xfc,0x00,0xf8,0x00, + 0xc0,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font0_map[24] = { + 0x00,0x01,0x02,0x00, + 0x03,0x04,0x05,0x06, + 0x07,0x08,0x09,0x0a, + 0x0b,0x0c,0x0d,0x0e, + 0x0f,0x10,0x11,0x12, + 0x00,0x13,0x14,0x00, +}; diff --git a/assets/font0.h b/assets/font0.h new file mode 100644 index 0000000..be2b395 --- /dev/null +++ b/assets/font0.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font0_H +#define METASPRITE_font0_H + +#include +#include +#include + +#define font0_TILE_ORIGIN 0 +#define font0_TILE_W 8 +#define font0_TILE_H 8 +#define font0_WIDTH 32 +#define font0_HEIGHT 48 +#define font0_TILE_COUNT 21 +#define font0_PALETTE_COUNT 1 +#define font0_COLORS_PER_PALETTE 4 +#define font0_TOTAL_COLORS 4 +#define font0_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font0) + +extern const palette_color_t font0_palettes[4]; +extern const uint8_t font0_tiles[336]; + +extern const unsigned char font0_map[24]; + +#endif diff --git a/assets/font0.png b/assets/font0.png new file mode 100644 index 0000000..96fcf39 Binary files /dev/null and b/assets/font0.png differ diff --git a/assets/font1.c b/assets/font1.c new file mode 100644 index 0000000..09ad665 --- /dev/null +++ b/assets/font1.c @@ -0,0 +1,65 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font1) + +const palette_color_t font1_palettes[4] = { + RGB8(255,255,255), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font1_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, + 0x03,0x00,0x0f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0x80,0x00, + 0x3f,0x00,0x3f,0x00, + 0x1f,0x00,0x0f,0x00, + 0x0f,0x00,0x0f,0x00, + 0x0f,0x00,0x0f,0x00, + 0x80,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0x0f,0x00,0x0f,0x00, + 0x0f,0x00,0x0f,0x00, + 0x0f,0x00,0x0f,0x00, + 0x0f,0x00,0x0f,0x00, + 0x0f,0x00,0x0f,0x00, + 0x0f,0x00,0x0f,0x00, + 0x0f,0x00,0x0f,0x00, + 0x1f,0x00,0x1f,0x00, + 0x80,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0x80,0x00,0xc0,0x00, + 0x7f,0x00,0x7f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xe0,0x00,0xf0,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font1_map[24] = { + 0x00,0x01,0x02,0x00, + 0x00,0x03,0x04,0x00, + 0x00,0x05,0x04,0x00, + 0x00,0x05,0x04,0x00, + 0x00,0x06,0x07,0x00, + 0x00,0x08,0x09,0x00, +}; diff --git a/assets/font1.h b/assets/font1.h new file mode 100644 index 0000000..035dac4 --- /dev/null +++ b/assets/font1.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font1_H +#define METASPRITE_font1_H + +#include +#include +#include + +#define font1_TILE_ORIGIN 0 +#define font1_TILE_W 8 +#define font1_TILE_H 8 +#define font1_WIDTH 32 +#define font1_HEIGHT 48 +#define font1_TILE_COUNT 10 +#define font1_PALETTE_COUNT 1 +#define font1_COLORS_PER_PALETTE 4 +#define font1_TOTAL_COLORS 4 +#define font1_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font1) + +extern const palette_color_t font1_palettes[4]; +extern const uint8_t font1_tiles[160]; + +extern const unsigned char font1_map[24]; + +#endif diff --git a/assets/font1.png b/assets/font1.png new file mode 100644 index 0000000..63ebbea Binary files /dev/null and b/assets/font1.png differ diff --git a/assets/font10.c b/assets/font10.c new file mode 100644 index 0000000..f96df57 --- /dev/null +++ b/assets/font10.c @@ -0,0 +1,89 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font10) + +const palette_color_t font10_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font10_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,0x03,0x00, + 0x0f,0x00,0x0f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0x80,0x00, + 0x80,0x00,0xc0,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xe0,0x00,0xe0,0x00, + 0xf0,0x00,0xf0,0x00, + 0x0f,0x00,0x01,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xc0,0x00,0x8f,0x00, + 0x8f,0x00,0x1f,0x00, + 0x7f,0x00,0x7f,0x00, + 0x71,0x00,0x41,0x00, + 0x03,0x00,0xf1,0x00, + 0xf1,0x00,0xfc,0x00, + 0xfe,0x00,0xfe,0x00, + 0x8e,0x00,0x82,0x00, + 0xf0,0x00,0x80,0x00, + 0x80,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0f,0x00,0x0f,0x00, + 0x41,0x00,0x73,0x00, + 0x73,0x00,0x1e,0x00, + 0x7f,0x00,0x7f,0x00, + 0x0f,0x00,0x0d,0x00, + 0x82,0x00,0xee,0x00, + 0xee,0x00,0x7c,0x00, + 0xfe,0x00,0xfe,0x00, + 0xf0,0x00,0x90,0x00, + 0x0f,0x00,0x0f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x0f,0x00, + 0x0f,0x00,0x0f,0x00, + 0x03,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0x8d,0x00,0xc0,0x00, + 0xc0,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x91,0x00,0x03,0x00, + 0x03,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0xf0,0x00, + 0xf0,0x00,0xf0,0x00, + 0xe0,0x00,0xe0,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font10_map[24] = { + 0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04, + 0x05,0x06,0x07,0x08, + 0x00,0x09,0x0a,0x0b, + 0x0c,0x0d,0x0e,0x0f, + 0x00,0x00,0x00,0x00, +}; diff --git a/assets/font10.h b/assets/font10.h new file mode 100644 index 0000000..3a9ca25 --- /dev/null +++ b/assets/font10.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font10_H +#define METASPRITE_font10_H + +#include +#include +#include + +#define font10_TILE_ORIGIN 0 +#define font10_TILE_W 8 +#define font10_TILE_H 8 +#define font10_WIDTH 32 +#define font10_HEIGHT 48 +#define font10_TILE_COUNT 16 +#define font10_PALETTE_COUNT 1 +#define font10_COLORS_PER_PALETTE 4 +#define font10_TOTAL_COLORS 4 +#define font10_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font10) + +extern const palette_color_t font10_palettes[4]; +extern const uint8_t font10_tiles[256]; + +extern const unsigned char font10_map[24]; + +#endif diff --git a/assets/font10.png b/assets/font10.png new file mode 100644 index 0000000..0f30db6 Binary files /dev/null and b/assets/font10.png differ diff --git a/assets/font11.c b/assets/font11.c new file mode 100644 index 0000000..557f8a2 --- /dev/null +++ b/assets/font11.c @@ -0,0 +1,89 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font11) + +const palette_color_t font11_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font11_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,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0x03,0x00,0x03,0x00, + 0xfb,0x00,0xfb,0x00, + 0x03,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0xe0,0x00,0xfc,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x03,0x00,0x03,0x00, + 0x31,0x00,0x38,0x00, + 0x3c,0x00,0x3e,0x00, + 0xff,0x00,0xff,0x00, + 0x03,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0x03,0x00,0x83,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xff,0x00,0xff,0x00, + 0x3e,0x00,0x3c,0x00, + 0x38,0x00,0x31,0x00, + 0x03,0x00,0x03,0x00, + 0x83,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0x3f,0x00,0x3f,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x03,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x03,0x00,0x03,0x00, + 0xfb,0x00,0xfb,0x00, + 0x03,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xfe,0x00,0xe0,0x00, + 0x00,0x00,0x00,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font11_map[24] = { + 0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04, + 0x05,0x06,0x07,0x08, + 0x09,0x0a,0x0b,0x08, + 0x0c,0x0d,0x0e,0x0f, + 0x00,0x00,0x00,0x00, +}; diff --git a/assets/font11.h b/assets/font11.h new file mode 100644 index 0000000..2971eb1 --- /dev/null +++ b/assets/font11.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font11_H +#define METASPRITE_font11_H + +#include +#include +#include + +#define font11_TILE_ORIGIN 0 +#define font11_TILE_W 8 +#define font11_TILE_H 8 +#define font11_WIDTH 32 +#define font11_HEIGHT 48 +#define font11_TILE_COUNT 16 +#define font11_PALETTE_COUNT 1 +#define font11_COLORS_PER_PALETTE 4 +#define font11_TOTAL_COLORS 4 +#define font11_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font11) + +extern const palette_color_t font11_palettes[4]; +extern const uint8_t font11_tiles[256]; + +extern const unsigned char font11_map[24]; + +#endif diff --git a/assets/font11.png b/assets/font11.png new file mode 100644 index 0000000..2a2d0b0 Binary files /dev/null and b/assets/font11.png differ diff --git a/assets/font2.c b/assets/font2.c new file mode 100644 index 0000000..981f65d --- /dev/null +++ b/assets/font2.c @@ -0,0 +1,93 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font2) + +const palette_color_t font2_palettes[4] = { + RGB8(255,255,255), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font2_tiles[272] = { + 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,0x7f,0x00, + 0x01,0x00,0x03,0x00, + 0x06,0x00,0x0e,0x00, + 0x1c,0x00,0x1c,0x00, + 0x1c,0x00,0x1c,0x00, + 0xff,0x00,0x07,0x00, + 0x03,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xc0,0x00,0xf0,0x00, + 0xf8,0x00,0xf8,0x00, + 0xfc,0x00,0x7c,0x00, + 0x7e,0x00,0x7e,0x00, + 0x18,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x3e,0x00,0x3e,0x00, + 0x3e,0x00,0x3e,0x00, + 0x3e,0x00,0x3e,0x00, + 0x7c,0x00,0x7c,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x01,0x00, + 0x03,0x00,0x07,0x00, + 0x0f,0x00,0x1f,0x00, + 0xfc,0x00,0xf8,0x00, + 0xf0,0x00,0xf0,0x00, + 0xe0,0x00,0xc0,0x00, + 0x80,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x03,0x00, + 0x0f,0x00,0x1c,0x00, + 0x1e,0x00,0x3c,0x00, + 0x70,0x00,0xe0,0x00, + 0xfc,0x00,0xff,0x00, + 0xff,0x00,0x0f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xe0,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x08,0x00,0x30,0x00, + 0xe0,0x00,0xc0,0x00, + 0x30,0x00,0x20,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,0xfe,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, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font2_map[24] = { + 0x00,0x01,0x00,0x00, + 0x02,0x03,0x04,0x00, + 0x05,0x00,0x06,0x00, + 0x00,0x07,0x08,0x00, + 0x09,0x0a,0x0b,0x0c, + 0x0d,0x0e,0x0f,0x10, +}; diff --git a/assets/font2.h b/assets/font2.h new file mode 100644 index 0000000..2d0979d --- /dev/null +++ b/assets/font2.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font2_H +#define METASPRITE_font2_H + +#include +#include +#include + +#define font2_TILE_ORIGIN 0 +#define font2_TILE_W 8 +#define font2_TILE_H 8 +#define font2_WIDTH 32 +#define font2_HEIGHT 48 +#define font2_TILE_COUNT 17 +#define font2_PALETTE_COUNT 1 +#define font2_COLORS_PER_PALETTE 4 +#define font2_TOTAL_COLORS 4 +#define font2_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font2) + +extern const palette_color_t font2_palettes[4]; +extern const uint8_t font2_tiles[272]; + +extern const unsigned char font2_map[24]; + +#endif diff --git a/assets/font2.png b/assets/font2.png new file mode 100644 index 0000000..92b665c Binary files /dev/null and b/assets/font2.png differ diff --git a/assets/font3.c b/assets/font3.c new file mode 100644 index 0000000..d33fe02 --- /dev/null +++ b/assets/font3.c @@ -0,0 +1,85 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font3) + +const palette_color_t font3_palettes[4] = { + RGB8(255,255,255), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font3_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,0x00,0x1f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0xc0,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x01,0x00, + 0x03,0x00,0x03,0x00, + 0x03,0x00,0x00,0x00, + 0x7f,0x00,0xe0,0x00, + 0xc0,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0xe0,0x00,0xf0,0x00, + 0x78,0x00,0x38,0x00, + 0x38,0x00,0x38,0x00, + 0x38,0x00,0x38,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x07,0x00, + 0x07,0x00,0x07,0x00, + 0x38,0x00,0x78,0x00, + 0x70,0x00,0xf0,0x00, + 0xe0,0x00,0xc0,0x00, + 0xc0,0x00,0xf0,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xf8,0x00,0xfc,0x00, + 0x7e,0x00,0x3e,0x00, + 0x3f,0x00,0x1f,0x00, + 0x1f,0x00,0x1f,0x00, + 0x00,0x00,0x01,0x00, + 0x03,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0xc1,0x00, + 0x1f,0x00,0x1f,0x00, + 0x1f,0x00,0x3e,0x00, + 0x3e,0x00,0x7c,0x00, + 0x78,0x00,0xf0,0x00, + 0x7f,0x00,0x1f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xe0,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font3_map[24] = { + 0x00,0x01,0x02,0x00, + 0x03,0x04,0x05,0x00, + 0x00,0x06,0x07,0x00, + 0x00,0x08,0x09,0x00, + 0x0a,0x0b,0x0c,0x00, + 0x00,0x0d,0x0e,0x00, +}; diff --git a/assets/font3.h b/assets/font3.h new file mode 100644 index 0000000..4c7cab4 --- /dev/null +++ b/assets/font3.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font3_H +#define METASPRITE_font3_H + +#include +#include +#include + +#define font3_TILE_ORIGIN 0 +#define font3_TILE_W 8 +#define font3_TILE_H 8 +#define font3_WIDTH 32 +#define font3_HEIGHT 48 +#define font3_TILE_COUNT 15 +#define font3_PALETTE_COUNT 1 +#define font3_COLORS_PER_PALETTE 4 +#define font3_TOTAL_COLORS 4 +#define font3_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font3) + +extern const palette_color_t font3_palettes[4]; +extern const uint8_t font3_tiles[240]; + +extern const unsigned char font3_map[24]; + +#endif diff --git a/assets/font3.png b/assets/font3.png new file mode 100644 index 0000000..939ff5a Binary files /dev/null and b/assets/font3.png differ diff --git a/assets/font4.c b/assets/font4.c new file mode 100644 index 0000000..0c7faa0 --- /dev/null +++ b/assets/font4.c @@ -0,0 +1,89 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font4) + +const palette_color_t font4_palettes[4] = { + RGB8(255,255,255), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font4_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, + 0x10,0x00,0x30,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x01,0x00, + 0x01,0x00,0x03,0x00, + 0x07,0x00,0x07,0x00, + 0x70,0x00,0x70,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf0,0x00,0xf0,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x01,0x00, + 0x0f,0x00,0x1f,0x00, + 0x1f,0x00,0x3d,0x00, + 0x7d,0x00,0x79,0x00, + 0xf1,0x00,0xf1,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf0,0x00,0xf0,0x00, + 0x01,0x00,0x03,0x00, + 0x07,0x00,0x0f,0x00, + 0x0f,0x00,0x1f,0x00, + 0x3f,0x00,0x3f,0x00, + 0xe1,0x00,0xc1,0x00, + 0x81,0x00,0x81,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,0x20,0x00, + 0x60,0x00,0xe0,0x00, + 0xe0,0x00,0xe0,0x00, + 0xe0,0x00,0xe0,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x03,0x00,0x03,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf0,0x00,0xf8,0x00, + 0xe0,0x00,0x60,0x00, + 0x20,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0f,0x00,0x0f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xfe,0x00,0xfe,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font4_map[24] = { + 0x00,0x00,0x01,0x00, + 0x00,0x02,0x03,0x00, + 0x04,0x05,0x06,0x00, + 0x07,0x08,0x09,0x0a, + 0x00,0x0b,0x0c,0x0d, + 0x00,0x0e,0x0f,0x00, +}; diff --git a/assets/font4.h b/assets/font4.h new file mode 100644 index 0000000..fde71b9 --- /dev/null +++ b/assets/font4.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font4_H +#define METASPRITE_font4_H + +#include +#include +#include + +#define font4_TILE_ORIGIN 0 +#define font4_TILE_W 8 +#define font4_TILE_H 8 +#define font4_WIDTH 32 +#define font4_HEIGHT 48 +#define font4_TILE_COUNT 16 +#define font4_PALETTE_COUNT 1 +#define font4_COLORS_PER_PALETTE 4 +#define font4_TOTAL_COLORS 4 +#define font4_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font4) + +extern const palette_color_t font4_palettes[4]; +extern const uint8_t font4_tiles[256]; + +extern const unsigned char font4_map[24]; + +#endif diff --git a/assets/font4.png b/assets/font4.png new file mode 100644 index 0000000..0d77102 Binary files /dev/null and b/assets/font4.png differ diff --git a/assets/font5.c b/assets/font5.c new file mode 100644 index 0000000..5dc7b38 --- /dev/null +++ b/assets/font5.c @@ -0,0 +1,113 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font5) + +const palette_color_t font5_palettes[4] = { + RGB8(255,255,255), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font5_tiles[352] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x07,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,0x0e,0x00, + 0xfe,0x00,0xfe,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x07,0x00, + 0x07,0x00,0x07,0x00, + 0x07,0x00,0x07,0x00, + 0x07,0x00,0x07,0x00, + 0xff,0x00,0xff,0x00, + 0xcf,0x00,0xc0,0x00, + 0xc0,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x1f,0x00,0x07,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0x80,0x00, + 0xc0,0x00,0xc0,0x00, + 0xe0,0x00,0x70,0x00, + 0x07,0x00,0x07,0x00, + 0x07,0x00,0x07,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x0f,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0xe0,0x00,0xf8,0x00, + 0xfc,0x00,0xfe,0x00, + 0x7f,0x00,0x3f,0x00, + 0x30,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,0x00,0x00, + 0x00,0x00,0x1c,0x00, + 0x1f,0x00,0x0f,0x00, + 0x0f,0x00,0x07,0x00, + 0x07,0x00,0x07,0x00, + 0x07,0x00,0x07,0x00, + 0x80,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xe0,0x00, + 0xe0,0x00,0xe0,0x00, + 0x1c,0x00,0x1c,0x00, + 0x18,0x00,0x18,0x00, + 0x0c,0x00,0x0e,0x00, + 0x07,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0xc0,0x00, + 0x07,0x00,0x07,0x00, + 0x0f,0x00,0x0f,0x00, + 0x1f,0x00,0x3f,0x00, + 0x7f,0x00,0xfc,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x80,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,0x3f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xf8,0x00,0xc0,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font5_map[24] = { + 0x00,0x01,0x02,0x03, + 0x04,0x05,0x06,0x07, + 0x08,0x09,0x0a,0x0b, + 0x0c,0x03,0x0d,0x0e, + 0x0f,0x10,0x11,0x12, + 0x13,0x14,0x15,0x03, +}; diff --git a/assets/font5.h b/assets/font5.h new file mode 100644 index 0000000..36d90c5 --- /dev/null +++ b/assets/font5.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font5_H +#define METASPRITE_font5_H + +#include +#include +#include + +#define font5_TILE_ORIGIN 0 +#define font5_TILE_W 8 +#define font5_TILE_H 8 +#define font5_WIDTH 32 +#define font5_HEIGHT 48 +#define font5_TILE_COUNT 22 +#define font5_PALETTE_COUNT 1 +#define font5_COLORS_PER_PALETTE 4 +#define font5_TOTAL_COLORS 4 +#define font5_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font5) + +extern const palette_color_t font5_palettes[4]; +extern const uint8_t font5_tiles[352]; + +extern const unsigned char font5_map[24]; + +#endif diff --git a/assets/font5.png b/assets/font5.png new file mode 100644 index 0000000..21355ce Binary files /dev/null and b/assets/font5.png differ diff --git a/assets/font6.c b/assets/font6.c new file mode 100644 index 0000000..1967b45 --- /dev/null +++ b/assets/font6.c @@ -0,0 +1,109 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font6) + +const palette_color_t font6_palettes[4] = { + RGB8(255,255,255), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font6_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,0x00,0x00, + 0x00,0x00,0x03,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,0x01,0x00, + 0x03,0x00,0x03,0x00, + 0x07,0x00,0x1f,0x00, + 0x3e,0x00,0x7c,0x00, + 0xf8,0x00,0xf0,0x00, + 0xe0,0x00,0xe0,0x00, + 0x80,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x07,0x00, + 0x0f,0x00,0x0f,0x00, + 0x1f,0x00,0x1f,0x00, + 0x1f,0x00,0x1e,0x00, + 0xc0,0x00,0xc1,0x00, + 0x87,0x00,0x8f,0x00, + 0x1f,0x00,0x38,0x00, + 0x60,0x00,0x60,0x00, + 0x00,0x00,0xf8,0x00, + 0xfc,0x00,0xff,0x00, + 0xff,0x00,0x7f,0x00, + 0x1f,0x00,0x0f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0xc0,0x00, + 0xc0,0x00,0xe0,0x00, + 0x3e,0x00,0x3e,0x00, + 0x3e,0x00,0x3e,0x00, + 0x3e,0x00,0x3e,0x00, + 0x3e,0x00,0x3f,0x00, + 0x40,0x00,0x00,0x00, + 0x00,0x00,0x03,0x00, + 0x07,0x00,0x07,0x00, + 0x07,0x00,0x03,0x00, + 0x0f,0x00,0x07,0x00, + 0x03,0x00,0x83,0x00, + 0xc3,0x00,0xc1,0x00, + 0xc1,0x00,0xc1,0x00, + 0xe0,0x00,0xf0,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf0,0x00,0xf0,0x00, + 0x3f,0x00,0x3f,0x00, + 0x1f,0x00,0x1f,0x00, + 0x0f,0x00,0x0f,0x00, + 0x07,0x00,0x03,0x00, + 0x03,0x00,0x00,0x00, + 0x80,0x00,0xc0,0x00, + 0xc0,0x00,0xe0,0x00, + 0xf0,0x00,0xfc,0x00, + 0x81,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x03,0x00,0x03,0x00, + 0x07,0x00,0x1f,0x00, + 0xf0,0x00,0xe0,0x00, + 0xe0,0x00,0xe0,0x00, + 0xc0,0x00,0x80,0x00, + 0x80,0x00,0x00,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0x1f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xfe,0x00,0xf8,0x00, + 0xc0,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font6_map[24] = { + 0x00,0x01,0x02,0x00, + 0x03,0x04,0x05,0x00, + 0x06,0x07,0x08,0x09, + 0x0a,0x0b,0x0c,0x0d, + 0x0e,0x0f,0x10,0x11, + 0x12,0x13,0x14,0x00, +}; diff --git a/assets/font6.h b/assets/font6.h new file mode 100644 index 0000000..5b2866e --- /dev/null +++ b/assets/font6.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font6_H +#define METASPRITE_font6_H + +#include +#include +#include + +#define font6_TILE_ORIGIN 0 +#define font6_TILE_W 8 +#define font6_TILE_H 8 +#define font6_WIDTH 32 +#define font6_HEIGHT 48 +#define font6_TILE_COUNT 21 +#define font6_PALETTE_COUNT 1 +#define font6_COLORS_PER_PALETTE 4 +#define font6_TOTAL_COLORS 4 +#define font6_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font6) + +extern const palette_color_t font6_palettes[4]; +extern const uint8_t font6_tiles[336]; + +extern const unsigned char font6_map[24]; + +#endif diff --git a/assets/font6.png b/assets/font6.png new file mode 100644 index 0000000..6b30ab0 Binary files /dev/null and b/assets/font6.png differ diff --git a/assets/font7.c b/assets/font7.c new file mode 100644 index 0000000..5169635 --- /dev/null +++ b/assets/font7.c @@ -0,0 +1,81 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font7) + +const palette_color_t font7_palettes[4] = { + RGB8(255,255,255), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font7_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, + 0xe0,0x00,0xff,0x00, + 0x00,0x00,0x01,0x00, + 0x01,0x00,0x03,0x00, + 0x03,0x00,0x07,0x00, + 0x0f,0x00,0x0e,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xfe,0x00, + 0xf0,0x00,0xc0,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0x1f,0x00, + 0x1f,0x00,0x1f,0x00, + 0x1f,0x00,0x3e,0x00, + 0xc0,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x18,0x00,0x10,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x3e,0x00,0x3e,0x00, + 0x7c,0x00,0x7c,0x00, + 0x7c,0x00,0xf8,0x00, + 0xf8,0x00,0xf8,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0x07,0x00,0x07,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf0,0x00,0xe0,0x00, + 0xe0,0x00,0xe0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x07,0x00,0x0f,0x00, + 0x0f,0x00,0x0f,0x00, + 0x1f,0x00,0x1f,0x00, + 0x1f,0x00,0x3f,0x00, + 0xc0,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xe0,0x00,0xe0,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font7_map[24] = { + 0x00,0x01,0x00,0x00, + 0x02,0x03,0x04,0x05, + 0x06,0x00,0x07,0x00, + 0x00,0x08,0x09,0x00, + 0x00,0x0a,0x0b,0x00, + 0x00,0x0c,0x0d,0x00, +}; diff --git a/assets/font7.h b/assets/font7.h new file mode 100644 index 0000000..c66b8ca --- /dev/null +++ b/assets/font7.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font7_H +#define METASPRITE_font7_H + +#include +#include +#include + +#define font7_TILE_ORIGIN 0 +#define font7_TILE_W 8 +#define font7_TILE_H 8 +#define font7_WIDTH 32 +#define font7_HEIGHT 48 +#define font7_TILE_COUNT 14 +#define font7_PALETTE_COUNT 1 +#define font7_COLORS_PER_PALETTE 4 +#define font7_TOTAL_COLORS 4 +#define font7_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font7) + +extern const palette_color_t font7_palettes[4]; +extern const uint8_t font7_tiles[224]; + +extern const unsigned char font7_map[24]; + +#endif diff --git a/assets/font7.png b/assets/font7.png new file mode 100644 index 0000000..49e6a0e Binary files /dev/null and b/assets/font7.png differ diff --git a/assets/font8.c b/assets/font8.c new file mode 100644 index 0000000..6fbb852 --- /dev/null +++ b/assets/font8.c @@ -0,0 +1,101 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font8) + +const palette_color_t font8_palettes[4] = { + RGB8(255,255,255), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font8_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, + 0x00,0x00,0x0f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0xe0,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x3f,0x00,0x78,0x00, + 0xf0,0x00,0xe0,0x00, + 0xe3,0x00,0xe7,0x00, + 0xe7,0x00,0xe7,0x00, + 0xf0,0x00,0x7c,0x00, + 0x3c,0x00,0x1e,0x00, + 0x8e,0x00,0xce,0x00, + 0xce,0x00,0xce,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xe3,0x00,0xe3,0x00, + 0xf0,0x00,0xf8,0x00, + 0x3f,0x00,0x3f,0x00, + 0x7f,0x00,0xfc,0x00, + 0xce,0x00,0x8e,0x00, + 0x1e,0x00,0x3c,0x00, + 0xf8,0x00,0xf0,0x00, + 0xfc,0x00,0xfe,0x00, + 0x01,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0x07,0x00,0x07,0x00, + 0x07,0x00,0x07,0x00, + 0xf0,0x00,0xf0,0x00, + 0xe0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x3f,0x00,0x1f,0x00, + 0x0f,0x00,0x0f,0x00, + 0x07,0x00,0x07,0x00, + 0x07,0x00,0x07,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0xc0,0x00,0xc0,0x00, + 0x07,0x00,0x07,0x00, + 0x07,0x00,0x03,0x00, + 0x03,0x00,0x01,0x00, + 0x01,0x00,0x00,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xe0,0x00, + 0xf0,0x00,0x78,0x00, + 0x07,0x00,0x07,0x00, + 0x07,0x00,0x07,0x00, + 0x07,0x00,0x0f,0x00, + 0x1e,0x00,0x3c,0x00, + 0xc0,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x3f,0x00,0x0f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xf8,0x00,0xe0,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font8_map[24] = { + 0x00,0x01,0x02,0x00, + 0x03,0x04,0x05,0x00, + 0x06,0x07,0x08,0x00, + 0x09,0x0a,0x0b,0x0c, + 0x0d,0x0e,0x0f,0x10, + 0x00,0x11,0x12,0x00, +}; diff --git a/assets/font8.h b/assets/font8.h new file mode 100644 index 0000000..ae5415c --- /dev/null +++ b/assets/font8.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font8_H +#define METASPRITE_font8_H + +#include +#include +#include + +#define font8_TILE_ORIGIN 0 +#define font8_TILE_W 8 +#define font8_TILE_H 8 +#define font8_WIDTH 32 +#define font8_HEIGHT 48 +#define font8_TILE_COUNT 19 +#define font8_PALETTE_COUNT 1 +#define font8_COLORS_PER_PALETTE 4 +#define font8_TOTAL_COLORS 4 +#define font8_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font8) + +extern const palette_color_t font8_palettes[4]; +extern const uint8_t font8_tiles[304]; + +extern const unsigned char font8_map[24]; + +#endif diff --git a/assets/font8.png b/assets/font8.png new file mode 100644 index 0000000..bbd4bf2 Binary files /dev/null and b/assets/font8.png differ diff --git a/assets/font9.c b/assets/font9.c new file mode 100644 index 0000000..d929247 --- /dev/null +++ b/assets/font9.c @@ -0,0 +1,105 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font9) + +const palette_color_t font9_palettes[4] = { + RGB8(255,255,255), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font9_tiles[320] = { + 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,0x1f,0x00, + 0x7f,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0xe0,0x00, + 0xfc,0x00,0xfe,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x03,0x00,0x07,0x00, + 0x07,0x00,0x0f,0x00, + 0x1e,0x00,0x1e,0x00, + 0x1e,0x00,0x3e,0x00, + 0xe0,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x07,0x00, + 0xff,0x00,0x3f,0x00, + 0x1f,0x00,0x0f,0x00, + 0x0f,0x00,0x07,0x00, + 0x03,0x00,0x03,0x00, + 0x00,0x00,0x80,0x00, + 0xc0,0x00,0xc0,0x00, + 0xe0,0x00,0xe0,0x00, + 0xe0,0x00,0xf0,0x00, + 0x3e,0x00,0x3e,0x00, + 0x3e,0x00,0x3f,0x00, + 0x3f,0x00,0x3f,0x00, + 0x3f,0x00,0x1f,0x00, + 0x0f,0x00,0x0f,0x00, + 0x0f,0x00,0x0f,0x00, + 0x07,0x00,0x80,0x00, + 0x80,0x00,0xc0,0x00, + 0x03,0x00,0x81,0x00, + 0x81,0x00,0x81,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf0,0x00,0xf0,0x00, + 0x1f,0x00,0x0f,0x00, + 0x07,0x00,0x07,0x00, + 0x03,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xc0,0x00,0xe0,0x00, + 0xf8,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x3e,0x00,0x00,0x00, + 0x0d,0x00,0x19,0x00, + 0x33,0x00,0xf3,0x00, + 0xe3,0x00,0x87,0x00, + 0x07,0x00,0x0f,0x00, + 0xf0,0x00,0xe0,0x00, + 0xe0,0x00,0xe0,0x00, + 0xe0,0x00,0xc0,0x00, + 0xc0,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x01,0x00, + 0x0f,0x00,0x1f,0x00, + 0x1f,0x00,0x3e,0x00, + 0x7c,0x00,0xf8,0x00, + 0xf0,0x00,0xe0,0x00, + 0x80,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x03,0x00,0x07,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font9_map[24] = { + 0x00,0x01,0x02,0x03, + 0x04,0x05,0x06,0x07, + 0x08,0x09,0x0a,0x0b, + 0x0c,0x0d,0x0e,0x0f, + 0x03,0x10,0x11,0x12, + 0x03,0x13,0x12,0x03, +}; diff --git a/assets/font9.h b/assets/font9.h new file mode 100644 index 0000000..006191a --- /dev/null +++ b/assets/font9.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font9_H +#define METASPRITE_font9_H + +#include +#include +#include + +#define font9_TILE_ORIGIN 0 +#define font9_TILE_W 8 +#define font9_TILE_H 8 +#define font9_WIDTH 32 +#define font9_HEIGHT 48 +#define font9_TILE_COUNT 20 +#define font9_PALETTE_COUNT 1 +#define font9_COLORS_PER_PALETTE 4 +#define font9_TOTAL_COLORS 4 +#define font9_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font9) + +extern const palette_color_t font9_palettes[4]; +extern const uint8_t font9_tiles[320]; + +extern const unsigned char font9_map[24]; + +#endif diff --git a/assets/font9.png b/assets/font9.png new file mode 100644 index 0000000..9babe34 Binary files /dev/null and b/assets/font9.png differ diff --git a/assets/font_alt0.c b/assets/font_alt0.c new file mode 100644 index 0000000..cfe5d02 --- /dev/null +++ b/assets/font_alt0.c @@ -0,0 +1,105 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt0) + + +const uint8_t font_alt0_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,0x00,0x00, + 0x00,0x00,0x00,0x33, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xf8,0x00,0xfc, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x03, + 0x00,0x03,0x00,0x07, + 0x00,0x07,0x00,0x0f, + 0x00,0x77,0x00,0xef, + 0x00,0xef,0x00,0xdf, + 0x00,0xbc,0x00,0xb0, + 0x00,0x70,0x00,0x60, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x3f,0x00,0x1f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x00,0x00,0x80, + 0x00,0x80,0x00,0xc0, + 0x00,0xe0,0x00,0xe0, + 0x00,0xe0,0x00,0xf0, + 0x00,0x0e,0x00,0x1e, + 0x00,0x1e,0x00,0x1e, + 0x00,0x1e,0x00,0x3e, + 0x00,0x3e,0x00,0x3e, + 0x00,0x20,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x03,0x00,0x07, + 0x00,0x07,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x01,0x00,0x01, + 0x00,0x81,0x00,0x81, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf8,0x00,0xf8, + 0x00,0xf8,0x00,0xf8, + 0x00,0xf8,0x00,0xf8, + 0x00,0x3e,0x00,0x3e, + 0x00,0x3f,0x00,0x3f, + 0x00,0x3f,0x00,0x3f, + 0x00,0x3f,0x00,0x1f, + 0x00,0x07,0x00,0x07, + 0x00,0x07,0x00,0x03, + 0x00,0x03,0x00,0x00, + 0x00,0x80,0x00,0x80, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0x80, + 0x00,0x80,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xf8,0x00,0xf8, + 0x00,0xf8,0x00,0xf8, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf0,0x00,0xf0, + 0x00,0x1f,0x00,0x1f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x07,0x00,0x07, + 0x00,0x03,0x00,0x01, + 0x00,0xc0,0x00,0xc0, + 0x00,0xe0,0x00,0xe0, + 0x00,0xf0,0x00,0xf8, + 0x00,0xfe,0x00,0xff, + 0x00,0x00,0x00,0x01, + 0x00,0x01,0x00,0x03, + 0x00,0x03,0x00,0x07, + 0x00,0x1f,0x00,0xfe, + 0x00,0xe0,0x00,0xe0, + 0x00,0xe0,0x00,0xc0, + 0x00,0xc0,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0x3f, + 0x00,0x0f,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xfc,0x00,0xf8, + 0x00,0xc0,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt0_map[24] = { + 0x00,0x01,0x02,0x00, + 0x03,0x04,0x05,0x06, + 0x07,0x08,0x09,0x0a, + 0x0b,0x0c,0x0d,0x0e, + 0x0f,0x10,0x11,0x12, + 0x00,0x13,0x14,0x00, +}; diff --git a/assets/font_alt0.h b/assets/font_alt0.h new file mode 100644 index 0000000..d211750 --- /dev/null +++ b/assets/font_alt0.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt0_H +#define METASPRITE_font_alt0_H + +#include +#include +#include + +#define font_alt0_TILE_ORIGIN 0 +#define font_alt0_TILE_W 8 +#define font_alt0_TILE_H 8 +#define font_alt0_WIDTH 32 +#define font_alt0_HEIGHT 48 +#define font_alt0_TILE_COUNT 21 +#define font_alt0_PALETTE_COUNT 0 +#define font_alt0_COLORS_PER_PALETTE 4 +#define font_alt0_TOTAL_COLORS 0 +#define font_alt0_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt0) + +extern const palette_color_t font_alt0_palettes[0]; +extern const uint8_t font_alt0_tiles[336]; + +extern const unsigned char font_alt0_map[24]; + +#endif diff --git a/assets/font_alt0.png b/assets/font_alt0.png new file mode 100644 index 0000000..3d82f1b Binary files /dev/null and b/assets/font_alt0.png differ diff --git a/assets/font_alt1.c b/assets/font_alt1.c new file mode 100644 index 0000000..4d0efd9 --- /dev/null +++ b/assets/font_alt1.c @@ -0,0 +1,60 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt1) + +const uint8_t font_alt1_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,0x03,0x00,0x0f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0x80, + 0x00,0x3f,0x00,0x3f, + 0x00,0x1f,0x00,0x0f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x0f,0x00,0x0f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x1f,0x00,0x1f, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0xc0, + 0x00,0x7f,0x00,0x7f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xe0,0x00,0xf0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt1_map[24] = { + 0x00,0x01,0x02,0x00, + 0x00,0x03,0x04,0x00, + 0x00,0x05,0x04,0x00, + 0x00,0x05,0x04,0x00, + 0x00,0x06,0x07,0x00, + 0x00,0x08,0x09,0x00, +}; diff --git a/assets/font_alt1.h b/assets/font_alt1.h new file mode 100644 index 0000000..eb1af4d --- /dev/null +++ b/assets/font_alt1.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt1_H +#define METASPRITE_font_alt1_H + +#include +#include +#include + +#define font_alt1_TILE_ORIGIN 0 +#define font_alt1_TILE_W 8 +#define font_alt1_TILE_H 8 +#define font_alt1_WIDTH 32 +#define font_alt1_HEIGHT 48 +#define font_alt1_TILE_COUNT 10 +#define font_alt1_PALETTE_COUNT 0 +#define font_alt1_COLORS_PER_PALETTE 4 +#define font_alt1_TOTAL_COLORS 0 +#define font_alt1_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt1) + +extern const palette_color_t font_alt1_palettes[0]; +extern const uint8_t font_alt1_tiles[160]; + +extern const unsigned char font_alt1_map[24]; + +#endif diff --git a/assets/font_alt1.png b/assets/font_alt1.png new file mode 100644 index 0000000..13854d8 Binary files /dev/null and b/assets/font_alt1.png differ diff --git a/assets/font_alt10.c b/assets/font_alt10.c new file mode 100644 index 0000000..ec2a189 --- /dev/null +++ b/assets/font_alt10.c @@ -0,0 +1,85 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt10) + + +const uint8_t font_alt10_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,0x03,0x00,0x03, + 0x00,0x0f,0x00,0x0f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0xc0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x01, + 0x00,0x01,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xe0,0x00,0xe0, + 0x00,0xf0,0x00,0xf0, + 0x00,0x0f,0x00,0x01, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0x8f, + 0x00,0x8f,0x00,0x1f, + 0x00,0x7f,0x00,0x7f, + 0x00,0x71,0x00,0x41, + 0x00,0x03,0x00,0xf1, + 0x00,0xf1,0x00,0xfc, + 0x00,0xfe,0x00,0xfe, + 0x00,0x8e,0x00,0x82, + 0x00,0xf0,0x00,0x80, + 0x00,0x80,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x0f,0x00,0x0f, + 0x00,0x41,0x00,0x73, + 0x00,0x73,0x00,0x1e, + 0x00,0x7f,0x00,0x7f, + 0x00,0x0f,0x00,0x0d, + 0x00,0x82,0x00,0xee, + 0x00,0xee,0x00,0x7c, + 0x00,0xfe,0x00,0xfe, + 0x00,0xf0,0x00,0x90, + 0x00,0x0f,0x00,0x0f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x0f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x03,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0x8d,0x00,0xc0, + 0x00,0xc0,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x91,0x00,0x03, + 0x00,0x03,0x00,0x01, + 0x00,0x01,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0xf0, + 0x00,0xf0,0x00,0xf0, + 0x00,0xe0,0x00,0xe0, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt10_map[24] = { + 0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04, + 0x05,0x06,0x07,0x08, + 0x00,0x09,0x0a,0x0b, + 0x0c,0x0d,0x0e,0x0f, + 0x00,0x00,0x00,0x00, +}; diff --git a/assets/font_alt10.h b/assets/font_alt10.h new file mode 100644 index 0000000..6844ad4 --- /dev/null +++ b/assets/font_alt10.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt10_H +#define METASPRITE_font_alt10_H + +#include +#include +#include + +#define font_alt10_TILE_ORIGIN 0 +#define font_alt10_TILE_W 8 +#define font_alt10_TILE_H 8 +#define font_alt10_WIDTH 32 +#define font_alt10_HEIGHT 48 +#define font_alt10_TILE_COUNT 16 +#define font_alt10_PALETTE_COUNT 0 +#define font_alt10_COLORS_PER_PALETTE 4 +#define font_alt10_TOTAL_COLORS 0 +#define font_alt10_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt10) + +extern const palette_color_t font_alt10_palettes[0]; +extern const uint8_t font_alt10_tiles[256]; + +extern const unsigned char font_alt10_map[24]; + +#endif diff --git a/assets/font_alt10.png b/assets/font_alt10.png new file mode 100644 index 0000000..b1ff7b7 Binary files /dev/null and b/assets/font_alt10.png differ diff --git a/assets/font_alt11.c b/assets/font_alt11.c new file mode 100644 index 0000000..69a7c27 --- /dev/null +++ b/assets/font_alt11.c @@ -0,0 +1,84 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt11) + +const uint8_t font_alt11_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,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0x03,0x00,0x03, + 0x00,0xfb,0x00,0xfb, + 0x00,0x03,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0xe0,0x00,0xfc, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0xc0, + 0x00,0xc0,0x00,0xc0, + 0x00,0x03,0x00,0x03, + 0x00,0x31,0x00,0x38, + 0x00,0x3c,0x00,0x3e, + 0x00,0xff,0x00,0xff, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x83, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0xc0, + 0x00,0xff,0x00,0xff, + 0x00,0x3e,0x00,0x3c, + 0x00,0x38,0x00,0x31, + 0x00,0x03,0x00,0x03, + 0x00,0x83,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x3f,0x00,0x3f, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x03,0x00,0x03, + 0x00,0xfb,0x00,0xfb, + 0x00,0x03,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xfe,0x00,0xe0, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt11_map[24] = { + 0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04, + 0x05,0x06,0x07,0x08, + 0x09,0x0a,0x0b,0x08, + 0x0c,0x0d,0x0e,0x0f, + 0x00,0x00,0x00,0x00, +}; diff --git a/assets/font_alt11.h b/assets/font_alt11.h new file mode 100644 index 0000000..06600d1 --- /dev/null +++ b/assets/font_alt11.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt11_H +#define METASPRITE_font_alt11_H + +#include +#include +#include + +#define font_alt11_TILE_ORIGIN 0 +#define font_alt11_TILE_W 8 +#define font_alt11_TILE_H 8 +#define font_alt11_WIDTH 32 +#define font_alt11_HEIGHT 48 +#define font_alt11_TILE_COUNT 16 +#define font_alt11_PALETTE_COUNT 0 +#define font_alt11_COLORS_PER_PALETTE 4 +#define font_alt11_TOTAL_COLORS 0 +#define font_alt11_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt11) + +extern const palette_color_t font_alt11_palettes[0]; +extern const uint8_t font_alt11_tiles[256]; + +extern const unsigned char font_alt11_map[24]; + +#endif diff --git a/assets/font_alt11.png b/assets/font_alt11.png new file mode 100644 index 0000000..8607f0a Binary files /dev/null and b/assets/font_alt11.png differ diff --git a/assets/font_alt2.c b/assets/font_alt2.c new file mode 100644 index 0000000..6110d6b --- /dev/null +++ b/assets/font_alt2.c @@ -0,0 +1,88 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt2) + +const uint8_t font_alt2_tiles[272] = { + 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,0x00,0x7f, + 0x00,0x01,0x00,0x03, + 0x00,0x06,0x00,0x0e, + 0x00,0x1c,0x00,0x1c, + 0x00,0x1c,0x00,0x1c, + 0x00,0xff,0x00,0x07, + 0x00,0x03,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0xf0, + 0x00,0xf8,0x00,0xf8, + 0x00,0xfc,0x00,0x7c, + 0x00,0x7e,0x00,0x7e, + 0x00,0x18,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x3e,0x00,0x3e, + 0x00,0x3e,0x00,0x3e, + 0x00,0x3e,0x00,0x3e, + 0x00,0x7c,0x00,0x7c, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x01, + 0x00,0x03,0x00,0x07, + 0x00,0x0f,0x00,0x1f, + 0x00,0xfc,0x00,0xf8, + 0x00,0xf0,0x00,0xf0, + 0x00,0xe0,0x00,0xc0, + 0x00,0x80,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x03, + 0x00,0x0f,0x00,0x1c, + 0x00,0x1e,0x00,0x3c, + 0x00,0x70,0x00,0xe0, + 0x00,0xfc,0x00,0xff, + 0x00,0xff,0x00,0x0f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xe0,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x08,0x00,0x30, + 0x00,0xe0,0x00,0xc0, + 0x00,0x30,0x00,0x20, + 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,0xfe, + 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,0x00,0x00,0x00 + }; + + +const unsigned char font_alt2_map[24] = { + 0x00,0x01,0x00,0x00, + 0x02,0x03,0x04,0x00, + 0x05,0x00,0x06,0x00, + 0x00,0x07,0x08,0x00, + 0x09,0x0a,0x0b,0x0c, + 0x0d,0x0e,0x0f,0x10, +}; diff --git a/assets/font_alt2.h b/assets/font_alt2.h new file mode 100644 index 0000000..c48148c --- /dev/null +++ b/assets/font_alt2.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt2_H +#define METASPRITE_font_alt2_H + +#include +#include +#include + +#define font_alt2_TILE_ORIGIN 0 +#define font_alt2_TILE_W 8 +#define font_alt2_TILE_H 8 +#define font_alt2_WIDTH 32 +#define font_alt2_HEIGHT 48 +#define font_alt2_TILE_COUNT 17 +#define font_alt2_PALETTE_COUNT 0 +#define font_alt2_COLORS_PER_PALETTE 4 +#define font_alt2_TOTAL_COLORS 0 +#define font_alt2_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt2) + +extern const palette_color_t font_alt2_palettes[0]; +extern const uint8_t font_alt2_tiles[272]; + +extern const unsigned char font_alt2_map[24]; + +#endif diff --git a/assets/font_alt2.png b/assets/font_alt2.png new file mode 100644 index 0000000..0ca81dc Binary files /dev/null and b/assets/font_alt2.png differ diff --git a/assets/font_alt3.c b/assets/font_alt3.c new file mode 100644 index 0000000..90ea323 --- /dev/null +++ b/assets/font_alt3.c @@ -0,0 +1,81 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt3) + + +const uint8_t font_alt3_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,0x00,0x00,0x1f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xc0, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x01, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x00, + 0x00,0x7f,0x00,0xe0, + 0x00,0xc0,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0xe0,0x00,0xf0, + 0x00,0x78,0x00,0x38, + 0x00,0x38,0x00,0x38, + 0x00,0x38,0x00,0x38, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x07,0x00,0x07, + 0x00,0x07,0x00,0x07, + 0x00,0x38,0x00,0x78, + 0x00,0x70,0x00,0xf0, + 0x00,0xe0,0x00,0xc0, + 0x00,0xc0,0x00,0xf0, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xf8,0x00,0xfc, + 0x00,0x7e,0x00,0x3e, + 0x00,0x3f,0x00,0x1f, + 0x00,0x1f,0x00,0x1f, + 0x00,0x00,0x00,0x01, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0xc1, + 0x00,0x1f,0x00,0x1f, + 0x00,0x1f,0x00,0x3e, + 0x00,0x3e,0x00,0x7c, + 0x00,0x78,0x00,0xf0, + 0x00,0x7f,0x00,0x1f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xe0,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt3_map[24] = { + 0x00,0x01,0x02,0x00, + 0x03,0x04,0x05,0x00, + 0x00,0x06,0x07,0x00, + 0x00,0x08,0x09,0x00, + 0x0a,0x0b,0x0c,0x00, + 0x00,0x0d,0x0e,0x00, +}; diff --git a/assets/font_alt3.h b/assets/font_alt3.h new file mode 100644 index 0000000..c877b5b --- /dev/null +++ b/assets/font_alt3.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt3_H +#define METASPRITE_font_alt3_H + +#include +#include +#include + +#define font_alt3_TILE_ORIGIN 0 +#define font_alt3_TILE_W 8 +#define font_alt3_TILE_H 8 +#define font_alt3_WIDTH 32 +#define font_alt3_HEIGHT 48 +#define font_alt3_TILE_COUNT 15 +#define font_alt3_PALETTE_COUNT 0 +#define font_alt3_COLORS_PER_PALETTE 4 +#define font_alt3_TOTAL_COLORS 0 +#define font_alt3_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt3) + +extern const palette_color_t font_alt3_palettes[0]; +extern const uint8_t font_alt3_tiles[240]; + +extern const unsigned char font_alt3_map[24]; + +#endif diff --git a/assets/font_alt3.png b/assets/font_alt3.png new file mode 100644 index 0000000..913470e Binary files /dev/null and b/assets/font_alt3.png differ diff --git a/assets/font_alt4.c b/assets/font_alt4.c new file mode 100644 index 0000000..6f28681 --- /dev/null +++ b/assets/font_alt4.c @@ -0,0 +1,85 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt4) + + +const uint8_t font_alt4_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,0x10,0x00,0x30, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x01, + 0x00,0x01,0x00,0x03, + 0x00,0x07,0x00,0x07, + 0x00,0x70,0x00,0x70, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf0,0x00,0xf0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x01, + 0x00,0x0f,0x00,0x1f, + 0x00,0x1f,0x00,0x3d, + 0x00,0x7d,0x00,0x79, + 0x00,0xf1,0x00,0xf1, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf0,0x00,0xf0, + 0x00,0x01,0x00,0x03, + 0x00,0x07,0x00,0x0f, + 0x00,0x0f,0x00,0x1f, + 0x00,0x3f,0x00,0x3f, + 0x00,0xe1,0x00,0xc1, + 0x00,0x81,0x00,0x81, + 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,0x20, + 0x00,0x60,0x00,0xe0, + 0x00,0xe0,0x00,0xe0, + 0x00,0xe0,0x00,0xe0, + 0x00,0x01,0x00,0x01, + 0x00,0x01,0x00,0x01, + 0x00,0x01,0x00,0x01, + 0x00,0x03,0x00,0x03, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf0,0x00,0xf8, + 0x00,0xe0,0x00,0x60, + 0x00,0x20,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x0f,0x00,0x0f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xfe,0x00,0xfe, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt4_map[24] = { + 0x00,0x00,0x01,0x00, + 0x00,0x02,0x03,0x00, + 0x04,0x05,0x06,0x00, + 0x07,0x08,0x09,0x0a, + 0x00,0x0b,0x0c,0x0d, + 0x00,0x0e,0x0f,0x00, +}; diff --git a/assets/font_alt4.h b/assets/font_alt4.h new file mode 100644 index 0000000..29be0ea --- /dev/null +++ b/assets/font_alt4.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt4_H +#define METASPRITE_font_alt4_H + +#include +#include +#include + +#define font_alt4_TILE_ORIGIN 0 +#define font_alt4_TILE_W 8 +#define font_alt4_TILE_H 8 +#define font_alt4_WIDTH 32 +#define font_alt4_HEIGHT 48 +#define font_alt4_TILE_COUNT 16 +#define font_alt4_PALETTE_COUNT 0 +#define font_alt4_COLORS_PER_PALETTE 4 +#define font_alt4_TOTAL_COLORS 0 +#define font_alt4_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt4) + +extern const palette_color_t font_alt4_palettes[0]; +extern const uint8_t font_alt4_tiles[256]; + +extern const unsigned char font_alt4_map[24]; + +#endif diff --git a/assets/font_alt4.png b/assets/font_alt4.png new file mode 100644 index 0000000..e0abfd9 Binary files /dev/null and b/assets/font_alt4.png differ diff --git a/assets/font_alt5.c b/assets/font_alt5.c new file mode 100644 index 0000000..92f3191 --- /dev/null +++ b/assets/font_alt5.c @@ -0,0 +1,110 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt5) + + + +const uint8_t font_alt5_tiles[352] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x07, + 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,0x0e, + 0x00,0xfe,0x00,0xfe, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x07,0x00,0x07, + 0x00,0x07,0x00,0x07, + 0x00,0x07,0x00,0x07, + 0x00,0x07,0x00,0x07, + 0x00,0xff,0x00,0xff, + 0x00,0xcf,0x00,0xc0, + 0x00,0xc0,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x1f,0x00,0x07, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0x80, + 0x00,0xc0,0x00,0xc0, + 0x00,0xe0,0x00,0x70, + 0x00,0x07,0x00,0x07, + 0x00,0x07,0x00,0x07, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x0f,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0xe0,0x00,0xf8, + 0x00,0xfc,0x00,0xfe, + 0x00,0x7f,0x00,0x3f, + 0x00,0x30,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,0x00, + 0x00,0x00,0x00,0x1c, + 0x00,0x1f,0x00,0x0f, + 0x00,0x0f,0x00,0x07, + 0x00,0x07,0x00,0x07, + 0x00,0x07,0x00,0x07, + 0x00,0x80,0x00,0xc0, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0xe0, + 0x00,0xe0,0x00,0xe0, + 0x00,0x1c,0x00,0x1c, + 0x00,0x18,0x00,0x18, + 0x00,0x0c,0x00,0x0e, + 0x00,0x07,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xc0, + 0x00,0x07,0x00,0x07, + 0x00,0x0f,0x00,0x0f, + 0x00,0x1f,0x00,0x3f, + 0x00,0x7f,0x00,0xfc, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0xc0, + 0x00,0x80,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,0x3f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xf8,0x00,0xc0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt5_map[24] = { + 0x00,0x01,0x02,0x03, + 0x04,0x05,0x06,0x07, + 0x08,0x09,0x0a,0x0b, + 0x0c,0x03,0x0d,0x0e, + 0x0f,0x10,0x11,0x12, + 0x13,0x14,0x15,0x03, +}; diff --git a/assets/font_alt5.h b/assets/font_alt5.h new file mode 100644 index 0000000..3d6babf --- /dev/null +++ b/assets/font_alt5.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt5_H +#define METASPRITE_font_alt5_H + +#include +#include +#include + +#define font_alt5_TILE_ORIGIN 0 +#define font_alt5_TILE_W 8 +#define font_alt5_TILE_H 8 +#define font_alt5_WIDTH 32 +#define font_alt5_HEIGHT 48 +#define font_alt5_TILE_COUNT 22 +#define font_alt5_PALETTE_COUNT 0 +#define font_alt5_COLORS_PER_PALETTE 4 +#define font_alt5_TOTAL_COLORS 0 +#define font_alt5_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt5) + +extern const palette_color_t font_alt5_palettes[0]; +extern const uint8_t font_alt5_tiles[352]; + +extern const unsigned char font_alt5_map[24]; + +#endif diff --git a/assets/font_alt5.png b/assets/font_alt5.png new file mode 100644 index 0000000..e934aeb Binary files /dev/null and b/assets/font_alt5.png differ diff --git a/assets/font_alt6.c b/assets/font_alt6.c new file mode 100644 index 0000000..3a6ec2f --- /dev/null +++ b/assets/font_alt6.c @@ -0,0 +1,105 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt6) + + +const uint8_t font_alt6_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,0x00,0x00, + 0x00,0x00,0x00,0x03, + 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,0x01, + 0x00,0x03,0x00,0x03, + 0x00,0x07,0x00,0x1f, + 0x00,0x3e,0x00,0x7c, + 0x00,0xf8,0x00,0xf0, + 0x00,0xe0,0x00,0xe0, + 0x00,0x80,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x07,0x00,0x07, + 0x00,0x0f,0x00,0x0f, + 0x00,0x1f,0x00,0x1f, + 0x00,0x1f,0x00,0x1e, + 0x00,0xc0,0x00,0xc1, + 0x00,0x87,0x00,0x8f, + 0x00,0x1f,0x00,0x38, + 0x00,0x60,0x00,0x60, + 0x00,0x00,0x00,0xf8, + 0x00,0xfc,0x00,0xff, + 0x00,0xff,0x00,0x7f, + 0x00,0x1f,0x00,0x0f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0xc0, + 0x00,0xc0,0x00,0xe0, + 0x00,0x3e,0x00,0x3e, + 0x00,0x3e,0x00,0x3e, + 0x00,0x3e,0x00,0x3e, + 0x00,0x3e,0x00,0x3f, + 0x00,0x40,0x00,0x00, + 0x00,0x00,0x00,0x03, + 0x00,0x07,0x00,0x07, + 0x00,0x07,0x00,0x03, + 0x00,0x0f,0x00,0x07, + 0x00,0x03,0x00,0x83, + 0x00,0xc3,0x00,0xc1, + 0x00,0xc1,0x00,0xc1, + 0x00,0xe0,0x00,0xf0, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf0,0x00,0xf0, + 0x00,0x3f,0x00,0x3f, + 0x00,0x1f,0x00,0x1f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x07,0x00,0x03, + 0x00,0x03,0x00,0x00, + 0x00,0x80,0x00,0xc0, + 0x00,0xc0,0x00,0xe0, + 0x00,0xf0,0x00,0xfc, + 0x00,0x81,0x00,0x01, + 0x00,0x01,0x00,0x01, + 0x00,0x03,0x00,0x03, + 0x00,0x07,0x00,0x1f, + 0x00,0xf0,0x00,0xe0, + 0x00,0xe0,0x00,0xe0, + 0x00,0xc0,0x00,0x80, + 0x00,0x80,0x00,0x00, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0x1f,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xfe,0x00,0xf8, + 0x00,0xc0,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt6_map[24] = { + 0x00,0x01,0x02,0x00, + 0x03,0x04,0x05,0x00, + 0x06,0x07,0x08,0x09, + 0x0a,0x0b,0x0c,0x0d, + 0x0e,0x0f,0x10,0x11, + 0x12,0x13,0x14,0x00, +}; diff --git a/assets/font_alt6.h b/assets/font_alt6.h new file mode 100644 index 0000000..bd8cc41 --- /dev/null +++ b/assets/font_alt6.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt6_H +#define METASPRITE_font_alt6_H + +#include +#include +#include + +#define font_alt6_TILE_ORIGIN 0 +#define font_alt6_TILE_W 8 +#define font_alt6_TILE_H 8 +#define font_alt6_WIDTH 32 +#define font_alt6_HEIGHT 48 +#define font_alt6_TILE_COUNT 21 +#define font_alt6_PALETTE_COUNT 0 +#define font_alt6_COLORS_PER_PALETTE 4 +#define font_alt6_TOTAL_COLORS 0 +#define font_alt6_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt6) + +extern const palette_color_t font_alt6_palettes[0]; +extern const uint8_t font_alt6_tiles[336]; + +extern const unsigned char font_alt6_map[24]; + +#endif diff --git a/assets/font_alt6.png b/assets/font_alt6.png new file mode 100644 index 0000000..8880180 Binary files /dev/null and b/assets/font_alt6.png differ diff --git a/assets/font_alt7.c b/assets/font_alt7.c new file mode 100644 index 0000000..d210f50 --- /dev/null +++ b/assets/font_alt7.c @@ -0,0 +1,76 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt7) + +const uint8_t font_alt7_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, + 0x00,0xe0,0x00,0xff, + 0x00,0x00,0x00,0x01, + 0x00,0x01,0x00,0x03, + 0x00,0x03,0x00,0x07, + 0x00,0x0f,0x00,0x0e, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xfe, + 0x00,0xf0,0x00,0xc0, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0x1f, + 0x00,0x1f,0x00,0x1f, + 0x00,0x1f,0x00,0x3e, + 0x00,0xc0,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x18,0x00,0x10, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x3e,0x00,0x3e, + 0x00,0x7c,0x00,0x7c, + 0x00,0x7c,0x00,0xf8, + 0x00,0xf8,0x00,0xf8, + 0x00,0x01,0x00,0x01, + 0x00,0x01,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x07,0x00,0x07, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf0,0x00,0xe0, + 0x00,0xe0,0x00,0xe0, + 0x00,0xc0,0x00,0xc0, + 0x00,0x07,0x00,0x0f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x1f,0x00,0x1f, + 0x00,0x1f,0x00,0x3f, + 0x00,0xc0,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xe0,0x00,0xe0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt7_map[24] = { + 0x00,0x01,0x00,0x00, + 0x02,0x03,0x04,0x05, + 0x06,0x00,0x07,0x00, + 0x00,0x08,0x09,0x00, + 0x00,0x0a,0x0b,0x00, + 0x00,0x0c,0x0d,0x00, +}; diff --git a/assets/font_alt7.h b/assets/font_alt7.h new file mode 100644 index 0000000..aea500f --- /dev/null +++ b/assets/font_alt7.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt7_H +#define METASPRITE_font_alt7_H + +#include +#include +#include + +#define font_alt7_TILE_ORIGIN 0 +#define font_alt7_TILE_W 8 +#define font_alt7_TILE_H 8 +#define font_alt7_WIDTH 32 +#define font_alt7_HEIGHT 48 +#define font_alt7_TILE_COUNT 14 +#define font_alt7_PALETTE_COUNT 0 +#define font_alt7_COLORS_PER_PALETTE 4 +#define font_alt7_TOTAL_COLORS 0 +#define font_alt7_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt7) + +extern const palette_color_t font_alt7_palettes[0]; +extern const uint8_t font_alt7_tiles[224]; + +extern const unsigned char font_alt7_map[24]; + +#endif diff --git a/assets/font_alt7.png b/assets/font_alt7.png new file mode 100644 index 0000000..c3dacab Binary files /dev/null and b/assets/font_alt7.png differ diff --git a/assets/font_alt8.c b/assets/font_alt8.c new file mode 100644 index 0000000..f129c80 --- /dev/null +++ b/assets/font_alt8.c @@ -0,0 +1,97 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt8) + + +const uint8_t font_alt8_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, + 0x00,0x00,0x00,0x0f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xe0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x01, + 0x00,0x01,0x00,0x01, + 0x00,0x3f,0x00,0x78, + 0x00,0xf0,0x00,0xe0, + 0x00,0xe3,0x00,0xe7, + 0x00,0xe7,0x00,0xe7, + 0x00,0xf0,0x00,0x7c, + 0x00,0x3c,0x00,0x1e, + 0x00,0x8e,0x00,0xce, + 0x00,0xce,0x00,0xce, + 0x00,0x01,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xe3,0x00,0xe3, + 0x00,0xf0,0x00,0xf8, + 0x00,0x3f,0x00,0x3f, + 0x00,0x7f,0x00,0xfc, + 0x00,0xce,0x00,0x8e, + 0x00,0x1e,0x00,0x3c, + 0x00,0xf8,0x00,0xf0, + 0x00,0xfc,0x00,0xfe, + 0x00,0x01,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x07,0x00,0x07, + 0x00,0x07,0x00,0x07, + 0x00,0xf0,0x00,0xf0, + 0x00,0xe0,0x00,0xc0, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0xc0, + 0x00,0x3f,0x00,0x1f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x07,0x00,0x07, + 0x00,0x07,0x00,0x07, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0xc0,0x00,0xc0, + 0x00,0x07,0x00,0x07, + 0x00,0x07,0x00,0x03, + 0x00,0x03,0x00,0x01, + 0x00,0x01,0x00,0x00, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0xe0, + 0x00,0xf0,0x00,0x78, + 0x00,0x07,0x00,0x07, + 0x00,0x07,0x00,0x07, + 0x00,0x07,0x00,0x0f, + 0x00,0x1e,0x00,0x3c, + 0x00,0xc0,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x3f,0x00,0x0f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xf8,0x00,0xe0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt8_map[24] = { + 0x00,0x01,0x02,0x00, + 0x03,0x04,0x05,0x00, + 0x06,0x07,0x08,0x00, + 0x09,0x0a,0x0b,0x0c, + 0x0d,0x0e,0x0f,0x10, + 0x00,0x11,0x12,0x00, +}; diff --git a/assets/font_alt8.h b/assets/font_alt8.h new file mode 100644 index 0000000..402eed5 --- /dev/null +++ b/assets/font_alt8.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt8_H +#define METASPRITE_font_alt8_H + +#include +#include +#include + +#define font_alt8_TILE_ORIGIN 0 +#define font_alt8_TILE_W 8 +#define font_alt8_TILE_H 8 +#define font_alt8_WIDTH 32 +#define font_alt8_HEIGHT 48 +#define font_alt8_TILE_COUNT 19 +#define font_alt8_PALETTE_COUNT 0 +#define font_alt8_COLORS_PER_PALETTE 4 +#define font_alt8_TOTAL_COLORS 0 +#define font_alt8_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt8) + +extern const palette_color_t font_alt8_palettes[0]; +extern const uint8_t font_alt8_tiles[304]; + +extern const unsigned char font_alt8_map[24]; + +#endif diff --git a/assets/font_alt8.png b/assets/font_alt8.png new file mode 100644 index 0000000..56bc824 Binary files /dev/null and b/assets/font_alt8.png differ diff --git a/assets/font_alt9.c b/assets/font_alt9.c new file mode 100644 index 0000000..7566aa1 --- /dev/null +++ b/assets/font_alt9.c @@ -0,0 +1,101 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt9) + + +const uint8_t font_alt9_tiles[320] = { + 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,0x1f, + 0x00,0x7f,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xe0, + 0x00,0xfc,0x00,0xfe, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x03,0x00,0x07, + 0x00,0x07,0x00,0x0f, + 0x00,0x1e,0x00,0x1e, + 0x00,0x1e,0x00,0x3e, + 0x00,0xe0,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x07, + 0x00,0xff,0x00,0x3f, + 0x00,0x1f,0x00,0x0f, + 0x00,0x0f,0x00,0x07, + 0x00,0x03,0x00,0x03, + 0x00,0x00,0x00,0x80, + 0x00,0xc0,0x00,0xc0, + 0x00,0xe0,0x00,0xe0, + 0x00,0xe0,0x00,0xf0, + 0x00,0x3e,0x00,0x3e, + 0x00,0x3e,0x00,0x3f, + 0x00,0x3f,0x00,0x3f, + 0x00,0x3f,0x00,0x1f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x07,0x00,0x80, + 0x00,0x80,0x00,0xc0, + 0x00,0x03,0x00,0x81, + 0x00,0x81,0x00,0x81, + 0x00,0x01,0x00,0x01, + 0x00,0x01,0x00,0x01, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf0,0x00,0xf0, + 0x00,0x1f,0x00,0x0f, + 0x00,0x07,0x00,0x07, + 0x00,0x03,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0xe0, + 0x00,0xf8,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x3e,0x00,0x00, + 0x00,0x0d,0x00,0x19, + 0x00,0x33,0x00,0xf3, + 0x00,0xe3,0x00,0x87, + 0x00,0x07,0x00,0x0f, + 0x00,0xf0,0x00,0xe0, + 0x00,0xe0,0x00,0xe0, + 0x00,0xe0,0x00,0xc0, + 0x00,0xc0,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x01, + 0x00,0x0f,0x00,0x1f, + 0x00,0x1f,0x00,0x3e, + 0x00,0x7c,0x00,0xf8, + 0x00,0xf0,0x00,0xe0, + 0x00,0x80,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x03,0x00,0x07, + 0x00,0x04,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt9_map[24] = { + 0x00,0x01,0x02,0x03, + 0x04,0x05,0x06,0x07, + 0x08,0x09,0x0a,0x0b, + 0x0c,0x0d,0x0e,0x0f, + 0x03,0x10,0x11,0x12, + 0x03,0x13,0x12,0x03, +}; diff --git a/assets/font_alt9.h b/assets/font_alt9.h new file mode 100644 index 0000000..29bffd3 --- /dev/null +++ b/assets/font_alt9.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt9_H +#define METASPRITE_font_alt9_H + +#include +#include +#include + +#define font_alt9_TILE_ORIGIN 0 +#define font_alt9_TILE_W 8 +#define font_alt9_TILE_H 8 +#define font_alt9_WIDTH 32 +#define font_alt9_HEIGHT 48 +#define font_alt9_TILE_COUNT 20 +#define font_alt9_PALETTE_COUNT 0 +#define font_alt9_COLORS_PER_PALETTE 4 +#define font_alt9_TOTAL_COLORS 0 +#define font_alt9_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt9) + +extern const palette_color_t font_alt9_palettes[0]; +extern const uint8_t font_alt9_tiles[320]; + +extern const unsigned char font_alt9_map[24]; + +#endif diff --git a/assets/font_alt9.png b/assets/font_alt9.png new file mode 100644 index 0000000..bf2fabf Binary files /dev/null and b/assets/font_alt9.png differ diff --git a/assets/watchface.c b/assets/watchface.c new file mode 100644 index 0000000..b801cb3 --- /dev/null +++ b/assets/watchface.c @@ -0,0 +1,493 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(watchface) + +const palette_color_t watchface_palettes[4] = { + RGB8(255,255,255), RGB8(128, 36, 36), RGB8(251, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t watchface_tiles[1504] = { + 0x10,0x10,0x10,0x10, + 0x10,0x10,0x10,0x10, + 0x10,0x10,0x00,0x00, + 0x10,0x10,0x00,0x00, + +0x36,0x36,0x24,0x24, + 0x48,0x48,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + +0x28,0x28,0x28,0x28, + 0x7c,0x7c,0x28,0x28, + 0x7c,0x7c,0x28,0x28, + 0x28,0x28,0x00,0x00, + +0x10,0x10,0x3c,0x3c, + 0x40,0x40,0x38,0x38, + 0x04,0x04,0x78,0x78, + 0x10,0x10,0x00,0x00, + +0x62,0x62,0x94,0x94, + 0x90,0x90,0x6c,0x6c, + 0x12,0x12,0x52,0x52, + 0x8c,0x8c,0x00,0x00, + +0x78,0x78,0x40,0x40, + 0x20,0x20,0x32,0x32, + 0x4c,0x4c,0x4c,0x4c, + 0x32,0x32,0x00,0x00, + +0x18,0x18,0x10,0x10, + 0x20,0x20,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + +0x08,0x08,0x10,0x10, + 0x20,0x20,0x20,0x20, + 0x20,0x20,0x10,0x10, + 0x08,0x08,0x00,0x00, + +0x20,0x20,0x10,0x10, + 0x08,0x08,0x08,0x08, + 0x08,0x08,0x10,0x10, + 0x20,0x20,0x00,0x00, + +0x00,0x00,0x28,0x28, + 0x10,0x10,0x7c,0x7c, + 0x10,0x10,0x28,0x28, + 0x00,0x00,0x00,0x00, + +0x00,0x00,0x10,0x10, + 0x10,0x10,0x7c,0x7c, + 0x10,0x10,0x10,0x10, + 0x00,0x00,0x00,0x00, + +0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x18,0x18, + 0x10,0x10,0x20,0x20, + +0x00,0x00,0x00,0x00, + 0x00,0x00,0x7c,0x7c, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + +0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x30,0x30, + 0x30,0x30,0x00,0x00, + +0x04,0x04,0x04,0x04, + 0x08,0x08,0x10,0x10, + 0x20,0x20,0x40,0x40, + 0x40,0x40,0x00,0x00, + +0x38,0x38,0x44,0x44, + 0xa2,0xa2,0x92,0x92, + 0x8a,0x8a,0x44,0x44, + 0x38,0x38,0x00,0x00, + +0x30,0x30,0x10,0x10, + 0x10,0x10,0x10,0x10, + 0x10,0x10,0x10,0x10, + 0x10,0x10,0x00,0x00, + +0x3c,0x3c,0x42,0x42, + 0x02,0x02,0x0c,0x0c, + 0x30,0x30,0x40,0x40, + 0x7e,0x7e,0x00,0x00, + +0x7e,0x7e,0x04,0x04, + 0x08,0x08,0x1c,0x1c, + 0x02,0x02,0x42,0x42, + 0x3c,0x3c,0x00,0x00, + +0x0e,0x0e,0x12,0x12, + 0x22,0x22,0x42,0x42, + 0x7f,0x7f,0x02,0x02, + 0x02,0x02,0x00,0x00, + +0x7e,0x7e,0x40,0x40, + 0x7c,0x7c,0x42,0x42, + 0x02,0x02,0x42,0x42, + 0x3c,0x3c,0x00,0x00, + +0x1c,0x1c,0x20,0x20, + 0x40,0x40,0x7c,0x7c, + 0x42,0x42,0x42,0x42, + 0x3c,0x3c,0x00,0x00, + +0x7e,0x7e,0x02,0x02, + 0x04,0x04,0x04,0x04, + 0x08,0x08,0x08,0x08, + 0x10,0x10,0x00,0x00, + +0x3c,0x3c,0x42,0x42, + 0x42,0x42,0x3c,0x3c, + 0x42,0x42,0x42,0x42, + 0x3c,0x3c,0x00,0x00, + +0x3c,0x3c,0x42,0x42, + 0x42,0x42,0x3e,0x3e, + 0x02,0x02,0x04,0x04, + 0x38,0x38,0x00,0x00, + +0x00,0x00,0x10,0x10, + 0x10,0x10,0x00,0x00, + 0x10,0x10,0x10,0x10, + 0x00,0x00,0x00,0x00, + +0x00,0x00,0x00,0x00, + 0x10,0x10,0x10,0x10, + 0x00,0x00,0x10,0x10, + 0x10,0x10,0x20,0x20, + +0x00,0x00,0x08,0x08, + 0x10,0x10,0x20,0x20, + 0x10,0x10,0x08,0x08, + 0x00,0x00,0x00,0x00, + +0x00,0x00,0x00,0x00, + 0x7c,0x7c,0x00,0x00, + 0x7c,0x7c,0x00,0x00, + 0x00,0x00,0x00,0x00, + +0x00,0x00,0x20,0x20, + 0x10,0x10,0x08,0x08, + 0x10,0x10,0x20,0x20, + 0x00,0x00,0x00,0x00, + +0x3c,0x3c,0x42,0x42, + 0x02,0x02,0x0c,0x0c, + 0x10,0x10,0x00,0x00, + 0x10,0x10,0x00,0x00, + +0x38,0x38,0x44,0x44, + 0x9a,0x9a,0xaa,0xaa, + 0xaa,0xaa,0x96,0x96, + 0x40,0x40,0x3c,0x3c, + +0x18,0x18,0x18,0x18, + 0x24,0x24,0x24,0x24, + 0x3c,0x3c,0x42,0x42, + 0x42,0x42,0x00,0x00, + +0x7c,0x7c,0x42,0x42, + 0x42,0x42,0x7c,0x7c, + 0x42,0x42,0x42,0x42, + 0x7c,0x7c,0x00,0x00, + +0x1c,0x1c,0x22,0x22, + 0x40,0x40,0x40,0x40, + 0x40,0x40,0x22,0x22, + 0x1c,0x1c,0x00,0x00, + +0x78,0x78,0x44,0x44, + 0x42,0x42,0x42,0x42, + 0x42,0x42,0x44,0x44, + 0x78,0x78,0x00,0x00, + +0x7e,0x7e,0x40,0x40, + 0x40,0x40,0x7c,0x7c, + 0x40,0x40,0x40,0x40, + 0x7e,0x7e,0x00,0x00, + +0x7e,0x7e,0x40,0x40, + 0x40,0x40,0x7c,0x7c, + 0x40,0x40,0x40,0x40, + 0x40,0x40,0x00,0x00, + +0x1c,0x1c,0x22,0x22, + 0x40,0x40,0x4e,0x4e, + 0x42,0x42,0x22,0x22, + 0x1c,0x1c,0x00,0x00, + +0x42,0x42,0x42,0x42, + 0x42,0x42,0x7e,0x7e, + 0x42,0x42,0x42,0x42, + 0x42,0x42,0x00,0x00, + +0x38,0x38,0x10,0x10, + 0x10,0x10,0x10,0x10, + 0x10,0x10,0x10,0x10, + 0x38,0x38,0x00,0x00, + +0x0e,0x0e,0x02,0x02, + 0x02,0x02,0x02,0x02, + 0x02,0x02,0x42,0x42, + 0x3c,0x3c,0x00,0x00, + +0x42,0x42,0x44,0x44, + 0x48,0x48,0x70,0x70, + 0x48,0x48,0x44,0x44, + 0x42,0x42,0x00,0x00, + +0x40,0x40,0x40,0x40, + 0x40,0x40,0x40,0x40, + 0x40,0x40,0x40,0x40, + 0x7e,0x7e,0x00,0x00, + +0xc6,0xc6,0xc6,0xc6, + 0xaa,0xaa,0xaa,0xaa, + 0x92,0x92,0x92,0x92, + 0x82,0x82,0x00,0x00, + +0x62,0x62,0x62,0x62, + 0x52,0x52,0x52,0x52, + 0x4a,0x4a,0x4a,0x4a, + 0x46,0x46,0x00,0x00, + +0x38,0x38,0x44,0x44, + 0x82,0x82,0x82,0x82, + 0x82,0x82,0x44,0x44, + 0x38,0x38,0x00,0x00, + +0x7c,0x7c,0x42,0x42, + 0x42,0x42,0x7c,0x7c, + 0x40,0x40,0x40,0x40, + 0x40,0x40,0x00,0x00, + +0x38,0x38,0x44,0x44, + 0x82,0x82,0x82,0x82, + 0x8a,0x8a,0x44,0x44, + 0x3a,0x3a,0x00,0x00, + +0x7c,0x7c,0x42,0x42, + 0x42,0x42,0x7c,0x7c, + 0x48,0x48,0x44,0x44, + 0x42,0x42,0x00,0x00, + +0x3c,0x3c,0x42,0x42, + 0x40,0x40,0x3c,0x3c, + 0x02,0x02,0x42,0x42, + 0x3c,0x3c,0x00,0x00, + +0xfe,0xfe,0x10,0x10, + 0x10,0x10,0x10,0x10, + 0x10,0x10,0x10,0x10, + 0x10,0x10,0x00,0x00, + +0x42,0x42,0x42,0x42, + 0x42,0x42,0x42,0x42, + 0x42,0x42,0x42,0x42, + 0x3c,0x3c,0x00,0x00, + +0x42,0x42,0x42,0x42, + 0x24,0x24,0x24,0x24, + 0x24,0x24,0x18,0x18, + 0x18,0x18,0x00,0x00, + +0x82,0x82,0x92,0x92, + 0x92,0x92,0xaa,0xaa, + 0xaa,0xaa,0x44,0x44, + 0x44,0x44,0x00,0x00, + +0x42,0x42,0x42,0x42, + 0x24,0x24,0x18,0x18, + 0x24,0x24,0x42,0x42, + 0x42,0x42,0x00,0x00, + +0x82,0x82,0x44,0x44, + 0x28,0x28,0x10,0x10, + 0x10,0x10,0x10,0x10, + 0x10,0x10,0x00,0x00, + +0x3e,0x3e,0x02,0x02, + 0x04,0x04,0x08,0x08, + 0x10,0x10,0x20,0x20, + 0x3e,0x3e,0x00,0x00, + +0x38,0x38,0x20,0x20, + 0x20,0x20,0x20,0x20, + 0x20,0x20,0x20,0x20, + 0x38,0x38,0x00,0x00, + +0x40,0x40,0x40,0x40, + 0x20,0x20,0x10,0x10, + 0x08,0x08,0x04,0x04, + 0x04,0x04,0x00,0x00, + +0x38,0x38,0x08,0x08, + 0x08,0x08,0x08,0x08, + 0x08,0x08,0x08,0x08, + 0x38,0x38,0x00,0x00, + +0x10,0x10,0x38,0x38, + 0x54,0x54,0x10,0x10, + 0x10,0x10,0x10,0x10, + 0x00,0x00,0x00,0x00, + +0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0xff,0xff, + +0x0c,0x0c,0x12,0x12, + 0x10,0x10,0x7c,0x7c, + 0x20,0x20,0x20,0x20, + 0x7e,0x7e,0x00,0x00, + +0x00,0x00,0x38,0x38, + 0x04,0x04,0x3c,0x3c, + 0x44,0x44,0x4c,0x4c, + 0x34,0x34,0x00,0x00, + +0x40,0x40,0x58,0x58, + 0x64,0x64,0x44,0x44, + 0x44,0x44,0x44,0x44, + 0x78,0x78,0x00,0x00, + +0x00,0x00,0x38,0x38, + 0x44,0x44,0x40,0x40, + 0x40,0x40,0x44,0x44, + 0x38,0x38,0x00,0x00, + +0x04,0x04,0x34,0x34, + 0x4c,0x4c,0x44,0x44, + 0x44,0x44,0x44,0x44, + 0x3c,0x3c,0x00,0x00, + +0x00,0x00,0x38,0x38, + 0x44,0x44,0x7c,0x7c, + 0x40,0x40,0x44,0x44, + 0x38,0x38,0x00,0x00, + +0x0c,0x0c,0x10,0x10, + 0x3c,0x3c,0x10,0x10, + 0x10,0x10,0x10,0x10, + 0x10,0x10,0x00,0x00, + +0x00,0x00,0x3a,0x3a, + 0x44,0x44,0x44,0x44, + 0x38,0x38,0x04,0x04, + 0x44,0x44,0x38,0x38, + +0x40,0x40,0x58,0x58, + 0x64,0x64,0x44,0x44, + 0x44,0x44,0x44,0x44, + 0x44,0x44,0x00,0x00, + +0x10,0x10,0x00,0x00, + 0x10,0x10,0x10,0x10, + 0x10,0x10,0x10,0x10, + 0x10,0x10,0x00,0x00, + +0x08,0x08,0x00,0x00, + 0x08,0x08,0x08,0x08, + 0x08,0x08,0x08,0x08, + 0x08,0x08,0x30,0x30, + +0x40,0x40,0x44,0x44, + 0x48,0x48,0x70,0x70, + 0x50,0x50,0x48,0x48, + 0x44,0x44,0x00,0x00, + +0x10,0x10,0x10,0x10, + 0x10,0x10,0x10,0x10, + 0x10,0x10,0x10,0x10, + 0x10,0x10,0x00,0x00, + +0x00,0x00,0xa4,0xa4, + 0xda,0xda,0x92,0x92, + 0x92,0x92,0x92,0x92, + 0x92,0x92,0x00,0x00, + +0x00,0x00,0x58,0x58, + 0x64,0x64,0x44,0x44, + 0x44,0x44,0x44,0x44, + 0x44,0x44,0x00,0x00, + +0x00,0x00,0x38,0x38, + 0x44,0x44,0x44,0x44, + 0x44,0x44,0x44,0x44, + 0x38,0x38,0x00,0x00, + +0x00,0x00,0x58,0x58, + 0x64,0x64,0x44,0x44, + 0x44,0x44,0x64,0x64, + 0x58,0x58,0x40,0x40, + +0x00,0x00,0x3c,0x3c, + 0x44,0x44,0x44,0x44, + 0x44,0x44,0x4c,0x4c, + 0x34,0x34,0x04,0x04, + +0x00,0x00,0x58,0x58, + 0x64,0x64,0x44,0x44, + 0x40,0x40,0x40,0x40, + 0x40,0x40,0x00,0x00, + +0x00,0x00,0x3c,0x3c, + 0x40,0x40,0x38,0x38, + 0x04,0x04,0x04,0x04, + 0x78,0x78,0x00,0x00, + +0x10,0x10,0x7c,0x7c, + 0x10,0x10,0x10,0x10, + 0x10,0x10,0x10,0x10, + 0x10,0x10,0x00,0x00, + +0x00,0x00,0x44,0x44, + 0x44,0x44,0x44,0x44, + 0x44,0x44,0x4c,0x4c, + 0x34,0x34,0x00,0x00, + +0x00,0x00,0x44,0x44, + 0x44,0x44,0x28,0x28, + 0x28,0x28,0x10,0x10, + 0x10,0x10,0x00,0x00, + +0x00,0x00,0x82,0x82, + 0x82,0x82,0x54,0x54, + 0x54,0x54,0x28,0x28, + 0x28,0x28,0x00,0x00, + +0x00,0x00,0x44,0x44, + 0x28,0x28,0x10,0x10, + 0x10,0x10,0x28,0x28, + 0x44,0x44,0x00,0x00, + +0x00,0x00,0x44,0x44, + 0x44,0x44,0x28,0x28, + 0x28,0x28,0x10,0x10, + 0x10,0x10,0x60,0x60, + +0x00,0x00,0x3c,0x3c, + 0x04,0x04,0x08,0x08, + 0x10,0x10,0x20,0x20, + 0x3c,0x3c,0x00,0x00, + +0x0c,0x0c,0x10,0x10, + 0x10,0x10,0x60,0x60, + 0x10,0x10,0x10,0x10, + 0x0c,0x0c,0x00,0x00, + +0x60,0x60,0x10,0x10, + 0x10,0x10,0x0c,0x0c, + 0x10,0x10,0x10,0x10, + 0x60,0x60,0x00,0x00, + +0x34,0x34,0x58,0x58, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + +0x3c,0x3c,0x42,0x42, + 0x99,0x99,0xa1,0xa1, + 0xa1,0xa1,0x99,0x99, + 0x42,0x42,0x3c,0x3c + +}; + +const metasprite_t watchface_metasprite0[] = { + METASPR_ITEM(-12, -120, 0, 0), METASPR_ITEM(0, 8, 1, 0), METASPR_ITEM(0, 8, 2, 0), METASPR_ITEM(0, 8, 3, 0), METASPR_ITEM(0, 8, 4, 0), METASPR_ITEM(0, 8, 5, 0), METASPR_ITEM(0, 8, 6, 0), METASPR_ITEM(0, 8, 7, 0), METASPR_ITEM(0, 8, 8, 0), METASPR_ITEM(0, 8, 9, 0), METASPR_ITEM(0, 8, 10, 0), METASPR_ITEM(0, 8, 11, 0), METASPR_ITEM(0, 8, 12, 0), METASPR_ITEM(0, 8, 13, 0), METASPR_ITEM(0, 8, 14, 0), METASPR_ITEM(0, 8, 15, 0), METASPR_ITEM(0, 8, 16, 0), METASPR_ITEM(0, 8, 17, 0), METASPR_ITEM(0, 8, 18, 0), METASPR_ITEM(0, 8, 19, 0), METASPR_ITEM(0, 8, 20, 0), METASPR_ITEM(0, 8, 21, 0), METASPR_ITEM(0, 8, 22, 0), METASPR_ITEM(0, 8, 23, 0), METASPR_ITEM(0, 8, 24, 0), METASPR_ITEM(0, 8, 25, 0), METASPR_ITEM(0, 8, 26, 0), METASPR_ITEM(0, 8, 27, 0), METASPR_ITEM(0, 8, 28, 0), METASPR_ITEM(0, 8, 29, 0), METASPR_ITEM(0, 8, 30, 0), METASPR_ITEM(8, 8, 31, 0), METASPR_ITEM(0, 8, 32, 0), METASPR_ITEM(0, 8, 33, 0), METASPR_ITEM(0, 8, 34, 0), METASPR_ITEM(0, 8, 35, 0), METASPR_ITEM(0, 8, 36, 0), METASPR_ITEM(0, 8, 37, 0), METASPR_ITEM(0, 8, 38, 0), METASPR_ITEM(0, 8, 39, 0), METASPR_ITEM(0, 8, 40, 0), METASPR_ITEM(0, 8, 41, 0), METASPR_ITEM(0, 8, 42, 0), METASPR_ITEM(0, 8, 43, 0), METASPR_ITEM(0, 8, 44, 0), METASPR_ITEM(0, 8, 45, 0), METASPR_ITEM(0, 8, 46, 0), METASPR_ITEM(0, 8, 47, 0), METASPR_ITEM(0, 8, 48, 0), METASPR_ITEM(0, 8, 49, 0), METASPR_ITEM(0, 8, 50, 0), METASPR_ITEM(0, 8, 51, 0), METASPR_ITEM(0, 8, 52, 0), METASPR_ITEM(0, 8, 53, 0), METASPR_ITEM(0, 8, 54, 0), METASPR_ITEM(0, 8, 55, 0), METASPR_ITEM(0, 8, 56, 0), METASPR_ITEM(0, 8, 57, 0), METASPR_ITEM(0, 8, 58, 0), METASPR_ITEM(0, 8, 59, 0), METASPR_ITEM(0, 8, 60, 0), METASPR_ITEM(0, 8, 61, 0), METASPR_ITEM(0, 8, 62, 0), METASPR_ITEM(8, 8, 63, 0), METASPR_ITEM(0, 8, 64, 0), METASPR_ITEM(0, 8, 65, 0), METASPR_ITEM(0, 8, 66, 0), METASPR_ITEM(0, 8, 67, 0), METASPR_ITEM(0, 8, 68, 0), METASPR_ITEM(0, 8, 69, 0), METASPR_ITEM(0, 8, 70, 0), METASPR_ITEM(0, 8, 71, 0), METASPR_ITEM(0, 8, 72, 0), METASPR_ITEM(0, 8, 73, 0), METASPR_ITEM(0, 8, 74, 0), METASPR_ITEM(0, 8, 75, 0), METASPR_ITEM(0, 8, 76, 0), METASPR_ITEM(0, 8, 77, 0), METASPR_ITEM(0, 8, 78, 0), METASPR_ITEM(0, 8, 79, 0), METASPR_ITEM(0, 8, 80, 0), METASPR_ITEM(0, 8, 81, 0), METASPR_ITEM(0, 8, 82, 0), METASPR_ITEM(0, 8, 83, 0), METASPR_ITEM(0, 8, 84, 0), METASPR_ITEM(0, 8, 85, 0), METASPR_ITEM(0, 8, 86, 0), METASPR_ITEM(0, 8, 87, 0), METASPR_ITEM(0, 8, 88, 0), METASPR_ITEM(0, 8, 89, 0), METASPR_ITEM(0, 8, 90, 0), METASPR_ITEM(0, 8, 75, 0), METASPR_ITEM(0, 8, 91, 0), METASPR_ITEM(0, 8, 92, 0), METASPR_ITEM(0, 8, 93, 0), METASPR_TERM +}; + +const metasprite_t* const watchface_metasprites[1] = { + watchface_metasprite0 +}; diff --git a/assets/watchface.h b/assets/watchface.h new file mode 100644 index 0000000..75b2827 --- /dev/null +++ b/assets/watchface.h @@ -0,0 +1,30 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_watchface_H +#define METASPRITE_watchface_H + +#include +#include +#include + +#define watchface_TILE_ORIGIN 0 +#define watchface_TILE_W 8 +#define watchface_TILE_H 8 +#define watchface_WIDTH 256 +#define watchface_HEIGHT 24 +#define watchface_TILE_COUNT 94 +#define watchface_PALETTE_COUNT 1 +#define watchface_COLORS_PER_PALETTE 4 +#define watchface_TOTAL_COLORS 4 +#define watchface_PIVOT_X 128 +#define watchface_PIVOT_Y 12 +#define watchface_PIVOT_W 256 +#define watchface_PIVOT_H 24 + +BANKREF_EXTERN(watchface) + +extern const palette_color_t watchface_palettes[4]; +extern const uint8_t watchface_tiles[1504]; + +extern const metasprite_t* const watchface_metasprites[1]; + +#endif diff --git a/assets/watchface.png b/assets/watchface.png new file mode 100644 index 0000000..1393078 Binary files /dev/null and b/assets/watchface.png differ diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..0d39d47 --- /dev/null +++ b/src/main.c @@ -0,0 +1,217 @@ +#include +#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/font1.h" +#include "../assets/font_alt1.h" +#include "../assets/font2.h" +#include "../assets/font_alt2.h" +#include "../assets/font3.h" +#include "../assets/font_alt3.h" +#include "../assets/font4.h" +#include "../assets/font_alt4.h" +#include "../assets/font5.h" +#include "../assets/font_alt5.h" +#include "../assets/font6.h" +#include "../assets/font_alt6.h" +#include "../assets/font7.h" +#include "../assets/font_alt7.h" +#include "../assets/font8.h" +#include "../assets/font_alt8.h" +#include "../assets/font9.h" +#include "../assets/font_alt9.h" +#include "../assets/font10.h" +#include "../assets/font_alt10.h" +#include "../assets/font11.h" +#include "../assets/font_alt11.h" +#include "../assets/border2.h" +#include "../assets/watchface.h" + +#define FONT_COUNT 12 +#define MAX_TILE_COUNT 22 + +uint8_t* font_tiles[] = { + font0_tiles, font1_tiles, font2_tiles, font3_tiles, font4_tiles, font5_tiles, + font6_tiles, font7_tiles, font8_tiles, font9_tiles, font10_tiles, font11_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_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 +}; + +unsigned char* font_maps[] = { + font0_map, font1_map, font2_map, font3_map, font4_map, font5_map, + font6_map, font7_map, font8_map, font9_map, font10_map, font11_map +}; + +uint8_t loaded_font_tile_counts[4]; +unsigned char* loaded_font_maps[4]; +uint8_t digits[4]; + + +uint8_t previousKeys = 0; +uint8_t keys = 0; +#define UPDATE_KEYS() previousKeys = keys; keys = joypad() +#define KEY_PRESSED(K) (keys & (K)) +#define KEY_TICKED(K) ((keys & (K)) && !(previousKeys & (K))) + +#define MIN(x,y) ((x) > (y) ? (y) : (x)) +#define MAX(x,y) ((x) < (y) ? (y) : (x)) + +#define PLAYER_LEFT 0 +#define PLAYER_RIGHT 1 + +int8_t player_left = 20; +int8_t player_right = 20; +char life_buffer[2]; +uint8_t selected_player = 0; + + +void set_left_font_bkg_data() { + if (player_left) { + digits[0] = player_left / 10; + digits[1] = player_left % 10; + } else { + digits[0] = 10; + digits[1] = 11; + } + + 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]]; + } +} + +void set_right_font_bkg_data() { + if (player_right) { + digits[2] = player_right / 10; + digits[3] = player_right % 10; + } else { + digits[2] = 10; + digits[3] = 11; + } + + 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]]); + loaded_font_maps[i] = font_maps[digits[i]]; + } +} + +void clear_screen() { + fill_bkg_rect(0,0,20,18,0xFF); +} + +void print_at(uint8_t x, uint8_t y, char* str) { + set_bkg_based_tiles(x, y, strlen(str), 1, str, 0x80 - 32); +} + +void draw_text() { + print_at(1,1, "Magic Life Counter"); + print_at(1,16," L/R A/B"); +} + +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); + } +} + +void draw_border() { + if (selected_player == PLAYER_LEFT) { + set_bkg_based_tiles(0, 5, 10, 8, border2_map, (5 * MAX_TILE_COUNT)); + } else { + set_bkg_based_tiles(10, 5, 10, 8, border2_map, (5 * MAX_TILE_COUNT)); + } +} + +void draw_left() { + set_left_font_bkg_data(); + draw_life_at(player_left, 0, 1, 6); +} + +void draw_right() { + set_right_font_bkg_data(); + draw_life_at(player_right, 2, 11, 6); +} + +void update_and_draw() { + if (!KEY_TICKED(J_A | J_B | J_LEFT | J_RIGHT)) return; + clear_screen(); + + // 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 (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_border(); + draw_left(); + draw_right(); +} + +void main(void) { + if (_cpu == CGB_TYPE) set_default_palette(); + + SPRITES_8x8; + SHOW_BKG; + BGP_REG = 0b00011011; + + set_bkg_data(5 * MAX_TILE_COUNT, border2_TILE_COUNT, border2_tiles); + set_bkg_data(0x81, watchface_TILE_COUNT, watchface_tiles); + + clear_screen(); + + draw_text(); + draw_border(); + draw_left(); + draw_right(); + + while (1) { + UPDATE_KEYS(); + update_and_draw(); + wait_vbl_done(); + } +} \ No newline at end of file