From 8881d607cbe9515818048d832b181ffbcf4301aa Mon Sep 17 00:00:00 2001 From: Evan Date: Sun, 21 Jan 2024 21:08:06 -0500 Subject: [PATCH] Vertical mode, die roller --- Makefile | 1 + assets/font0.png | Bin 241 -> 1174 bytes assets/font0_v.c | 107 +++++++++++++ assets/font0_v.h | 27 ++++ assets/font0_v.png | Bin 0 -> 1148 bytes assets/font10_v.c | 87 +++++++++++ assets/font10_v.h | 27 ++++ assets/font10_v.png | Bin 0 -> 863 bytes assets/font11_v.c | 87 +++++++++++ assets/font11_v.h | 27 ++++ assets/font11_v.png | Bin 0 -> 787 bytes assets/font1_v.c | 63 ++++++++ assets/font1_v.h | 27 ++++ assets/font1_v.png | Bin 0 -> 702 bytes assets/font2.png | Bin 199 -> 1118 bytes assets/font2_v.c | 91 +++++++++++ assets/font2_v.h | 27 ++++ assets/font2_v.png | Bin 0 -> 1114 bytes assets/font3_v.c | 83 ++++++++++ assets/font3_v.h | 27 ++++ assets/font3_v.png | Bin 0 -> 853 bytes assets/font4_v.c | 87 +++++++++++ assets/font4_v.h | 27 ++++ assets/font4_v.png | Bin 0 -> 842 bytes assets/font5_v.c | 111 +++++++++++++ assets/font5_v.h | 27 ++++ assets/font5_v.png | Bin 0 -> 871 bytes assets/font6_v.c | 107 +++++++++++++ assets/font6_v.h | 27 ++++ assets/font6_v.png | Bin 0 -> 932 bytes assets/font7_v.c | 79 ++++++++++ assets/font7_v.h | 27 ++++ assets/font7_v.png | Bin 0 -> 865 bytes assets/font8_v.c | 99 ++++++++++++ assets/font8_v.h | 27 ++++ assets/font8_v.png | Bin 0 -> 905 bytes assets/font9_v.c | 103 ++++++++++++ assets/font9_v.h | 27 ++++ assets/font9_v.png | Bin 0 -> 946 bytes assets/font_alt0_v.c | 102 ++++++++++++ assets/font_alt0_v.h | 27 ++++ assets/font_alt0_v.png | Bin 0 -> 230 bytes assets/font_alt10_v.c | 82 ++++++++++ assets/font_alt10_v.h | 27 ++++ assets/font_alt10_v.png | Bin 0 -> 210 bytes assets/font_alt11_v.c | 82 ++++++++++ assets/font_alt11_v.h | 27 ++++ assets/font_alt11_v.png | Bin 0 -> 194 bytes assets/font_alt1_v.c | 58 +++++++ assets/font_alt1_v.h | 27 ++++ assets/font_alt1_v.png | Bin 0 -> 157 bytes assets/font_alt2_v.c | 86 ++++++++++ assets/font_alt2_v.h | 27 ++++ assets/font_alt2_v.png | Bin 0 -> 234 bytes assets/font_alt3_v.c | 78 ++++++++++ assets/font_alt3_v.h | 27 ++++ assets/font_alt3_v.png | Bin 0 -> 209 bytes assets/font_alt4_v.c | 82 ++++++++++ assets/font_alt4_v.h | 27 ++++ assets/font_alt4_v.png | Bin 0 -> 209 bytes assets/font_alt5_v.c | 107 +++++++++++++ assets/font_alt5_v.h | 27 ++++ assets/font_alt5_v.png | Bin 0 -> 223 bytes assets/font_alt6_v.c | 102 ++++++++++++ assets/font_alt6_v.h | 27 ++++ assets/font_alt6_v.png | Bin 0 -> 233 bytes assets/font_alt7_v.c | 74 +++++++++ assets/font_alt7_v.h | 27 ++++ assets/font_alt7_v.png | Bin 0 -> 204 bytes assets/font_alt8_v.c | 94 +++++++++++ assets/font_alt8_v.h | 27 ++++ assets/font_alt8_v.png | Bin 0 -> 218 bytes assets/font_alt9_v.c | 98 ++++++++++++ assets/font_alt9_v.h | 27 ++++ assets/font_alt9_v.png | Bin 0 -> 233 bytes rom_size.py | 11 ++ src/main.c | 337 +++++++++++++++++++++++++++++++++------- 77 files changed, 3092 insertions(+), 54 deletions(-) create mode 100644 assets/font0_v.c create mode 100644 assets/font0_v.h create mode 100644 assets/font0_v.png create mode 100644 assets/font10_v.c create mode 100644 assets/font10_v.h create mode 100644 assets/font10_v.png create mode 100644 assets/font11_v.c create mode 100644 assets/font11_v.h create mode 100644 assets/font11_v.png create mode 100644 assets/font1_v.c create mode 100644 assets/font1_v.h create mode 100644 assets/font1_v.png create mode 100644 assets/font2_v.c create mode 100644 assets/font2_v.h create mode 100644 assets/font2_v.png create mode 100644 assets/font3_v.c create mode 100644 assets/font3_v.h create mode 100644 assets/font3_v.png create mode 100644 assets/font4_v.c create mode 100644 assets/font4_v.h create mode 100644 assets/font4_v.png create mode 100644 assets/font5_v.c create mode 100644 assets/font5_v.h create mode 100644 assets/font5_v.png create mode 100644 assets/font6_v.c create mode 100644 assets/font6_v.h create mode 100644 assets/font6_v.png create mode 100644 assets/font7_v.c create mode 100644 assets/font7_v.h create mode 100644 assets/font7_v.png create mode 100644 assets/font8_v.c create mode 100644 assets/font8_v.h create mode 100644 assets/font8_v.png create mode 100644 assets/font9_v.c create mode 100644 assets/font9_v.h create mode 100644 assets/font9_v.png create mode 100644 assets/font_alt0_v.c create mode 100644 assets/font_alt0_v.h create mode 100644 assets/font_alt0_v.png create mode 100644 assets/font_alt10_v.c create mode 100644 assets/font_alt10_v.h create mode 100644 assets/font_alt10_v.png create mode 100644 assets/font_alt11_v.c create mode 100644 assets/font_alt11_v.h create mode 100644 assets/font_alt11_v.png create mode 100644 assets/font_alt1_v.c create mode 100644 assets/font_alt1_v.h create mode 100644 assets/font_alt1_v.png create mode 100644 assets/font_alt2_v.c create mode 100644 assets/font_alt2_v.h create mode 100644 assets/font_alt2_v.png create mode 100644 assets/font_alt3_v.c create mode 100644 assets/font_alt3_v.h create mode 100644 assets/font_alt3_v.png create mode 100644 assets/font_alt4_v.c create mode 100644 assets/font_alt4_v.h create mode 100644 assets/font_alt4_v.png create mode 100644 assets/font_alt5_v.c create mode 100644 assets/font_alt5_v.h create mode 100644 assets/font_alt5_v.png create mode 100644 assets/font_alt6_v.c create mode 100644 assets/font_alt6_v.h create mode 100644 assets/font_alt6_v.png create mode 100644 assets/font_alt7_v.c create mode 100644 assets/font_alt7_v.h create mode 100644 assets/font_alt7_v.png create mode 100644 assets/font_alt8_v.c create mode 100644 assets/font_alt8_v.h create mode 100644 assets/font_alt8_v.png create mode 100644 assets/font_alt9_v.c create mode 100644 assets/font_alt9_v.h create mode 100644 assets/font_alt9_v.png create mode 100644 rom_size.py diff --git a/Makefile b/Makefile index c96d197..bafc225 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,7 @@ compile.bat: Makefile $(BINS): $(CSOURCES) $(ASMSOURCES) $(LCC) -Wm-yn"MAGICLIFE" -Wl-yt0x1B -Wl-ya1 -D_ram_func=0xD000 -o $@ $(CSOURCES) assets/*.c $(ASMSOURCES) + python3 rom_size.py $(BINS) clean: rm -f *.o *.lst *.map *.gb *.ihx *.sym *.cdb *.adb *.asm diff --git a/assets/font0.png b/assets/font0.png index 96fcf398583b52c7dbbf109a615614d329e98aad..efbc61dcbdcec035c96755c77c6e5179539dd6f6 100644 GIT binary patch literal 1174 zcmeAS@N?(olHy`uVBq!ia0vp^3P5bY!3HD?)>PyJDVB6cUq=Rpjs4tz5?O(Kg=CK) zUj~LMH3o);76yi2K%s^g3=E|P3=FRl7#OT(FffQ0%-I!a1C$6zjqptK^<~fkvN;%- z7=;*^fhs-M4}6Vlv1Ki71Ki z^|4CM&(%vz$xlkvtH>jfNYSkzLEl1NlCV? zQiN}Sf^&XRs)CuGfu4bq9hZWFf=y9MnpKdC8&o@xXRDM^Qc_^0uU}qXu2*iXmtT~w zZ)j<0sc&GUZ)BtkRH0j3nOBlnp_^B%3^4>|j!SBBa#3bMNoIbY0?6FNr2NtnTO}os zMQ{LdXKF@SFQHXy^S0x~O7b0S?b zb5rw*fljkCHnIWRf+2x$Cq$!jeolT-a6w{ns+}QJ3z87JYOpmC2y09%kgY+IK+*_u zwUvKSW-2g1LBR&H2SW_1-bNo3rbuB7i9oO@Fb3_oZ1mx&!H#SHjc#BXX6*EIaSVyz zd^_!S-eChC=go=#|DT>6e1z5YwUavEuMJ<8PV}AVp2b~qd*1cUjsN#Gu4m=`QEHPC zA9=&6D&YOgt&{&-z1sC6PTW+r?d`FM<&1BQSUvUm(|Km|zAs2TS02vtUP8`eoosu` z*=dK*``zcftMmQC3kL@MIn{ypoqx`)-u6QI#F?_m2Q@5`8y5C41ng)}by#zBSIswu zO$Pa&j96Hjx3e?+`o1c?DSgY~@&pBzS(3?-(YXwtrrXX^v}a6E+bQhuOG4nlnqvv~ zBL2jDa7)OH(&sjRaMwLuLN0U3=gkZ`a*R`FN3tGpD2iotnS7FQ>ISBcUzJ;9+-nd2 zjBGfV@#w&TxSx_zi#ZvTL(K|ae`jEv=96+vn2Y7alhxY{cvdo{6x@vEJjcMSxMOFXj>B6WLqwC2YLyT>4V1vnvwry#Ko4*pDUCm0Ap! zEc#Uc|NU~i;HqFr$ABphtLLj&F{L>G1CS%wO(A{Hfp3*HW*-*v{$aeuujV1+YY#30 NJYD@<);T3K0RZ&-hZq0= delta 224 zcmbQn`H^vgWIZzj1A}`}M=X$HEDmyaVpw-h<|UBB7T^=&3Z#KxY5LCdK#Hj($S;`T zfAmD9tw3J4r;B5VMep59-h2lXI9LLn{hOZWQ-6TR>sILLQx@w@R;2CM=~=Z%S?|b= zW3j8}u!uE$Ryp@)mU8Ff#`#kkcFHnsY|PlW{&J-F%EdEwF@9ibsXwuMrNf<+2EK}2 zF8n*Bvl$JGY&sa8D9_!RaNzunG=)5ljZCL5t26n?DcWfAp9?>?`GJkl%;?fw`4zmg WpD>=^%Bai-a;>MUpUXO@geCysj#i8S diff --git a/assets/font0_v.c b/assets/font0_v.c new file mode 100644 index 0000000..2e02f56 --- /dev/null +++ b/assets/font0_v.c @@ -0,0 +1,107 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font0_v) + +const palette_color_t font0_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font0_v_tiles[336] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x0f,0x00, + 0x1f,0x00,0x7f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x3f,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0xf0,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0xe0,0x00, + 0xf8,0x00,0xfc,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xfc,0x00,0xf8,0x00, + 0xf0,0x00,0xf0,0x00, + 0xff,0x00,0xf0,0x00, + 0x80,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xe0,0x00,0xf8,0x00, + 0x7e,0x00,0x1f,0x00, + 0x07,0x00,0x03,0x00, + 0x03,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xe0,0x00,0xe0,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf8,0x00,0x78,0x00, + 0x9e,0x00,0xef,0x00, + 0xf3,0x00,0x7c,0x00, + 0x03,0x00,0x03,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0xf8,0x00,0xf8,0x00, + 0xe0,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x03,0x00, + 0x01,0x00,0x03,0x00, + 0x03,0x00,0x07,0x00, + 0x0f,0x00,0x3f,0x00, + 0xff,0x00,0xff,0x00, + 0xe0,0x00,0xe0,0x00, + 0xe0,0x00,0xe0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x80,0x00,0x80,0x00, + 0x3f,0x00,0x1f,0x00, + 0x07,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x7f,0x00,0x07,0x00, + 0x00,0x00,0x00,0x00, + 0x3f,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xfe,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xfe,0x00, + 0xfc,0x00,0xf0,0x00, + 0xc0,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font0_v_map[24] = { + 0x00,0x01,0x02,0x03,0x04,0x00, + 0x05,0x06,0x07,0x08,0x09,0x0a, + 0x0b,0x0c,0x0d,0x0e,0x0f,0x10, + 0x00,0x11,0x12,0x13,0x14,0x00, +}; diff --git a/assets/font0_v.h b/assets/font0_v.h new file mode 100644 index 0000000..a1362a7 --- /dev/null +++ b/assets/font0_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font0_v_H +#define METASPRITE_font0_v_H + +#include +#include +#include + +#define font0_v_TILE_ORIGIN 0 +#define font0_v_TILE_W 8 +#define font0_v_TILE_H 8 +#define font0_v_WIDTH 48 +#define font0_v_HEIGHT 32 +#define font0_v_TILE_COUNT 21 +#define font0_v_PALETTE_COUNT 1 +#define font0_v_COLORS_PER_PALETTE 4 +#define font0_v_TOTAL_COLORS 4 +#define font0_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font0_v) + +extern const palette_color_t font0_v_palettes[4]; +extern const uint8_t font0_v_tiles[336]; + +extern const unsigned char font0_v_map[24]; + +#endif diff --git a/assets/font0_v.png b/assets/font0_v.png new file mode 100644 index 0000000000000000000000000000000000000000..fd55344fcf9bf2bc498208f1a319c00e8c394736 GIT binary patch literal 1148 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3HEluKbn(QY`6?zK#qG8~eHcB(j1elRbib z85pY67#JE_7#My5g&JNkFq8r{zDi(Vu$sZZAYL$MSD+10A|N%wGtJkRK?}&{U|?bt zVqgZc7=e(XJ(Gb2%w}K!ngj&Q3m6fy3z*=t1`C+sYz2_Qm0VXRFfcF~WQIhPMELqx zCFkerC8p#jrRr7W7Jw8m*i={nnYpPYi3%0DIeEoa6}C!X6;?ntNLXJ<0j#7X+g2&U zH$cHTzbI9~OwT~iK*^3vK|#T$C?(A*$i)q+9mum)$|xx*u+rBrFE7_CH`dE9O4m2E zw6xSWFw!?N(gmu}Ew0QfNvzP#D^`XW0yD=YwK%ybv!En1KTiQm7@(kF1KEQi232pP4+>MHFor}RSQHq8c3d|4@YG<(wf{ypFby;2d%8G=L~y|_)T@9)`4#^Dnb2^tJX=+*wuJjz0M|2 z>oLt;mf5SxFZzM&a@c|`^K}xI|1=bN+b#QN%EuB8wF7H@O7;p!^KH>S$(CSoe74;8 zS<_BGHxquQJny2)=IM?;b(=rBe&+CK{c*4)@#`V+7g-akdCk5*cg_kD58-qW zyy1R;U;b0|uPQTswkWaBQpmdLZLoEZ`39dOA@LVJFzGCqzv#g2BF{w(x1twx%wE;@ z)^zQ=Szl)9%rrUs$R>Ba`d5SB%YKI)c=Df1>CD3(!z+bx8@+f7Rz+nAc5L(7WT&59 zYxC%(@x{d-`y@i0b^BIqn||cLg1*fS7u`QpFa#gY;V|=UIm)%_df?+4)1$|(7)duR zkk@sbcKDEX(DF&A-<$cH)VHtVZ0*u&{db7b`I)ezM*fuvf{Uh?vv^i|@#gadeF|c- nbi9ys|BPPkj~&^>bP0l+XkK$l{38 literal 0 HcmV?d00001 diff --git a/assets/font10_v.c b/assets/font10_v.c new file mode 100644 index 0000000..440c471 --- /dev/null +++ b/assets/font10_v.c @@ -0,0 +1,87 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font10_v) + +const palette_color_t font10_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font10_v_tiles[256] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x03,0x00,0x0f,0x00, + 0x0f,0x00,0x0f,0x00, + 0x03,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0x80,0x00,0x80,0x00, + 0x80,0x00,0xe0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x70,0x00,0x7c,0x00, + 0x7c,0x00,0xfc,0x00, + 0x0f,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xe0,0x00,0x8f,0x00, + 0x1e,0x00,0x1e,0x00, + 0x7c,0x00,0x7c,0x00, + 0x7c,0x00,0x7f,0x00, + 0x00,0x00,0xec,0x00, + 0x7c,0x00,0x7c,0x00, + 0x1f,0x00,0x7e,0x00, + 0x7e,0x00,0xef,0x00, + 0xfc,0x00,0x60,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x0f,0x00, + 0x7f,0x00,0x7c,0x00, + 0x7c,0x00,0x7c,0x00, + 0x1e,0x00,0x0e,0x00, + 0x8f,0x00,0xe0,0x00, + 0xef,0x00,0x7e,0x00, + 0x1f,0x00,0x1f,0x00, + 0x7c,0x00,0x6c,0x00, + 0xec,0x00,0x00,0x00, + 0x80,0x00,0x00,0x00, + 0x80,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x60,0x00,0xfc,0x00, + 0x0f,0x00,0x0f,0x00, + 0x03,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xe0,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xfc,0x00,0x7c,0x00, + 0x70,0x00,0x70,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font10_v_map[24] = { + 0x00,0x01,0x02,0x03,0x04,0x00, + 0x00,0x05,0x06,0x07,0x08,0x00, + 0x00,0x09,0x0a,0x0b,0x0c,0x00, + 0x00,0x0d,0x0e,0x00,0x0f,0x00, +}; diff --git a/assets/font10_v.h b/assets/font10_v.h new file mode 100644 index 0000000..d68c69d --- /dev/null +++ b/assets/font10_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font10_v_H +#define METASPRITE_font10_v_H + +#include +#include +#include + +#define font10_v_TILE_ORIGIN 0 +#define font10_v_TILE_W 8 +#define font10_v_TILE_H 8 +#define font10_v_WIDTH 48 +#define font10_v_HEIGHT 32 +#define font10_v_TILE_COUNT 16 +#define font10_v_PALETTE_COUNT 1 +#define font10_v_COLORS_PER_PALETTE 4 +#define font10_v_TOTAL_COLORS 4 +#define font10_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font10_v) + +extern const palette_color_t font10_v_palettes[4]; +extern const uint8_t font10_v_tiles[256]; + +extern const unsigned char font10_v_map[24]; + +#endif diff --git a/assets/font10_v.png b/assets/font10_v.png new file mode 100644 index 0000000000000000000000000000000000000000..224bb9906f3cd194badf76cf18ce62b1d6131d81 GIT binary patch literal 863 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3HEluKbn(QY`6?zK#qG8~eHcB(j1elRbib z85pY67#JE_7#My5g&JNkFq8r{zDi(Vu$sZZAYL$MSD+10A|N%wGtJkRK?}&{U|?bt zVqgZc7=e(XJ(Gb2%w}K!ngj&Q3m6fy3z*=t1`C+sYz2_Qm0VXR01b)E42dX-@b$4u z&d=3LOvz75)vL%Y04ZRwsjvbvb5lza6)JLb@`|l0Y?Z(&tblBgu)dN4SV>8?tx|+< zfP!;=QL2KOo`If$k{y?Vf`Uy^N}5%WiyKrskY}ruQBqQ1rLSLJUanVete0Puu5V~* zX{m2uq;F)T3sj+7T$xvrSfQI&tPC*(W{yj0adJ^+K}lwQo&w0+#H9Sv5?duDkVS9+ zac4mh4$+(B?z(CgYba4!c;CwsvA>UyIj+X1G@Bg2=ow4VQQ-EOR zwA3&CVh<1S&yw5zdfxI$c2}xTy|#6I+O1UDsDH>l`288x^FR9fM1-zYv2YY^a`<7w z@=H(SE3e5sC*CK^I;J|Cyqog#C*O`|K7x0Nf0ILZJN~c-d^t5M&SKJa4pSl9Lkz81__)>7p5#(RE6RKX>H?DK9a|JfyJtZS)n(^fLAUgXa(azL`@S z`}?lEV0`Kl_LU5vlRMBP+QiG39meT}tcTK9~?*%@~*u2LFv!a)z4*}Q$iB}@~$3~ literal 0 HcmV?d00001 diff --git a/assets/font11_v.c b/assets/font11_v.c new file mode 100644 index 0000000..dfc69db --- /dev/null +++ b/assets/font11_v.c @@ -0,0 +1,87 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font11_v) + +const palette_color_t font11_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font11_v_tiles[256] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x0f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xe0,0x00,0xf0,0x00, + 0x0f,0x00,0x0f,0x00, + 0x1f,0x00,0x1f,0x00, + 0x1f,0x00,0x3f,0x00, + 0x3f,0x00,0x3f,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x3f,0x00,0x3f,0x00, + 0xf0,0x00,0xf8,0x00, + 0xf8,0x00,0xf8,0x00, + 0xf8,0x00,0xfc,0x00, + 0xfc,0x00,0xfc,0x00, + 0x3f,0x00,0x3f,0x00, + 0x00,0x00,0x0c,0x00, + 0x0c,0x00,0x0c,0x00, + 0x0c,0x00,0x0c,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x01,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0xfc,0x00,0xfc,0x00, + 0x00,0x00,0x30,0x00, + 0x30,0x00,0x30,0x00, + 0x30,0x00,0x30,0x00, + 0x0f,0x00,0x0f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xe3,0x00,0xc7,0x00, + 0x0f,0x00,0x1f,0x00, + 0x3f,0x00,0x3f,0x00, + 0x03,0x00,0x03,0x00, + 0xc7,0x00,0xe3,0x00, + 0xf0,0x00,0xf8,0x00, + 0xfc,0x00,0xfc,0x00, + 0xc0,0x00,0xc0,0x00, + 0xf0,0x00,0xf0,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font11_v_map[24] = { + 0x00,0x01,0x02,0x02,0x03,0x00, + 0x00,0x04,0x05,0x06,0x07,0x00, + 0x00,0x08,0x09,0x0a,0x0b,0x00, + 0x00,0x0c,0x0d,0x0e,0x0f,0x00, +}; diff --git a/assets/font11_v.h b/assets/font11_v.h new file mode 100644 index 0000000..007dcb7 --- /dev/null +++ b/assets/font11_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font11_v_H +#define METASPRITE_font11_v_H + +#include +#include +#include + +#define font11_v_TILE_ORIGIN 0 +#define font11_v_TILE_W 8 +#define font11_v_TILE_H 8 +#define font11_v_WIDTH 48 +#define font11_v_HEIGHT 32 +#define font11_v_TILE_COUNT 16 +#define font11_v_PALETTE_COUNT 1 +#define font11_v_COLORS_PER_PALETTE 4 +#define font11_v_TOTAL_COLORS 4 +#define font11_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font11_v) + +extern const palette_color_t font11_v_palettes[4]; +extern const uint8_t font11_v_tiles[256]; + +extern const unsigned char font11_v_map[24]; + +#endif diff --git a/assets/font11_v.png b/assets/font11_v.png new file mode 100644 index 0000000000000000000000000000000000000000..c6cb972404564a2afa20380f1a9d35f74a90b0ea GIT binary patch literal 787 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3HEluKbn(QY`6?zK#qG8~eHcB(j1elRbib z85pY67#JE_7#My5g&JNkFq8r{zDi(Vu$sZZAYL$MSD+10A|N%wGtJkRK?}&{U|?bt zVqgZc7=e(XJ(Gb2%w}K!ngj&Q3m6fy3z*=t1`C+sYz2_Qm0VXR01b)E42dX-@b$4u z&d=3LOvz75)vL%Y04ZRwsjvbvb5lza6)JLb@`|l0Y?Z(&tblBgu)dN4SV>8?tx|+< zfP!;=QL2KOo`If$k{y?Vf`Uy^N}5%WiyKrskY}ruQBqQ1rLSLJUanVete0Puu5V~* zX{m2uq;F)T3sj+7T$xvrSfQI&tPC*(W{yj0adJ^+K}lwQo&w0+#H9Sv5?duDkVS9+ zac4mh4$+(B?z>vJ_>Eaj?!TEOTZLY%(94?nH{r~^ejQg&Uj$&bo ziRhWrY>%Jz>`J-)>m^?a`!444vIh@!{*@hzZM|qya==f3)&6Lp&w0tvuYcSbue3xm zhJ5N-xrxbW#tNyYtOn+G)wMo3lEM-SY7$xH`_4%+*~C1XG5zM{_Y%9Ro~l21pZ)N} zMj^rMho_?JTB8o!4OgsUTDLcC)}x=!^I{XuZ2vX4);aBq^Y4ediKmHYzZMBv{fEV_P+wHV TN5k|iD9w1f`njxgN@xNAexLb( literal 0 HcmV?d00001 diff --git a/assets/font1_v.c b/assets/font1_v.c new file mode 100644 index 0000000..ac495e9 --- /dev/null +++ b/assets/font1_v.c @@ -0,0 +1,63 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font1_v) + +const palette_color_t font1_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font1_v_tiles[160] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x40,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x03,0x00,0x03,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xe0,0x00,0xc0,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x03,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0x00,0x00 + }; + + +const unsigned char font1_v_map[24] = { + 0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x02,0x02,0x03,0x04, + 0x05,0x06,0x07,0x07,0x08,0x09, + 0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/assets/font1_v.h b/assets/font1_v.h new file mode 100644 index 0000000..18b3e36 --- /dev/null +++ b/assets/font1_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font1_v_H +#define METASPRITE_font1_v_H + +#include +#include +#include + +#define font1_v_TILE_ORIGIN 0 +#define font1_v_TILE_W 8 +#define font1_v_TILE_H 8 +#define font1_v_WIDTH 48 +#define font1_v_HEIGHT 32 +#define font1_v_TILE_COUNT 10 +#define font1_v_PALETTE_COUNT 1 +#define font1_v_COLORS_PER_PALETTE 4 +#define font1_v_TOTAL_COLORS 4 +#define font1_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font1_v) + +extern const palette_color_t font1_v_palettes[4]; +extern const uint8_t font1_v_tiles[160]; + +extern const unsigned char font1_v_map[24]; + +#endif diff --git a/assets/font1_v.png b/assets/font1_v.png new file mode 100644 index 0000000000000000000000000000000000000000..a3fde3289fca4b579998396ebb45fa49e4ac6b4e GIT binary patch literal 702 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3HEluKbn(QY`6?zK#qG8~eHcB(j1elRbib z85pY67#JE_7#My5g&JNkFq8r{zDi(Vu$sZZAYL$MSD+10A|N%wGtJkRK?}&{U|?bt zVqgZc7=e(XJ(Gb2%w}K!ngj&Q3m6fy3z*=t1`C+sYz2_Qm0VXR01b)E42dX-@b$4u z&d=3LOvz75)vL%Y04ZRwsjvbvb5lza6)JLb@`|l0Y?Z(&tblBgu)dN4SV>8?tx|+< zfP!;=QL2KOo`If$k{y?Vf`Uy^N}5%WiyKrskY}ruQBqQ1rLSLJUanVete0Puu5V~* zX{m2uq;F)T3sj+7T$xvrSfQI&tPC*(W{yj0adJ^+K}lwQo&w0+#H9Sv5?duDkVS9+ zac4mh4$+(B?z>w_lba4!c;Cws9k?Vj04@>UH|M7Vz9Y0Li!4(uF z$6laC+_H&Dn2d@M6gQC~d)z4*}Q$iB}vE#;o literal 0 HcmV?d00001 diff --git a/assets/font2.png b/assets/font2.png index 92b665cb87a14aed3418d22f571c7eb9c115dedf..c6ee0b01d81004cfb64ec9b647787ea9a1158dd4 100644 GIT binary patch literal 1118 zcmeAS@N?(olHy`uVBq!ia0vp^3P5bY!3HD?)>PyJDVB6cUq=Rpjs4tz5?O(Kg=CK) zUj~LMH3o);76yi2K%s^g3=E|P3=FRl7#OT(FffQ0%-I!a1C$6zjqptK^<~fkvN;%- z7=;*^fhs-M4}6Vlv1Ki71Ki z^|4CM&(%vz$xlkvtH>jfNYSkzLEl1NlCV? zQiN}Sf^&XRs)CuGfu4bq9hZWFf=y9MnpKdC8&o@xXRDM^Qc_^0uU}qXu2*iXmtT~w zZ)j<0sc&GUZ)BtkRH0j3nOBlnp_^B%3^4>|j!SBBa#3bMNoIbY0?6FNr2NtnTO}os zMQ{LdXKF@SFQHXy^S0x~O7b0S?b zb5rw*fljkCHnIWRf+2x$Cq$!jeolT-a6w{ns+}QJ3z87JYOpmC2y09%kgY+IK+*_u zwUvKSW-2g1LBR&H2SW_1-bNo3rbuB7i9oO@Fb3_oZ1mx&!H#SHjc#BXW(@RnaSVyz zd>ee5?~npd=;QzYH{Ckhyz~oOa%9p6)?4$WL-V(Pjg*d%-ciB)eaZjR2UAT$Iy>G- zdLQ)gezg6T^1+zH3ClXODtMo>H8iTT^{Bo3sP$*@s&9vcpMBWEseW>|$irtvYCBh0 zvfEk(*W@zCs1*B4MmiZYMclfUruAngqn7gO4NPCwZ55CIWOF)qKMyzO+>*>(1>FLX z9ZWI%8YAtk-rCQku|9{IgmJ4TsUaKcbt=L&pb?fzRlk>M4CT`CyUn=_L z@Ot&V7a4-jxHJ10%X1oBox>#aSFo?H^~v7aDwZd&t9N|JKDUO${Cts=@!E-k)@SE1 zxiaq9S>teIYQ>c$kvpC?X?rEfGyih}z+l{U-vv%eb6k9f1A73!t zGSv27i^2QKLkFrQ&iMG+DLBS8%gl|NAh`EL{@Lqn|8kh~Q-c*OE2FN9g0i2dtDnm{ Hr-UW|Edp}P delta 182 zcmcb|ah!32WIZzj1A}`}M=X$HEDmyaVpw-h<|UBB7T^=&3Z#KxY5LCdK#Hj($S;`T zfAmD9tw3I)r;B5VMeoxo(R>U7JS?|=$KPUiyqR@WS@7?jnNzqr?6mt*6GA;Vu6p8Q zxQc^I$+3;6hUq-l+V%6VYag1&rmZa_|L_!>xc*O$YKtB3Wb@|<95|YIa$-l+!+a(i d>EuP +#include +#include + +BANKREF(font2_v) + +const palette_color_t font2_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font2_v_tiles[272] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x08,0x00, + 0x04,0x00,0x06,0x00, + 0x03,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x00,0x00,0x03,0x00, + 0x0f,0x00,0x3f,0x00, + 0x7f,0x00,0x7f,0x00, + 0xff,0x00,0xf8,0x00, + 0x00,0x00,0xfc,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x03,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0xc0,0x00, + 0xf0,0x00,0xf8,0x00, + 0xfc,0x00,0xfe,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0x80,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x00,0x00, + 0xf0,0x00,0xe0,0x00, + 0xc0,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0x3f,0x00,0x0f,0x00, + 0x07,0x00,0x03,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x87,0x00, + 0xcf,0x00,0xcf,0x00, + 0xee,0x00,0x7e,0x00, + 0x3e,0x00,0x1e,0x00, + 0x80,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xc0,0x00,0x70,0x00, + 0x3f,0x00,0x1f,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x80,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x06,0x00, + 0x03,0x00,0x03,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0xc0,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font2_v_map[24] = { + 0x00,0x00,0x00,0x00,0x01,0x02, + 0x00,0x03,0x04,0x05,0x06,0x07, + 0x08,0x09,0x00,0x0a,0x0b,0x0c, + 0x00,0x0d,0x0e,0x00,0x0f,0x10, +}; diff --git a/assets/font2_v.h b/assets/font2_v.h new file mode 100644 index 0000000..5b70291 --- /dev/null +++ b/assets/font2_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font2_v_H +#define METASPRITE_font2_v_H + +#include +#include +#include + +#define font2_v_TILE_ORIGIN 0 +#define font2_v_TILE_W 8 +#define font2_v_TILE_H 8 +#define font2_v_WIDTH 48 +#define font2_v_HEIGHT 32 +#define font2_v_TILE_COUNT 17 +#define font2_v_PALETTE_COUNT 1 +#define font2_v_COLORS_PER_PALETTE 4 +#define font2_v_TOTAL_COLORS 4 +#define font2_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font2_v) + +extern const palette_color_t font2_v_palettes[4]; +extern const uint8_t font2_v_tiles[272]; + +extern const unsigned char font2_v_map[24]; + +#endif diff --git a/assets/font2_v.png b/assets/font2_v.png new file mode 100644 index 0000000000000000000000000000000000000000..f99d71f92aa8a882a8c1b3e54bc34f504a57ad99 GIT binary patch literal 1114 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3HEluKbn(QY`6?zK#qG8~eHcB(j1elRbib z85pY67#JE_7#My5g&JNkFq8r{zDi(Vu$sZZAYL$MSD+10A|N%wGtJkRK?}&{U|?bt zVqgZc7=e(XJ(Gb2%w}K!ngj&Q3m6fy3z*=t1`C+sYz2_Qm0VXRFfcF~WQIhPMELqx zCFkerC8p#jrRr7W7Jw8m*i={nnYpPYi3%0DIeEoa6}C!X6;?ntNLXJ<0j#7X+g2&U zH$cHTzbI9~OwT~iK*^3vK|#T$C?(A*$i)q+9mum)$|xx*u+rBrFE7_CH`dE9O4m2E zw6xSWFw!?N(gmu}Ew0QfNvzP#D^`XW0yD=YwK%ybv!En1KTiQm7@(kF1KEQi232pP4+>MHFor}RSQHq8c3d|4@YG<(wf{ypFby;Mdb&7H ze4DS?fXDgfmjC~s<~ka2sfx3Ay-@phX1be+L(58}?;O72Q$= z8bp$ws5cyJ6HsQhaS&J=GBH`e@7Ze0N4*|%6MyXuh>X~psdBkAtwJU3z1I2(CQD`~ z8869OuXi?qvC5<%g+Y&l`+?M(9SQA@R}Jqwq&?Ytf1=+zo7hY>o`%#DEsKvazhr6@ zSnX-K`H->iQSU6>{btu!%`9GZzajfc>DqIy*)MOWO;x!c#<1ptO=5K7&kT;e;#))a z@7Tn!@Z_Uo`MZ8@WT?rmN#(xi7dPkDtlr;K88QOQGaYkgU1JYtULelfXqxKO%r}}TAlN8Q# zI0hOozZ=S+)L|@jnblG>be=z$at)OAJYD@<);T3K0RZ~{ BYvcd` literal 0 HcmV?d00001 diff --git a/assets/font3_v.c b/assets/font3_v.c new file mode 100644 index 0000000..f76daef --- /dev/null +++ b/assets/font3_v.c @@ -0,0 +1,83 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font3_v) + +const palette_color_t font3_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font3_v_tiles[240] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x3f,0x00, + 0x7f,0x00,0xff,0x00, + 0xe0,0x00,0xc0,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0xc0,0x00, + 0xf1,0x00,0xf9,0x00, + 0x7f,0x00,0x1f,0x00, + 0x0f,0x00,0x3f,0x00, + 0x7f,0x00,0xff,0x00, + 0xff,0x00,0xf8,0x00, + 0xe0,0x00,0xc0,0x00, + 0xe0,0x00,0xf8,0x00, + 0xfc,0x00,0xfe,0x00, + 0xff,0x00,0x1f,0x00, + 0x07,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x80,0x00,0xc0,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0x80,0x00,0xc0,0x00, + 0xe0,0x00,0x7c,0x00, + 0x0f,0x00,0x0f,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x13,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0x80,0x00, + 0x80,0x00,0x00,0x00, + 0x3e,0x00,0x0e,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x7e,0x00,0x3c,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font3_v_map[24] = { + 0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,0x05,0x06, + 0x07,0x08,0x09,0x0a,0x0b,0x0c, + 0x00,0x0d,0x00,0x00,0x0e,0x00, +}; diff --git a/assets/font3_v.h b/assets/font3_v.h new file mode 100644 index 0000000..b2736ef --- /dev/null +++ b/assets/font3_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font3_v_H +#define METASPRITE_font3_v_H + +#include +#include +#include + +#define font3_v_TILE_ORIGIN 0 +#define font3_v_TILE_W 8 +#define font3_v_TILE_H 8 +#define font3_v_WIDTH 48 +#define font3_v_HEIGHT 32 +#define font3_v_TILE_COUNT 15 +#define font3_v_PALETTE_COUNT 1 +#define font3_v_COLORS_PER_PALETTE 4 +#define font3_v_TOTAL_COLORS 4 +#define font3_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font3_v) + +extern const palette_color_t font3_v_palettes[4]; +extern const uint8_t font3_v_tiles[240]; + +extern const unsigned char font3_v_map[24]; + +#endif diff --git a/assets/font3_v.png b/assets/font3_v.png new file mode 100644 index 0000000000000000000000000000000000000000..afc5c263804147792f524e86a434cb5ddfbe831a GIT binary patch literal 853 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3HEluKbn(QY`6?zK#qG8~eHcB(j1elRbib z85pY67#JE_7#My5g&JNkFq8r{zDi(Vu$sZZAYL$MSD+10A|N%wGtJkRK?}&{U|?bt zVqgZc7=e(XJ(Gb2%w}K!ngj&Q3m6fy3z*=t1`C+sYz2_Qm0VXR01b)E42dX-@b$4u z&d=3LOvz75)vL%Y04ZRwsjvbvb5lza6)JLb@`|l0Y?Z(&tblBgu)dN4SV>8?tx|+< zfP!;=QL2KOo`If$k{y?Vf`Uy^N}5%WiyKrskY}ruQBqQ1rLSLJUanVete0Puu5V~* zX{m2uq;F)T3sj+7T$xvrSfQI&tPC*(W{yj0adJ^+K}lwQo&w0+#H9Sv5?duDkVS9+ zac4mh4$+(B?z(AJwba4!c;CwsfHs2uw9%uGP|LY~iu7u2-`Z}yp z;9+WR*8Clkx3+ygTe~DWM4fgR>nG literal 0 HcmV?d00001 diff --git a/assets/font4_v.c b/assets/font4_v.c new file mode 100644 index 0000000..7f5d57e --- /dev/null +++ b/assets/font4_v.c @@ -0,0 +1,87 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font4_v) + +const palette_color_t font4_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font4_v_tiles[256] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x7f,0x00, + 0x3f,0x00,0x1f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0xe0,0x00, + 0xc0,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x03,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0x3f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x0f,0x00,0x0f,0x00, + 0x0f,0x00,0x0f,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x01,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x1f,0x00,0x07,0x00, + 0x03,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xe0,0x00, + 0xf8,0x00,0xfc,0x00, + 0x7f,0x00,0x1f,0x00, + 0x0f,0x00,0x03,0x00, + 0xff,0x00,0x0f,0x00, + 0x0f,0x00,0x0f,0x00, + 0x0f,0x00,0x8f,0x00, + 0xcf,0x00,0xff,0x00, + 0xff,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0x7f,0x00, + 0x3f,0x00,0x1f,0x00, + 0x07,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font4_v_map[24] = { + 0x00,0x00,0x00,0x01,0x02,0x00, + 0x03,0x04,0x05,0x06,0x07,0x08, + 0x00,0x09,0x0a,0x0b,0x0c,0x0d, + 0x00,0x00,0x0e,0x0f,0x00,0x00, +}; diff --git a/assets/font4_v.h b/assets/font4_v.h new file mode 100644 index 0000000..0d81715 --- /dev/null +++ b/assets/font4_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font4_v_H +#define METASPRITE_font4_v_H + +#include +#include +#include + +#define font4_v_TILE_ORIGIN 0 +#define font4_v_TILE_W 8 +#define font4_v_TILE_H 8 +#define font4_v_WIDTH 48 +#define font4_v_HEIGHT 32 +#define font4_v_TILE_COUNT 16 +#define font4_v_PALETTE_COUNT 1 +#define font4_v_COLORS_PER_PALETTE 4 +#define font4_v_TOTAL_COLORS 4 +#define font4_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font4_v) + +extern const palette_color_t font4_v_palettes[4]; +extern const uint8_t font4_v_tiles[256]; + +extern const unsigned char font4_v_map[24]; + +#endif diff --git a/assets/font4_v.png b/assets/font4_v.png new file mode 100644 index 0000000000000000000000000000000000000000..2e511193fdbeb201fd1431e60b10fb8536197903 GIT binary patch literal 842 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3HEluKbn(QY`6?zK#qG8~eHcB(j1elRbib z85pY67#JE_7#My5g&JNkFq8r{zDi(Vu$sZZAYL$MSD+10A|N%wGtJkRK?}&{U|?bt zVqgZc7=e(XJ(Gb2%w}K!ngj&Q3m6fy3z*=t1`C+sYz2_Qm0VXR01b)E42dX-@b$4u z&d=3LOvz75)vL%Y04ZRwsjvbvb5lza6)JLb@`|l0Y?Z(&tblBgu)dN4SV>8?tx|+< zfP!;=QL2KOo`If$k{y?Vf`Uy^N}5%WiyKrskY}ruQBqQ1rLSLJUanVete0Puu5V~* zX{m2uq;F)T3sj+7T$xvrSfQI&tPC*(W{yj0adJ^+K}lwQo&w0+#H9Sv5?duDkVS9+ zac4mh4$+(B?z(5x9ba4!c;CwszpwM9j4wuXS{@XAAy5R5|1|ALVt6=NIsLyGiWL}UZohLvret=+z%hFhtCSkr5bl8 zODG-r@Ki?b+ZvW*7kEGNGD_)$+t@Z({FHL5{=e&NsLIPzo3f-6q$eeuHH&Ic`t(CU zxnXy_=CrNb8FzVwHOSovtX{YzH{#2N@K=U&rEfCGZb<7owk3awp4=q=%OBY^m}VVZ zBfuM?wTpA9Tg5uY#q9Hr{&$Sp-<#8*m4Ex#8V1uI6W=*iw(|SD+7ch`ZxFRQVo=R& zQo+%~m08;5nJ%r^HdT5-Gq+=q;+oA&BKK7lr*%A +#include +#include + +BANKREF(font5_v) + +const palette_color_t font5_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font5_v_tiles[352] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x03,0x00, + 0x0f,0x00,0x3e,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0x80,0x00, + 0x00,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x07,0x00, + 0x7f,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xf0,0x00,0xf8,0x00, + 0x00,0x00,0x07,0x00, + 0x07,0x00,0x07,0x00, + 0x03,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0xfe,0x00,0xfc,0x00, + 0xfc,0x00,0xf8,0x00, + 0xf8,0x00,0xf0,0x00, + 0xf0,0x00,0xf0,0x00, + 0x03,0x00,0x07,0x00, + 0x0f,0x00,0x1f,0x00, + 0x1f,0x00,0x3f,0x00, + 0x3e,0x00,0x7c,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xe0,0x00, + 0x80,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xfe,0x00,0xfe,0x00, + 0xff,0x00,0x3f,0x00, + 0x0f,0x00,0x07,0x00, + 0x03,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x80,0x00,0x80,0x00, + 0xc0,0x00,0xc0,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0xe0,0x00,0xe0,0x00, + 0xe0,0x00,0xe0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xf8,0x00,0xff,0x00, + 0x7c,0x00,0x78,0x00, + 0x78,0x00,0x78,0x00, + 0x70,0x00,0x70,0x00, + 0x70,0x00,0xf0,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x01,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x80,0x00,0x80,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf0,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x03,0x00,0x07,0x00, + 0xce,0x00,0xfc,0x00, + 0xf0,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font5_v_map[24] = { + 0x00,0x01,0x02,0x03,0x04,0x00, + 0x05,0x06,0x07,0x08,0x09,0x0a, + 0x0b,0x0c,0x0d,0x00,0x0e,0x0f, + 0x10,0x11,0x12,0x13,0x14,0x15, +}; diff --git a/assets/font5_v.h b/assets/font5_v.h new file mode 100644 index 0000000..a141731 --- /dev/null +++ b/assets/font5_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font5_v_H +#define METASPRITE_font5_v_H + +#include +#include +#include + +#define font5_v_TILE_ORIGIN 0 +#define font5_v_TILE_W 8 +#define font5_v_TILE_H 8 +#define font5_v_WIDTH 48 +#define font5_v_HEIGHT 32 +#define font5_v_TILE_COUNT 22 +#define font5_v_PALETTE_COUNT 1 +#define font5_v_COLORS_PER_PALETTE 4 +#define font5_v_TOTAL_COLORS 4 +#define font5_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font5_v) + +extern const palette_color_t font5_v_palettes[4]; +extern const uint8_t font5_v_tiles[352]; + +extern const unsigned char font5_v_map[24]; + +#endif diff --git a/assets/font5_v.png b/assets/font5_v.png new file mode 100644 index 0000000000000000000000000000000000000000..df1087d6ac41f4022d3441f70a90bb7ac9755e89 GIT binary patch literal 871 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3HEluKbn(QY`6?zK#qG8~eHcB(j1elRbib z85pY67#JE_7#My5g&JNkFq8r{zDi(Vu$sZZAYL$MSD+10A|N%wGtJkRK?}&{U|?bt zVqgZc7=e(XJ(Gb2%w}K!ngj&Q3m6fy3z*=t1`C+sYz2_Qm0VXR01b)E42dX-@b$4u z&d=3LOvz75)vL%Y04ZRwsjvbvb5lza6)JLb@`|l0Y?Z(&tblBgu)dN4SV>8?tx|+< zfP!;=QL2KOo`If$k{y?Vf`Uy^N}5%WiyKrskY}ruQBqQ1rLSLJUanVete0Puu5V~* zX{m2uq;F)T3sj+7T$xvrSfQI&tPC*(W{yj0adJ^+K}lwQo&w0+#H9Sv5?duDkVS9+ zac4mh4$+(B?z(6+iba4!c;Cvg_&DUhWGw0a<|EZ;J4`%HBcC0Ny zhSO7Wue-cdkks`T2VOXMv%m8%*vG#+kN1@BF~RE04->XE1lnY4%cvgvyynB%AG1XK*t|p7Wsh-)=NF%f3Vw5G4yOM9tf~7MUGFG|e`qX!`!&>i^{H2xc2AOGdm8o@ z?sT4~cG)|JNhH9uTh;Qj>m09hhko=$Fv@op9O&7=x2a}9Ol#=RXs(Erto)&A4XclA ze0D*UNl$YNi +#include +#include + +BANKREF(font6_v) + +const palette_color_t font6_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font6_v_tiles[336] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x01,0x00, + 0x07,0x00,0x0f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x7f,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0xf0,0x00, + 0xf8,0x00,0xfe,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x03,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x1f,0x00,0x1f,0x00, + 0x3f,0x00,0x7f,0x00, + 0x7e,0x00,0x7c,0x00, + 0x7c,0x00,0x78,0x00, + 0xff,0x00,0xf8,0x00, + 0xc0,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x0f,0x00,0x1f,0x00, + 0xff,0x00,0x0f,0x00, + 0x03,0x00,0x01,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x00,0x00,0x80,0x00, + 0x80,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xe0,0x00,0xe0,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xc0,0x00,0xe0,0x00, + 0xf0,0x00,0x78,0x00, + 0x7c,0x00,0x3f,0x00, + 0x1f,0x00,0x0f,0x00, + 0x78,0x00,0x38,0x00, + 0x38,0x00,0x1c,0x00, + 0x0c,0x00,0x07,0x00, + 0xc3,0x00,0xf0,0x00, + 0x1f,0x00,0x1f,0x00, + 0x0e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0x00,0x00, + 0x80,0x00,0x80,0x00, + 0x01,0x00,0x01,0x00, + 0x03,0x00,0x07,0x00, + 0x1f,0x00,0x3f,0x00, + 0xe0,0x00,0xe0,0x00, + 0xe0,0x00,0xe0,0x00, + 0xe0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x07,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xfe,0x00,0xff,0x00, + 0xff,0x00,0x3f,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0xfe,0x00,0xfc,0x00, + 0xf0,0x00,0xc0,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font6_v_map[24] = { + 0x00,0x00,0x01,0x02,0x03,0x00, + 0x04,0x05,0x06,0x07,0x08,0x09, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x0f, + 0x00,0x10,0x11,0x12,0x13,0x14, +}; diff --git a/assets/font6_v.h b/assets/font6_v.h new file mode 100644 index 0000000..811ab29 --- /dev/null +++ b/assets/font6_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font6_v_H +#define METASPRITE_font6_v_H + +#include +#include +#include + +#define font6_v_TILE_ORIGIN 0 +#define font6_v_TILE_W 8 +#define font6_v_TILE_H 8 +#define font6_v_WIDTH 48 +#define font6_v_HEIGHT 32 +#define font6_v_TILE_COUNT 21 +#define font6_v_PALETTE_COUNT 1 +#define font6_v_COLORS_PER_PALETTE 4 +#define font6_v_TOTAL_COLORS 4 +#define font6_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font6_v) + +extern const palette_color_t font6_v_palettes[4]; +extern const uint8_t font6_v_tiles[336]; + +extern const unsigned char font6_v_map[24]; + +#endif diff --git a/assets/font6_v.png b/assets/font6_v.png new file mode 100644 index 0000000000000000000000000000000000000000..1e204ffa1cf03175ab47407cdc9d4d1cd9267a4c GIT binary patch literal 932 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3HEluKbn(QY`6?zK#qG8~eHcB(j1elRbib z85pY67#JE_7#My5g&JNkFq8r{zDi(Vu$sZZAYL$MSD+10A|N%wGtJkRK?}&{U|?bt zVqgZc7=e(XJ(Gb2%w}K!ngj&Q3m6fy3z*=t1`C+sYz2_Qm0VXR01b)E42dX-@b$4u z&d=3LOvz75)vL%Y04ZRwsjvbvb5lza6)JLb@`|l0Y?Z(&tblBgu)dN4SV>8?tx|+< zfP!;=QL2KOo`If$k{y?Vf`Uy^N}5%WiyKrskY}ruQBqQ1rLSLJUanVete0Puu5V~* zX{m2uq;F)T3sj+7T$xvrSfQI&tPC*(W{yj0adJ^+K}lwQo&w0+#H9Sv5?duDkVS9+ zac4mh4$+(B?z(CIPba4!c;CwsLJMV}AkMre4-}e`BFIGLEu|=bD z&P|h>Ka^ih?CO8~bDsT&{r?XfpMC7VncZp2Y0|z5Q(_BVROF^+b>2MsCcMdb)11{h zDZ6g&mzwv{Y`&<$+70(5<;pUTZQ*cAUduP(r`E9$dtDPJ=T$v{(%IL$D=**6Y@Ewo zZ5I3~RQ{RQvFSy(E7X0>KlPuVyWzks!FxuV#1DLq^x$~c_rNLqY5%_NZJ(Gf3LLvx zW%x^2d)ltkHsZy-R91bja$n#X_q#;{{0@!mj!&9%=j?I8COqlW(Jz zLCVCVw<4VVV|J=vQ*n+vcCO%@Pg_Z=<*#Ww%4haEJT9&g|22J5!5l`0thKXN-#ZsO z%TQM=_MOa;XPcWI2{>=7o)ENc(h9>PeU4ExqaHm|m=GTSOg3`D%gF728|7DC*VJq~ RCe#H=#GbBxF6*2UngG~1Nyh*H literal 0 HcmV?d00001 diff --git a/assets/font7_v.c b/assets/font7_v.c new file mode 100644 index 0000000..30b1a9b --- /dev/null +++ b/assets/font7_v.c @@ -0,0 +1,79 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font7_v) + +const palette_color_t font7_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font7_v_tiles[224] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0xf0,0x00, + 0xfe,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xe1,0x00, + 0xe0,0x00,0xe0,0x00, + 0x00,0x00,0xc0,0x00, + 0xf8,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x3f,0x00,0x07,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xe0,0x00,0xfc,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0xf1,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x03,0x00, + 0x03,0x00,0x03,0x00, + 0xe0,0x00,0xf0,0x00, + 0xf0,0x00,0xf0,0x00, + 0xf8,0x00,0xf8,0x00, + 0xfc,0x00,0xfc,0x00, + 0xff,0x00,0x1f,0x00, + 0x03,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0x7f,0x00, + 0x0f,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x7e,0x00,0x1f,0x00, + 0x07,0x00,0x03,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0xc0,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font7_v_map[24] = { + 0x00,0x01,0x00,0x00,0x00,0x00, + 0x00,0x02,0x03,0x04,0x05,0x06, + 0x07,0x08,0x00,0x09,0x0a,0x0b, + 0x00,0x0c,0x0d,0x00,0x00,0x00, +}; diff --git a/assets/font7_v.h b/assets/font7_v.h new file mode 100644 index 0000000..5978467 --- /dev/null +++ b/assets/font7_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font7_v_H +#define METASPRITE_font7_v_H + +#include +#include +#include + +#define font7_v_TILE_ORIGIN 0 +#define font7_v_TILE_W 8 +#define font7_v_TILE_H 8 +#define font7_v_WIDTH 48 +#define font7_v_HEIGHT 32 +#define font7_v_TILE_COUNT 14 +#define font7_v_PALETTE_COUNT 1 +#define font7_v_COLORS_PER_PALETTE 4 +#define font7_v_TOTAL_COLORS 4 +#define font7_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font7_v) + +extern const palette_color_t font7_v_palettes[4]; +extern const uint8_t font7_v_tiles[224]; + +extern const unsigned char font7_v_map[24]; + +#endif diff --git a/assets/font7_v.png b/assets/font7_v.png new file mode 100644 index 0000000000000000000000000000000000000000..a9813376d5466600880ffe776e5ee0a3372bf432 GIT binary patch literal 865 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3HEluKbn(QY`6?zK#qG8~eHcB(j1elRbib z85pY67#JE_7#My5g&JNkFq8r{zDi(Vu$sZZAYL$MSD+10A|N%wGtJkRK?}&{U|?bt zVqgZc7=e(XJ(Gb2%w}K!ngj&Q3m6fy3z*=t1`C+sYz2_Qm0VXR01b)E42dX-@b$4u z&d=3LOvz75)vL%Y04ZRwsjvbvb5lza6)JLb@`|l0Y?Z(&tblBgu)dN4SV>8?tx|+< zfP!;=QL2KOo`If$k{y?Vf`Uy^N}5%WiyKrskY}ruQBqQ1rLSLJUanVete0Puu5V~* zX{m2uq;F)T3sj+7T$xvrSfQI&tPC*(W{yj0adJ^+K}lwQo&w0+#H9Sv5?duDkVS9+ zac4mh4$+(B?z(Cgaba4!c;CwqNaMK|J9%k;tf7kPDaW?XPb)`$# z%l=cH!P-5O&O}f9X|8Vogau!@ZPv?tP;1fV*05$O>v7=>7F)1+lmFijk(>n~4UHmV zU!BvAhUgw};F|vH!x{-!E`te=9BVJHIZ(|FWV!FP)^-rn_*(OPmT1$Y&^_nkC%3Px zPl?P?Fp*rT^6F&Zck|eM##x3ehXaFWugrfGkaLhT?tXPuYhvb<^kv(B3T)YQ;Mb|! z2Y=;lsjv=w+W6A?Q~ZiYzrW54 za9-VX`0)Xo%N3Z^!Uz*LEAex!VqbqEhK2amt uW1`&W(^FpTJrdQDT2)zGANSx4_Z|k>dkRWTTbEx0r9e+tKbLh*2~7a{sva=_ literal 0 HcmV?d00001 diff --git a/assets/font8_v.c b/assets/font8_v.c new file mode 100644 index 0000000..ff8d8ca --- /dev/null +++ b/assets/font8_v.c @@ -0,0 +1,99 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font8_v) + +const palette_color_t font8_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font8_v_tiles[304] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x03,0x00,0x3f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0xf0,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x1f,0x00, + 0x7f,0x00,0x7f,0x00, + 0xf0,0x00,0xe0,0x00, + 0xc7,0x00,0x8f,0x00, + 0x00,0x00,0xe1,0x00, + 0xf3,0x00,0xfb,0x00, + 0x3f,0x00,0x1f,0x00, + 0x8f,0x00,0xcf,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xf0,0x00, + 0xc0,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0xfc,0x00,0xfe,0x00, + 0xff,0x00,0x07,0x00, + 0x03,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x80,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x8f,0x00,0x8f,0x00, + 0x87,0x00,0xc0,0x00, + 0xe0,0x00,0xff,0x00, + 0x7f,0x00,0x3f,0x00, + 0xce,0x00,0xce,0x00, + 0x0f,0x00,0x1f,0x00, + 0x3f,0x00,0xff,0x00, + 0xf3,0x00,0xf1,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xc0,0x00,0xe0,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x01,0x00, + 0x03,0x00,0x07,0x00, + 0xff,0x00,0xfe,0x00, + 0xc0,0x00,0xc0,0x00, + 0xc0,0x00,0xc0,0x00, + 0x80,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xc0,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0x7f,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xfe,0x00,0xf8,0x00, + 0xe0,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font8_v_map[24] = { + 0x00,0x00,0x00,0x01,0x02,0x00, + 0x03,0x04,0x05,0x06,0x07,0x08, + 0x09,0x0a,0x0b,0x0c,0x0d,0x0e, + 0x00,0x0f,0x10,0x11,0x12,0x00, +}; diff --git a/assets/font8_v.h b/assets/font8_v.h new file mode 100644 index 0000000..561c31b --- /dev/null +++ b/assets/font8_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font8_v_H +#define METASPRITE_font8_v_H + +#include +#include +#include + +#define font8_v_TILE_ORIGIN 0 +#define font8_v_TILE_W 8 +#define font8_v_TILE_H 8 +#define font8_v_WIDTH 48 +#define font8_v_HEIGHT 32 +#define font8_v_TILE_COUNT 19 +#define font8_v_PALETTE_COUNT 1 +#define font8_v_COLORS_PER_PALETTE 4 +#define font8_v_TOTAL_COLORS 4 +#define font8_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font8_v) + +extern const palette_color_t font8_v_palettes[4]; +extern const uint8_t font8_v_tiles[304]; + +extern const unsigned char font8_v_map[24]; + +#endif diff --git a/assets/font8_v.png b/assets/font8_v.png new file mode 100644 index 0000000000000000000000000000000000000000..3877bdbf60ea7a45ef5e208e2b615940e9b51a9f GIT binary patch literal 905 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3HEluKbn(QY`6?zK#qG8~eHcB(j1elRbib z85pY67#JE_7#My5g&JNkFq8r{zDi(Vu$sZZAYL$MSD+10A|N%wGtJkRK?}&{U|?bt zVqgZc7=e(XJ(Gb2%w}K!ngj&Q3m6fy3z*=t1`C+sYz2_Qm0VXR01b)E42dX-@b$4u z&d=3LOvz75)vL%Y04ZRwsjvbvb5lza6)JLb@`|l0Y?Z(&tblBgu)dN4SV>8?tx|+< zfP!;=QL2KOo`If$k{y?Vf`Uy^N}5%WiyKrskY}ruQBqQ1rLSLJUanVete0Puu5V~* zX{m2uq;F)T3sj+7T$xvrSfQI&tPC*(W{yj0adJ^+K}lwQo&w0+#H9Sv5?duDkVS9+ zac4mh4$+(B?z(5Z6ba4!c;CwsTd)pxc9%t_Mzxk3JR~!qK>n~07 z`=nNy^D^pWrOxR;v-J()6ZRdLs$a0X;HPjI|8ohmL!UA_8+HA)g1vHbP17zukP)hLO|@)rRvi<`tK%7RbKICcdD!xWO=*LXw&+JuYRu!;{N_L|IW44 mbtf*j%x?e5^qKYFA13|9*Ho1n`#ys*8iS{+pUXO@geCwb1}=2~ literal 0 HcmV?d00001 diff --git a/assets/font9_v.c b/assets/font9_v.c new file mode 100644 index 0000000..7811e4b --- /dev/null +++ b/assets/font9_v.c @@ -0,0 +1,103 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font9_v) + +const palette_color_t font9_v_palettes[4] = { + RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t font9_v_tiles[320] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x0f,0x00, + 0x3f,0x00,0x7f,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x80,0x00,0xf8,0x00, + 0xfe,0x00,0xff,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x00,0x00,0x01,0x00, + 0x03,0x00,0x03,0x00, + 0x03,0x00,0x07,0x00, + 0x07,0x00,0x07,0x00, + 0xff,0x00,0xff,0x00, + 0xfc,0x00,0xf8,0x00, + 0xe0,0x00,0xc0,0x00, + 0x80,0x00,0x80,0x00, + 0xff,0x00,0x80,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x70,0x00, + 0xff,0x00,0x3f,0x00, + 0x87,0x00,0xc1,0x00, + 0x70,0x00,0x38,0x00, + 0x18,0x00,0x1c,0x00, + 0xe0,0x00,0xf0,0x00, + 0xf8,0x00,0xfc,0x00, + 0x7e,0x00,0x1f,0x00, + 0x0f,0x00,0x07,0x00, + 0x07,0x00,0x07,0x00, + 0x07,0x00,0x07,0x00, + 0x07,0x00,0x03,0x00, + 0x03,0x00,0x01,0x00, + 0x01,0x00,0x01,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x80,0x00, + 0x80,0x00,0xc0,0x00, + 0xf8,0x00,0xf8,0x00, + 0xf8,0x00,0xf0,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x07,0x00, + 0x1c,0x00,0x1e,0x00, + 0x1e,0x00,0x3e,0x00, + 0x3e,0x00,0x7e,0x00, + 0xfc,0x00,0xfc,0x00, + 0x03,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xc0,0x00,0xc0,0x00, + 0x60,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x01,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0xf0,0x00,0xff,0x00, + 0x7f,0x00,0x1f,0x00, + 0x0f,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x1f,0x00,0xff,0x00, + 0xff,0x00,0xff,0x00, + 0xff,0x00,0xfe,0x00, + 0x00,0x00,0x00,0x00, + 0xf8,0x00,0xf8,0x00, + 0xf0,0x00,0xc0,0x00, + 0x80,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font9_v_map[24] = { + 0x00,0x01,0x02,0x03,0x04,0x00, + 0x05,0x06,0x07,0x08,0x09,0x04, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x0f, + 0x10,0x11,0x12,0x13,0x00,0x00, +}; diff --git a/assets/font9_v.h b/assets/font9_v.h new file mode 100644 index 0000000..de7a8cc --- /dev/null +++ b/assets/font9_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font9_v_H +#define METASPRITE_font9_v_H + +#include +#include +#include + +#define font9_v_TILE_ORIGIN 0 +#define font9_v_TILE_W 8 +#define font9_v_TILE_H 8 +#define font9_v_WIDTH 48 +#define font9_v_HEIGHT 32 +#define font9_v_TILE_COUNT 20 +#define font9_v_PALETTE_COUNT 1 +#define font9_v_COLORS_PER_PALETTE 4 +#define font9_v_TOTAL_COLORS 4 +#define font9_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font9_v) + +extern const palette_color_t font9_v_palettes[4]; +extern const uint8_t font9_v_tiles[320]; + +extern const unsigned char font9_v_map[24]; + +#endif diff --git a/assets/font9_v.png b/assets/font9_v.png new file mode 100644 index 0000000000000000000000000000000000000000..c4e59f81b5b0844e314dce38018c4afd2c9c62d5 GIT binary patch literal 946 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3HEluKbn(QY`6?zK#qG8~eHcB(j1elRbib z85pY67#JE_7#My5g&JNkFq8r{zDi(Vu$sZZAYL$MSD+10A|N%wGtJkRK?}&{U|?bt zVqgZc7=e(XJ(Gb2%w}K!ngj&Q3m6fy3z*=t1`C+sYz2_Qm0VXR01b)E42dX-@b$4u z&d=3LOvz75)vL%Y04ZRwsjvbvb5lza6)JLb@`|l0Y?Z(&tblBgu)dN4SV>8?tx|+< zfP!;=QL2KOo`If$k{y?Vf`Uy^N}5%WiyKrskY}ruQBqQ1rLSLJUanVete0Puu5V~* zX{m2uq;F)T3sj+7T$xvrSfQI&tPC*(W{yj0adJ^+K}lwQo&w0+#H9Sv5?duDkVS9+ zac4mh4$+(B?z(B6?ba4!c;CwroJMXXokMriF@B2SRi5EJap5jv9 zC7Qv;)2aG#V$rt8JL=X+|9B_;BQoZ{|CRN>c9>)j+c$dO3Z0iXmP>0) zzIDJ=-tf(y)AFq@pVysS+}J3={QE@W<{Rbtjf}w&&hPk7e2K6K=Dhc2^ZI|BtrK2N zu@P-Ex_n~=w~11bhIx3s=Wgwdv)4J7b!LS9Qr~tUD`cKdNk+$`2Y0J>or#TCIPqxP zoq*+wbP~m1Cj8&&Abw2qit39)tGPogsy0Wxyv(4%bB}v+Q9bj-TZm&n?yTylnge##zoHGWsV^d`V_I$Z%6<*CM{xKkN=U$9|sY7%{=)@H6Sdp9KtW z?1>I`$kMppVj>c+^x9i1Fm^7~(l*+55182)7(8A5T-G@yGywo)xJJYP literal 0 HcmV?d00001 diff --git a/assets/font_alt0_v.c b/assets/font_alt0_v.c new file mode 100644 index 0000000..627b0b5 --- /dev/null +++ b/assets/font_alt0_v.c @@ -0,0 +1,102 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt0_v) + +const uint8_t font_alt0_v_tiles[336] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x03, + 0x00,0x0f,0x00,0x3f, + 0x00,0x7f,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x7f,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xfc, + 0x00,0x00,0x00,0x00, + 0x00,0xe0,0x00,0xfe, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0xe0, + 0x00,0xf8,0x00,0xfc, + 0x00,0x01,0x00,0x01, + 0x00,0x03,0x00,0x03, + 0x00,0x07,0x00,0x07, + 0x00,0x07,0x00,0x07, + 0x00,0xff,0x00,0xff, + 0x00,0xfc,0x00,0xf0, + 0x00,0xe0,0x00,0xc0, + 0x00,0xc0,0x00,0x80, + 0x00,0xc0,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x07, + 0x00,0x1f,0x00,0x1f, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0xc0,0x00,0xc0, + 0x00,0x3e,0x00,0xcf, + 0x00,0xf7,0x00,0x79, + 0x00,0x1e,0x00,0x1f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0x80, + 0x00,0x07,0x00,0x07, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0xc0, + 0x00,0xc0,0x00,0xe0, + 0x00,0xf8,0x00,0x7e, + 0x00,0x1f,0x00,0x07, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x01, + 0x00,0x0f,0x00,0xff, + 0x00,0x0f,0x00,0x0f, + 0x00,0x1f,0x00,0x3f, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x3f,0x00,0x1f, + 0x00,0x07,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x0f,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xfc,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xfe,0x00,0xf8, + 0x00,0xf0,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt0_v_map[24] = { + 0x00,0x01,0x02,0x03,0x04,0x00, + 0x05,0x06,0x07,0x08,0x09,0x0a, + 0x0b,0x0c,0x0d,0x0e,0x0f,0x10, + 0x00,0x11,0x12,0x13,0x14,0x00, +}; diff --git a/assets/font_alt0_v.h b/assets/font_alt0_v.h new file mode 100644 index 0000000..d653406 --- /dev/null +++ b/assets/font_alt0_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt0_v_H +#define METASPRITE_font_alt0_v_H + +#include +#include +#include + +#define font_alt0_v_TILE_ORIGIN 0 +#define font_alt0_v_TILE_W 8 +#define font_alt0_v_TILE_H 8 +#define font_alt0_v_WIDTH 48 +#define font_alt0_v_HEIGHT 32 +#define font_alt0_v_TILE_COUNT 21 +#define font_alt0_v_PALETTE_COUNT 0 +#define font_alt0_v_COLORS_PER_PALETTE 4 +#define font_alt0_v_TOTAL_COLORS 0 +#define font_alt0_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt0_v) + +extern const palette_color_t font_alt0_v_palettes[0]; +extern const uint8_t font_alt0_v_tiles[336]; + +extern const unsigned char font_alt0_v_map[24]; + +#endif diff --git a/assets/font_alt0_v.png b/assets/font_alt0_v.png new file mode 100644 index 0000000000000000000000000000000000000000..67101b96a33bf64367fb6642de9918677a26ff5e GIT binary patch literal 230 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3-pmxw!R!6k~CayA#8@b22Z19L@lr5LX}# z1pgTrY=7U?1+th+g8YIR{{MFgxTXl?)_A%&hFJ6-oph1wfC7i>(*OToI6CH3p4Uyx z**Eoh#tgyx?z00I_b+Lwc75dLC?}$H!r3m8B#(ROc-j|M2`VkR_1UZc znn|r^hR&Dbs=_QmiC6t)!MYq +#include +#include + +BANKREF(font_alt10_v) + +const uint8_t font_alt10_v_tiles[256] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x0e,0x00,0x0e, + 0x00,0x3e,0x00,0x3f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x01, + 0x00,0x01,0x00,0x07, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0xc0, + 0x00,0xf0,0x00,0xf0, + 0x00,0x3f,0x00,0x06, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x01, + 0x00,0x00,0x00,0x01, + 0x00,0x00,0x00,0x37, + 0x00,0x36,0x00,0x3e, + 0x00,0xf8,0x00,0xf8, + 0x00,0x7e,0x00,0xf7, + 0x00,0x07,0x00,0xf1, + 0x00,0x70,0x00,0x78, + 0x00,0x3e,0x00,0x3e, + 0x00,0x3e,0x00,0xfe, + 0x00,0xf0,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x06,0x00,0x3f, + 0x00,0xf7,0x00,0x7e, + 0x00,0x7e,0x00,0xf8, + 0x00,0x3e,0x00,0x3e, + 0x00,0x37,0x00,0x00, + 0x00,0xfe,0x00,0x3e, + 0x00,0x3e,0x00,0x3e, + 0x00,0x78,0x00,0x78, + 0x00,0xf1,0x00,0x07, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0xf0, + 0x00,0x3f,0x00,0x3e, + 0x00,0x3e,0x00,0x0e, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x07,0x00,0x01, + 0x00,0x01,0x00,0x01, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0xc0, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf0,0x00,0xc0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt10_v_map[24] = { + 0x00,0x01,0x00,0x02,0x03,0x00, + 0x00,0x04,0x05,0x06,0x07,0x00, + 0x00,0x08,0x09,0x0a,0x0b,0x00, + 0x00,0x0c,0x0d,0x0e,0x0f,0x00, +}; diff --git a/assets/font_alt10_v.h b/assets/font_alt10_v.h new file mode 100644 index 0000000..cbf9b8e --- /dev/null +++ b/assets/font_alt10_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt10_v_H +#define METASPRITE_font_alt10_v_H + +#include +#include +#include + +#define font_alt10_v_TILE_ORIGIN 0 +#define font_alt10_v_TILE_W 8 +#define font_alt10_v_TILE_H 8 +#define font_alt10_v_WIDTH 48 +#define font_alt10_v_HEIGHT 32 +#define font_alt10_v_TILE_COUNT 16 +#define font_alt10_v_PALETTE_COUNT 0 +#define font_alt10_v_COLORS_PER_PALETTE 4 +#define font_alt10_v_TOTAL_COLORS 0 +#define font_alt10_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt10_v) + +extern const palette_color_t font_alt10_v_palettes[0]; +extern const uint8_t font_alt10_v_tiles[256]; + +extern const unsigned char font_alt10_v_map[24]; + +#endif diff --git a/assets/font_alt10_v.png b/assets/font_alt10_v.png new file mode 100644 index 0000000000000000000000000000000000000000..2f56c55622f9ea51533d63a9b93b62081d5cbb79 GIT binary patch literal 210 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3-pmxw!R!6k~CayA#8@b22Z19L@lr5LX}# z1pgTrY=7U?1+th+g8YIR{{MFgxTXl?W_Y?dhFJ98o${88L4e1#^#1>attLjdWWD|@ z*jAl3yI;Ugnt?~np5es-k%KQTHvD;b4@2?(%Rp~PXfhOOX*ffWe6m--&(58 zFn7{=wsqc54o+k!|M_k|`_*!hf*Rx6gvlRR6`15-Fe%18_i+Ka#?#f$Wt~$(69Co? BM4bQt literal 0 HcmV?d00001 diff --git a/assets/font_alt11_v.c b/assets/font_alt11_v.c new file mode 100644 index 0000000..f5d2390 --- /dev/null +++ b/assets/font_alt11_v.c @@ -0,0 +1,82 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt11_v) + +const uint8_t font_alt11_v_tiles[256] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x0f,0x00,0x0f, + 0x00,0x03,0x00,0x03, + 0x00,0x3f,0x00,0x3f, + 0x00,0x1f,0x00,0x0f, + 0x00,0xc7,0x00,0xe3, + 0x00,0xc0,0x00,0xc0, + 0x00,0xfc,0x00,0xfc, + 0x00,0xf8,0x00,0xf0, + 0x00,0xe3,0x00,0xc7, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xf0,0x00,0xf0, + 0x00,0x0c,0x00,0x0c, + 0x00,0x0c,0x00,0x0c, + 0x00,0x0c,0x00,0x00, + 0x00,0x3f,0x00,0x3f, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0x80,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0x30,0x00,0x30, + 0x00,0x30,0x00,0x30, + 0x00,0x30,0x00,0x00, + 0x00,0xfc,0x00,0xfc, + 0x00,0x3f,0x00,0x3f, + 0x00,0x3f,0x00,0x1f, + 0x00,0x1f,0x00,0x1f, + 0x00,0x1f,0x00,0x0f, + 0x00,0xfc,0x00,0xfc, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xfc,0x00,0xfc, + 0x00,0xfc,0x00,0xf8, + 0x00,0xf8,0x00,0xf8, + 0x00,0xf0,0x00,0xf0, + 0x00,0x0f,0x00,0x07, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xf0,0x00,0xe0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt11_v_map[24] = { + 0x00,0x01,0x02,0x03,0x04,0x00, + 0x00,0x05,0x06,0x07,0x08,0x00, + 0x00,0x09,0x0a,0x0b,0x0c,0x00, + 0x00,0x0d,0x0e,0x0e,0x0f,0x00, +}; diff --git a/assets/font_alt11_v.h b/assets/font_alt11_v.h new file mode 100644 index 0000000..674ca3f --- /dev/null +++ b/assets/font_alt11_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt11_v_H +#define METASPRITE_font_alt11_v_H + +#include +#include +#include + +#define font_alt11_v_TILE_ORIGIN 0 +#define font_alt11_v_TILE_W 8 +#define font_alt11_v_TILE_H 8 +#define font_alt11_v_WIDTH 48 +#define font_alt11_v_HEIGHT 32 +#define font_alt11_v_TILE_COUNT 16 +#define font_alt11_v_PALETTE_COUNT 0 +#define font_alt11_v_COLORS_PER_PALETTE 4 +#define font_alt11_v_TOTAL_COLORS 0 +#define font_alt11_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt11_v) + +extern const palette_color_t font_alt11_v_palettes[0]; +extern const uint8_t font_alt11_v_tiles[256]; + +extern const unsigned char font_alt11_v_map[24]; + +#endif diff --git a/assets/font_alt11_v.png b/assets/font_alt11_v.png new file mode 100644 index 0000000000000000000000000000000000000000..59f0794392b3a5474a96c660a68741a96204d8db GIT binary patch literal 194 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3-pmxw!R!6k~CayA#8@b22Z19L@lr5LX}# z1pgTrY=7U?1+th+g8YIR{{MFgxTXl?MtHh7hFJ8zo#4#{G|7eief^85(3Z#SB2iz$ zCVdWK2}xO0&Y|hZSH+U@`8EgJ)kA+IUwhqKvUutAwg>z6X{iV{S3SJ;y7hur+eEwI k-437btPt)v_*woC!`*yl=dFtzWk9xjy85}Sb4q9e0M#`>`~Uy| literal 0 HcmV?d00001 diff --git a/assets/font_alt1_v.c b/assets/font_alt1_v.c new file mode 100644 index 0000000..e56d86c --- /dev/null +++ b/assets/font_alt1_v.c @@ -0,0 +1,58 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt1_v) + +const uint8_t font_alt1_v_tiles[160] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xc0, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x03,0x00,0x07, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0x80, + 0x00,0xc0,0x00,0xc0, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x02, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt1_v_map[24] = { + 0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x03,0x04,0x05, + 0x06,0x07,0x08,0x08,0x08,0x09, + 0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/assets/font_alt1_v.h b/assets/font_alt1_v.h new file mode 100644 index 0000000..1f49d98 --- /dev/null +++ b/assets/font_alt1_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt1_v_H +#define METASPRITE_font_alt1_v_H + +#include +#include +#include + +#define font_alt1_v_TILE_ORIGIN 0 +#define font_alt1_v_TILE_W 8 +#define font_alt1_v_TILE_H 8 +#define font_alt1_v_WIDTH 48 +#define font_alt1_v_HEIGHT 32 +#define font_alt1_v_TILE_COUNT 10 +#define font_alt1_v_PALETTE_COUNT 0 +#define font_alt1_v_COLORS_PER_PALETTE 4 +#define font_alt1_v_TOTAL_COLORS 0 +#define font_alt1_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt1_v) + +extern const palette_color_t font_alt1_v_palettes[0]; +extern const uint8_t font_alt1_v_tiles[160]; + +extern const unsigned char font_alt1_v_map[24]; + +#endif diff --git a/assets/font_alt1_v.png b/assets/font_alt1_v.png new file mode 100644 index 0000000000000000000000000000000000000000..a44c2a76c38f3a433bcaa80d43bb535017b98698 GIT binary patch literal 157 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3-pmxw!R!6k~CayA#8@b22Z19L@lr5LX}# z1pgTrY=7U?1+th+g8YIR{{MFgxTXl?8hg4phFJ6_CrGe5OBxskMl!eA2n)yQ&e-JB w!uZzI;9@-UJcmP4c}rHND}?^lkYJs{%wQqS*xm8&uM@~%Pgg&ebxsLQ0A5-sNB{r; literal 0 HcmV?d00001 diff --git a/assets/font_alt2_v.c b/assets/font_alt2_v.c new file mode 100644 index 0000000..45ec1f0 --- /dev/null +++ b/assets/font_alt2_v.c @@ -0,0 +1,86 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt2_v) + +const uint8_t font_alt2_v_tiles[272] = { + 0x00,0x00,0x00,0x00, + 0x00,0x03,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0xc0,0x00,0xc0, + 0x00,0x60,0x00,0x70, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x01, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xf0, + 0x00,0xf8,0x00,0xfc, + 0x00,0x0e,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x01, + 0x00,0x78,0x00,0x7c, + 0x00,0x7e,0x00,0x77, + 0x00,0xf3,0x00,0xf3, + 0x00,0xe1,0x00,0xe0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0xc0,0x00,0xe0, + 0x00,0xf0,0x00,0xfc, + 0x00,0x01,0x00,0x01, + 0x00,0x01,0x00,0x01, + 0x00,0x01,0x00,0x03, + 0x00,0x07,0x00,0x0f, + 0x00,0x00,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x01, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x7f,0x00,0x3f, + 0x00,0x1f,0x00,0x0f, + 0x00,0x03,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xc0, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x3f,0x00,0x00, + 0x00,0x1f,0x00,0xff, + 0x00,0xfe,0x00,0xfe, + 0x00,0xfc,0x00,0xf0, + 0x00,0xc0,0x00,0x00, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0xc0, + 0x00,0x60,0x00,0x20, + 0x00,0x10,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt2_v_map[24] = { + 0x00,0x01,0x02,0x03,0x04,0x02, + 0x05,0x06,0x07,0x02,0x08,0x09, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x02, + 0x0f,0x10,0x02,0x02,0x02,0x02, +}; diff --git a/assets/font_alt2_v.h b/assets/font_alt2_v.h new file mode 100644 index 0000000..1d7d6d0 --- /dev/null +++ b/assets/font_alt2_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt2_v_H +#define METASPRITE_font_alt2_v_H + +#include +#include +#include + +#define font_alt2_v_TILE_ORIGIN 0 +#define font_alt2_v_TILE_W 8 +#define font_alt2_v_TILE_H 8 +#define font_alt2_v_WIDTH 48 +#define font_alt2_v_HEIGHT 32 +#define font_alt2_v_TILE_COUNT 17 +#define font_alt2_v_PALETTE_COUNT 0 +#define font_alt2_v_COLORS_PER_PALETTE 4 +#define font_alt2_v_TOTAL_COLORS 0 +#define font_alt2_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt2_v) + +extern const palette_color_t font_alt2_v_palettes[0]; +extern const uint8_t font_alt2_v_tiles[272]; + +extern const unsigned char font_alt2_v_map[24]; + +#endif diff --git a/assets/font_alt2_v.png b/assets/font_alt2_v.png new file mode 100644 index 0000000000000000000000000000000000000000..325fd3c7d076da28b16f8afe480574c0c07f14a7 GIT binary patch literal 234 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3-pmxw!R!6k~CayA#8@b22Z19L@lr5LX}# z1pgTrY=7U?1+th+g8YIR{{MFgxTXl?Hh8)?hFJ8TopPJ&fB}cI>i_>2lTU2hb}S&Z z=ch#Ro-Iq$iREV2+=WaoDPNBlUn~2!t@W +#include +#include + +BANKREF(font_alt3_v) + +const uint8_t font_alt3_v_tiles[240] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x3c,0x00,0x7e, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x70,0x00,0x7c, + 0x00,0x00,0x00,0x01, + 0x00,0x01,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0xc8,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xf0, + 0x00,0xf0,0x00,0xf0, + 0x00,0x3e,0x00,0x07, + 0x00,0x03,0x00,0x01, + 0x00,0x01,0x00,0x01, + 0x00,0x01,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x03,0x00,0x01, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0xe0, + 0x00,0xf8,0x00,0xff, + 0x00,0x7f,0x00,0x3f, + 0x00,0x1f,0x00,0x07, + 0x00,0x03,0x00,0x07, + 0x00,0x1f,0x00,0xff, + 0x00,0xff,0x00,0xfe, + 0x00,0xfc,0x00,0xf0, + 0x00,0xf8,0x00,0xfe, + 0x00,0x9f,0x00,0x8f, + 0x00,0x03,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x03,0x00,0x07, + 0x00,0xff,0x00,0xfe, + 0x00,0xfc,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt3_v_map[24] = { + 0x00,0x01,0x00,0x00,0x02,0x00, + 0x03,0x04,0x05,0x06,0x07,0x08, + 0x09,0x0a,0x0b,0x0c,0x0d,0x0e, + 0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/assets/font_alt3_v.h b/assets/font_alt3_v.h new file mode 100644 index 0000000..e5b46c6 --- /dev/null +++ b/assets/font_alt3_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt3_v_H +#define METASPRITE_font_alt3_v_H + +#include +#include +#include + +#define font_alt3_v_TILE_ORIGIN 0 +#define font_alt3_v_TILE_W 8 +#define font_alt3_v_TILE_H 8 +#define font_alt3_v_WIDTH 48 +#define font_alt3_v_HEIGHT 32 +#define font_alt3_v_TILE_COUNT 15 +#define font_alt3_v_PALETTE_COUNT 0 +#define font_alt3_v_COLORS_PER_PALETTE 4 +#define font_alt3_v_TOTAL_COLORS 0 +#define font_alt3_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt3_v) + +extern const palette_color_t font_alt3_v_palettes[0]; +extern const uint8_t font_alt3_v_tiles[240]; + +extern const unsigned char font_alt3_v_map[24]; + +#endif diff --git a/assets/font_alt3_v.png b/assets/font_alt3_v.png new file mode 100644 index 0000000000000000000000000000000000000000..31e05d7d88f49036ce13c4022ca2e17a1b909252 GIT binary patch literal 209 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3-pmxw!R!6k~CayA#8@b22Z19L@lr5LX}# z1pgTrY=7U?1+th+g8YIR{{MFgxTXl?rhB?LhFJ8zop_K7Xp-~M|NmcbEecvLR`TM4 zpW*#0T`yjH#I)wlcQ-x0EbUR4#ly3u*SRV$=*uxQa5I)(=4Q;6VU4I=TpNCKLi>X{ z;fd*SOW$j(p4(9|d4k%5&AgM2i1~jr-9ImsaaSGV+*t-o*g=l*boFyt=akR{0Jro= A1ONa4 literal 0 HcmV?d00001 diff --git a/assets/font_alt4_v.c b/assets/font_alt4_v.c new file mode 100644 index 0000000..2d1d5e3 --- /dev/null +++ b/assets/font_alt4_v.c @@ -0,0 +1,82 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt4_v) + +const uint8_t font_alt4_v_tiles[256] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0xe0, + 0x00,0xf8,0x00,0xfc, + 0x00,0xfe,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0xff, + 0x00,0xff,0x00,0xf3, + 0x00,0xf1,0x00,0xf0, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf0,0x00,0xff, + 0x00,0xc0,0x00,0xf0, + 0x00,0xf8,0x00,0xfe, + 0x00,0x3f,0x00,0x1f, + 0x00,0x07,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xc0, + 0x00,0xe0,0x00,0xf8, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x80,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xf0,0x00,0xf0, + 0x00,0xf0,0x00,0xf0, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xfc,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0xc0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x03, + 0x00,0x07,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xf8,0x00,0xfc, + 0x00,0xfe,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt4_v_map[24] = { + 0x00,0x00,0x01,0x02,0x00,0x00, + 0x03,0x04,0x05,0x06,0x07,0x00, + 0x08,0x09,0x0a,0x0b,0x0c,0x0d, + 0x00,0x0e,0x0f,0x00,0x00,0x00, +}; diff --git a/assets/font_alt4_v.h b/assets/font_alt4_v.h new file mode 100644 index 0000000..0ff3ef1 --- /dev/null +++ b/assets/font_alt4_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt4_v_H +#define METASPRITE_font_alt4_v_H + +#include +#include +#include + +#define font_alt4_v_TILE_ORIGIN 0 +#define font_alt4_v_TILE_W 8 +#define font_alt4_v_TILE_H 8 +#define font_alt4_v_WIDTH 48 +#define font_alt4_v_HEIGHT 32 +#define font_alt4_v_TILE_COUNT 16 +#define font_alt4_v_PALETTE_COUNT 0 +#define font_alt4_v_COLORS_PER_PALETTE 4 +#define font_alt4_v_TOTAL_COLORS 0 +#define font_alt4_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt4_v) + +extern const palette_color_t font_alt4_v_palettes[0]; +extern const uint8_t font_alt4_v_tiles[256]; + +extern const unsigned char font_alt4_v_map[24]; + +#endif diff --git a/assets/font_alt4_v.png b/assets/font_alt4_v.png new file mode 100644 index 0000000000000000000000000000000000000000..79490d7c839e55d0888aee0196449248144dd9ec GIT binary patch literal 209 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3-pmxw!R!6k~CayA#8@b22Z19L@lr5LX}# z1pgTrY=7U?1+th+g8YIR{{MFgxTXl?rhB?LhFJ98z2eB%puoc#X!PBF3%BW#rnQq7 zaPMyUzo5|}d%k#v0;@-pXawV=grjnzPdMzv)7QONef~>`R+_?Hm37i>&zts`NVu}H z1u>gE;5wFkHmi!?+cD$aRq?9oK-ai>Kl}B(?_!zyFGj9C3UZ96tDnm{r-UW|%*{em literal 0 HcmV?d00001 diff --git a/assets/font_alt5_v.c b/assets/font_alt5_v.c new file mode 100644 index 0000000..c5a1e95 --- /dev/null +++ b/assets/font_alt5_v.c @@ -0,0 +1,107 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt5_v) + + +const uint8_t font_alt5_v_tiles[352] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x0f, + 0x00,0x3f,0x00,0x73, + 0x00,0xe0,0x00,0xc0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x0f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x01,0x00,0x01, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x80,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x0f,0x00,0x0e, + 0x00,0x0e,0x00,0x0e, + 0x00,0x1e,0x00,0x1e, + 0x00,0x1e,0x00,0x3e, + 0x00,0xff,0x00,0x1f, + 0x00,0x03,0x00,0x03, + 0x00,0x07,0x00,0x07, + 0x00,0x07,0x00,0x07, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x03,0x00,0x03, + 0x00,0x01,0x00,0x01, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0xc0, + 0x00,0xe0,0x00,0xf0, + 0x00,0xfc,0x00,0xff, + 0x00,0x7f,0x00,0x7f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x01, + 0x00,0x07,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x3e,0x00,0x7c, + 0x00,0xfc,0x00,0xf8, + 0x00,0xf8,0x00,0xf0, + 0x00,0xe0,0x00,0xc0, + 0x00,0x0f,0x00,0x0f, + 0x00,0x0f,0x00,0x1f, + 0x00,0x1f,0x00,0x3f, + 0x00,0x3f,0x00,0x7f, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0xc0, + 0x00,0xe0,0x00,0xe0, + 0x00,0xe0,0x00,0x00, + 0x00,0x1f,0x00,0x0f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xfe, + 0x00,0xe0,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0x00, + 0x00,0x01,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x7c,0x00,0xf0, + 0x00,0xc0,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt5_v_map[24] = { + 0x00,0x01,0x02,0x03,0x04,0x05, + 0x06,0x07,0x08,0x09,0x0a,0x0b, + 0x0c,0x0d,0x0e,0x0f,0x10,0x11, + 0x08,0x12,0x13,0x14,0x15,0x08, +}; diff --git a/assets/font_alt5_v.h b/assets/font_alt5_v.h new file mode 100644 index 0000000..8e66387 --- /dev/null +++ b/assets/font_alt5_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt5_v_H +#define METASPRITE_font_alt5_v_H + +#include +#include +#include + +#define font_alt5_v_TILE_ORIGIN 0 +#define font_alt5_v_TILE_W 8 +#define font_alt5_v_TILE_H 8 +#define font_alt5_v_WIDTH 48 +#define font_alt5_v_HEIGHT 32 +#define font_alt5_v_TILE_COUNT 22 +#define font_alt5_v_PALETTE_COUNT 0 +#define font_alt5_v_COLORS_PER_PALETTE 4 +#define font_alt5_v_TOTAL_COLORS 0 +#define font_alt5_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt5_v) + +extern const palette_color_t font_alt5_v_palettes[0]; +extern const uint8_t font_alt5_v_tiles[352]; + +extern const unsigned char font_alt5_v_map[24]; + +#endif diff --git a/assets/font_alt5_v.png b/assets/font_alt5_v.png new file mode 100644 index 0000000000000000000000000000000000000000..60f293e63d3c03d3bd4b80dc32a2362433015c51 GIT binary patch literal 223 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3-pmxw!R!6k~CayA#8@b22Z19L@lr5LX}# z1pgTrY=7U?1+th+g8YIR{{MFgxTXl?mU_B4hFJ7oo#e=OK!JmW_kVrK;`XLQ2a6e7 zs-5mm>@_;JT{YOZnmOX0tbq2HVt*C`Z@z+4W(#5t<`=~=nRpmpDs?DQ_>sQ$i0m`o z1+DuZvHWn{YRdR+zRdxaGtoA6Z`LzQm^m(b&e4&pzhQq{N@dvf|J=5gSxiS?2EIH9 Oa+;^BpUXO@geCw(SxZU) literal 0 HcmV?d00001 diff --git a/assets/font_alt6_v.c b/assets/font_alt6_v.c new file mode 100644 index 0000000..1cc4370 --- /dev/null +++ b/assets/font_alt6_v.c @@ -0,0 +1,102 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt6_v) + +const uint8_t font_alt6_v_tiles[336] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x03,0x00,0x0f, + 0x00,0x3f,0x00,0x7f, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xf0, + 0x00,0xfc,0x00,0xff, + 0x00,0xff,0x00,0x7f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0xe0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x07, + 0x00,0x07,0x00,0x07, + 0x00,0x07,0x00,0x07, + 0x00,0xfc,0x00,0xf8, + 0x00,0xe0,0x00,0xc0, + 0x00,0x80,0x00,0x80, + 0x00,0x01,0x00,0x01, + 0x00,0x00,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x70, + 0x00,0xf8,0x00,0xf8, + 0x00,0x0f,0x00,0xc3, + 0x00,0xe0,0x00,0x30, + 0x00,0x38,0x00,0x1c, + 0x00,0x1c,0x00,0x1e, + 0x00,0xf0,0x00,0xf8, + 0x00,0xfc,0x00,0x3e, + 0x00,0x1e,0x00,0x0f, + 0x00,0x07,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0x80, + 0x00,0x07,0x00,0x07, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x01, + 0x00,0x01,0x00,0x00, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0x80,0x00,0xc0, + 0x00,0xf0,0x00,0xff, + 0x00,0xf8,0x00,0xf0, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x03, + 0x00,0x1f,0x00,0xff, + 0x00,0x1e,0x00,0x3e, + 0x00,0x3e,0x00,0x7e, + 0x00,0xfe,0x00,0xfc, + 0x00,0xf8,0x00,0xf8, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0xc0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x7f,0x00,0x1f, + 0x00,0x0f,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xfe, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xf0,0x00,0xe0, + 0x00,0x80,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt6_v_map[24] = { + 0x00,0x01,0x02,0x03,0x04,0x05, + 0x06,0x07,0x08,0x09,0x0a,0x0b, + 0x0c,0x0d,0x0e,0x0f,0x10,0x11, + 0x05,0x12,0x13,0x14,0x05,0x05, +}; diff --git a/assets/font_alt6_v.h b/assets/font_alt6_v.h new file mode 100644 index 0000000..be5bcd7 --- /dev/null +++ b/assets/font_alt6_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt6_v_H +#define METASPRITE_font_alt6_v_H + +#include +#include +#include + +#define font_alt6_v_TILE_ORIGIN 0 +#define font_alt6_v_TILE_W 8 +#define font_alt6_v_TILE_H 8 +#define font_alt6_v_WIDTH 48 +#define font_alt6_v_HEIGHT 32 +#define font_alt6_v_TILE_COUNT 21 +#define font_alt6_v_PALETTE_COUNT 0 +#define font_alt6_v_COLORS_PER_PALETTE 4 +#define font_alt6_v_TOTAL_COLORS 0 +#define font_alt6_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt6_v) + +extern const palette_color_t font_alt6_v_palettes[0]; +extern const uint8_t font_alt6_v_tiles[336]; + +extern const unsigned char font_alt6_v_map[24]; + +#endif diff --git a/assets/font_alt6_v.png b/assets/font_alt6_v.png new file mode 100644 index 0000000000000000000000000000000000000000..93b3969fe766f060103a54a1f11941c6ac7981b7 GIT binary patch literal 233 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3-pmxw!R!6k~CayA#8@b22Z19L@lr5LX}# z1pgTrY=7U?1+th+g8YIR{{MFgxTXl?)_b}*hFJ7oy=={Qz<`4};K*P8yG!K{+_Po7nzjypuH~pjNs*jx|m98H1gx+Ld{NB=VZs!7~?dwbRPpIW@OSa`=oae6? zr19(qr$$3!bb#y52MNwgdJHsve!Fq^O=I0Ejbk-dAHHZ`neyI2J!PL_@V*Yqd1s9N aows7B_{7XV$>LNu$dR6|elF{r5}E*I>{p-w literal 0 HcmV?d00001 diff --git a/assets/font_alt7_v.c b/assets/font_alt7_v.c new file mode 100644 index 0000000..0cfdeec --- /dev/null +++ b/assets/font_alt7_v.c @@ -0,0 +1,74 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt7_v) + +const uint8_t font_alt7_v_tiles[224] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x03, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xc0,0x00,0xe0, + 0x00,0xf8,0x00,0x7e, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0xf0, + 0x00,0xfe,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xc0, + 0x00,0xf8,0x00,0xff, + 0x00,0x3f,0x00,0x3f, + 0x00,0x1f,0x00,0x1f, + 0x00,0x0f,0x00,0x0f, + 0x00,0x0f,0x00,0x07, + 0x00,0xc0,0x00,0xc0, + 0x00,0xc0,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x8f,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0x3f,0x00,0x07, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xe0,0x00,0xfc, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0x1f, + 0x00,0x03,0x00,0x00, + 0x00,0x07,0x00,0x07, + 0x00,0x87,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0x7f, + 0x00,0x0f,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt7_v_map[24] = { + 0x00,0x00,0x00,0x01,0x02,0x00, + 0x03,0x04,0x05,0x00,0x06,0x07, + 0x08,0x09,0x0a,0x0b,0x0c,0x00, + 0x00,0x00,0x00,0x00,0x0d,0x00, +}; diff --git a/assets/font_alt7_v.h b/assets/font_alt7_v.h new file mode 100644 index 0000000..8fa4bbf --- /dev/null +++ b/assets/font_alt7_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt7_v_H +#define METASPRITE_font_alt7_v_H + +#include +#include +#include + +#define font_alt7_v_TILE_ORIGIN 0 +#define font_alt7_v_TILE_W 8 +#define font_alt7_v_TILE_H 8 +#define font_alt7_v_WIDTH 48 +#define font_alt7_v_HEIGHT 32 +#define font_alt7_v_TILE_COUNT 14 +#define font_alt7_v_PALETTE_COUNT 0 +#define font_alt7_v_COLORS_PER_PALETTE 4 +#define font_alt7_v_TOTAL_COLORS 0 +#define font_alt7_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt7_v) + +extern const palette_color_t font_alt7_v_palettes[0]; +extern const uint8_t font_alt7_v_tiles[224]; + +extern const unsigned char font_alt7_v_map[24]; + +#endif diff --git a/assets/font_alt7_v.png b/assets/font_alt7_v.png new file mode 100644 index 0000000000000000000000000000000000000000..14f09787691ab656efe1bfc01a2141aee7e024e7 GIT binary patch literal 204 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3-pmxw!R!6k~CayA#8@b22Z19L@lr5LX}# z1pgTrY=7U?1+th+g8YIR{{MFgxTXl?CV9FzhFJ7Iy=2IDz<|R!@X2raU9V<5yZ#_A zG~!~nN2@YO-Mx{`Y*%K9D;+UHx3vIVCg!09%Jg3;+NC literal 0 HcmV?d00001 diff --git a/assets/font_alt8_v.c b/assets/font_alt8_v.c new file mode 100644 index 0000000..7757ea1 --- /dev/null +++ b/assets/font_alt8_v.c @@ -0,0 +1,94 @@ +//AUTOGENERATED FILE FROM png2asset + +#include +#include +#include + +BANKREF(font_alt8_v) + +const uint8_t font_alt8_v_tiles[304] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x07, + 0x00,0x1f,0x00,0x7f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xf0, + 0x00,0xfe,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xf0, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x01, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x03, + 0x00,0x7f,0x00,0xff, + 0x00,0xe0,0x00,0xc0, + 0x00,0x80,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0x07,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x8f,0x00,0xcf, + 0x00,0xff,0x00,0xfc, + 0x00,0xf8,0x00,0xf0, + 0x00,0x73,0x00,0x73, + 0x00,0xfc,0x00,0xfe, + 0x00,0xff,0x00,0x07, + 0x00,0x03,0x00,0xe1, + 0x00,0xf1,0x00,0xf1, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x03,0x00,0x03, + 0x00,0x03,0x00,0x01, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0xc0, + 0x00,0xe0,0x00,0xff, + 0x00,0x7f,0x00,0x3f, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x03, + 0x00,0x0f,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xf3,0x00,0xf1, + 0x00,0xf8,0x00,0xfc, + 0x00,0xdf,0x00,0xcf, + 0x00,0x87,0x00,0x00, + 0x00,0xf1,0x00,0xe3, + 0x00,0x07,0x00,0x0f, + 0x00,0xfe,0x00,0xfe, + 0x00,0xf8,0x00,0x00, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x0f,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xfc,0x00,0xc0, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt8_v_map[24] = { + 0x00,0x01,0x02,0x03,0x04,0x00, + 0x05,0x06,0x07,0x08,0x09,0x0a, + 0x0b,0x0c,0x0d,0x0e,0x0f,0x10, + 0x00,0x11,0x12,0x00,0x00,0x00, +}; diff --git a/assets/font_alt8_v.h b/assets/font_alt8_v.h new file mode 100644 index 0000000..7dbf537 --- /dev/null +++ b/assets/font_alt8_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt8_v_H +#define METASPRITE_font_alt8_v_H + +#include +#include +#include + +#define font_alt8_v_TILE_ORIGIN 0 +#define font_alt8_v_TILE_W 8 +#define font_alt8_v_TILE_H 8 +#define font_alt8_v_WIDTH 48 +#define font_alt8_v_HEIGHT 32 +#define font_alt8_v_TILE_COUNT 19 +#define font_alt8_v_PALETTE_COUNT 0 +#define font_alt8_v_COLORS_PER_PALETTE 4 +#define font_alt8_v_TOTAL_COLORS 0 +#define font_alt8_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt8_v) + +extern const palette_color_t font_alt8_v_palettes[0]; +extern const uint8_t font_alt8_v_tiles[304]; + +extern const unsigned char font_alt8_v_map[24]; + +#endif diff --git a/assets/font_alt8_v.png b/assets/font_alt8_v.png new file mode 100644 index 0000000000000000000000000000000000000000..65e7449037e8ef78a7378163a30683d71d5bdf29 GIT binary patch literal 218 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3-pmxw!R!6k~CayA#8@b22Z19L@lr5LX}# z1pgTrY=7U?1+th+g8YIR{{MFgxTXl?7I?ZihFJ8zo#f4RK!L~Q@SXn`mQJ};qh`nz z`!c8Hqiv3-%QpUbK96GA&35H*8iY3QU-(KmSMqJbj#G(&3wmE2vaJ>3lI31h_gkJZ zyUFUr?|J{Nj5><=PCj_>;o!G(?}YA#?N?lSaArv6!}XWj{Wrz5>| +#include +#include + +BANKREF(font_alt9_v) + +const uint8_t font_alt9_v_tiles[320] = { + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x01, + 0x00,0x03,0x00,0x0f, + 0x00,0x1f,0x00,0x1f, + 0x00,0x00,0x00,0x00, + 0x00,0x7f,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xf8, + 0x00,0x00,0x00,0x00, + 0x00,0x80,0x00,0xf0, + 0x00,0xf8,0x00,0xfe, + 0x00,0xff,0x00,0x0f, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x06, + 0x00,0x03,0x00,0x03, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0xc0, + 0x00,0x3f,0x00,0x3f, + 0x00,0x7e,0x00,0x7c, + 0x00,0x7c,0x00,0x78, + 0x00,0x78,0x00,0x38, + 0x00,0xe0,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x0f,0x00,0x1f, + 0x00,0x1f,0x00,0x1f, + 0x00,0x03,0x00,0x01, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x80, + 0x00,0x80,0x00,0x80, + 0x00,0x80,0x00,0xc0, + 0x00,0xc0,0x00,0xe0, + 0x00,0xe0,0x00,0xe0, + 0x00,0xe0,0x00,0xe0, + 0x00,0x01,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xe0,0x00,0xf0, + 0x00,0xf8,0x00,0x7e, + 0x00,0x3f,0x00,0x1f, + 0x00,0x0f,0x00,0x07, + 0x00,0x38,0x00,0x18, + 0x00,0x1c,0x00,0x0e, + 0x00,0x83,0x00,0xe1, + 0x00,0xfc,0x00,0xff, + 0x00,0x0e,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0xff, + 0x00,0x01,0x00,0x01, + 0x00,0x03,0x00,0x07, + 0x00,0x1f,0x00,0x3f, + 0x00,0xff,0x00,0xff, + 0x00,0xe0,0x00,0xe0, + 0x00,0xe0,0x00,0xc0, + 0x00,0xc0,0x00,0xc0, + 0x00,0x80,0x00,0x00, + 0x00,0xff,0x00,0x7f, + 0x00,0x1f,0x00,0x01, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xff,0x00,0xff, + 0x00,0xff,0x00,0xff, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x00,0xfe,0x00,0xfc, + 0x00,0xf0,0x00,0x80, + 0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00 + }; + + +const unsigned char font_alt9_v_map[24] = { + 0x00,0x00,0x01,0x02,0x03,0x04, + 0x05,0x06,0x07,0x08,0x09,0x0a, + 0x0b,0x0c,0x0d,0x0e,0x0f,0x10, + 0x00,0x0b,0x11,0x12,0x13,0x00, +}; diff --git a/assets/font_alt9_v.h b/assets/font_alt9_v.h new file mode 100644 index 0000000..6c7e38a --- /dev/null +++ b/assets/font_alt9_v.h @@ -0,0 +1,27 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_font_alt9_v_H +#define METASPRITE_font_alt9_v_H + +#include +#include +#include + +#define font_alt9_v_TILE_ORIGIN 0 +#define font_alt9_v_TILE_W 8 +#define font_alt9_v_TILE_H 8 +#define font_alt9_v_WIDTH 48 +#define font_alt9_v_HEIGHT 32 +#define font_alt9_v_TILE_COUNT 20 +#define font_alt9_v_PALETTE_COUNT 0 +#define font_alt9_v_COLORS_PER_PALETTE 4 +#define font_alt9_v_TOTAL_COLORS 0 +#define font_alt9_v_MAP_ATTRIBUTES 0 + +BANKREF_EXTERN(font_alt9_v) + +extern const palette_color_t font_alt9_v_palettes[0]; +extern const uint8_t font_alt9_v_tiles[320]; + +extern const unsigned char font_alt9_v_map[24]; + +#endif diff --git a/assets/font_alt9_v.png b/assets/font_alt9_v.png new file mode 100644 index 0000000000000000000000000000000000000000..5066e0259b7c74a14ab5bade028653c7ead99e93 GIT binary patch literal 233 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3-pmxw!R!6k~CayA#8@b22Z19L@lr5LX}# z1pgTrY=7U?1+th+g8YIR{{MFgxTXl?)_b}*hFJ7oo$SchV8Fq0^56f9YHq #include #include -#include -#include +#include #include "../assets/font0.h" // ../../../../bin/png2asset font0.png -spr8x8 -map -noflip -tile_origin 0 -#include "../assets/font_alt0.h" +#include "../assets/font_alt0.h" +#include "../assets/font0_v.h" +#include "../assets/font_alt0_v.h" + #include "../assets/font1.h" #include "../assets/font_alt1.h" +#include "../assets/font1_v.h" +#include "../assets/font_alt1_v.h" + #include "../assets/font2.h" #include "../assets/font_alt2.h" +#include "../assets/font2_v.h" +#include "../assets/font_alt2_v.h" + #include "../assets/font3.h" #include "../assets/font_alt3.h" +#include "../assets/font3_v.h" +#include "../assets/font_alt3_v.h" + #include "../assets/font4.h" #include "../assets/font_alt4.h" +#include "../assets/font4_v.h" +#include "../assets/font_alt4_v.h" + #include "../assets/font5.h" #include "../assets/font_alt5.h" +#include "../assets/font5_v.h" +#include "../assets/font_alt5_v.h" + #include "../assets/font6.h" #include "../assets/font_alt6.h" +#include "../assets/font6_v.h" +#include "../assets/font_alt6_v.h" + #include "../assets/font7.h" #include "../assets/font_alt7.h" +#include "../assets/font7_v.h" +#include "../assets/font_alt7_v.h" + #include "../assets/font8.h" #include "../assets/font_alt8.h" +#include "../assets/font8_v.h" +#include "../assets/font_alt8_v.h" + #include "../assets/font9.h" #include "../assets/font_alt9.h" +#include "../assets/font9_v.h" +#include "../assets/font_alt9_v.h" + #include "../assets/font10.h" #include "../assets/font_alt10.h" +#include "../assets/font10_v.h" +#include "../assets/font_alt10_v.h" + #include "../assets/font11.h" #include "../assets/font_alt11.h" +#include "../assets/font11_v.h" +#include "../assets/font_alt11_v.h" + #include "../assets/border2.h" #include "../assets/watchface.h" @@ -41,11 +76,21 @@ uint8_t* font_tiles[] = { font6_tiles, font7_tiles, font8_tiles, font9_tiles, font10_tiles, font11_tiles }; +uint8_t* font_tiles_v[] = { + font0_v_tiles, font1_v_tiles, font2_v_tiles, font3_v_tiles, font4_v_tiles, font5_v_tiles, + font6_v_tiles, font7_v_tiles, font8_v_tiles, font9_v_tiles, font10_v_tiles, font11_v_tiles +}; + uint8_t* font_alt_tiles[] = { font_alt0_tiles, font_alt1_tiles, font_alt2_tiles, font_alt3_tiles, font_alt4_tiles, font_alt5_tiles, font_alt6_tiles, font_alt7_tiles, font_alt8_tiles, font_alt9_tiles, font_alt10_tiles, font_alt11_tiles }; +uint8_t* font_alt_tiles_v[] = { + font_alt0_v_tiles, font_alt1_v_tiles, font_alt2_v_tiles, font_alt3_v_tiles, font_alt4_v_tiles, font_alt5_v_tiles, + font_alt6_v_tiles, font_alt7_v_tiles, font_alt8_v_tiles, font_alt9_v_tiles, font_alt10_v_tiles, font_alt11_v_tiles +}; + uint8_t font_tile_counts[] = { font0_TILE_COUNT, font1_TILE_COUNT, font2_TILE_COUNT, font3_TILE_COUNT, font4_TILE_COUNT, font5_TILE_COUNT, font6_TILE_COUNT, font7_TILE_COUNT, font8_TILE_COUNT, font9_TILE_COUNT, font10_TILE_COUNT, font11_TILE_COUNT @@ -56,6 +101,16 @@ unsigned char* font_maps[] = { font6_map, font7_map, font8_map, font9_map, font10_map, font11_map }; +unsigned char* font_maps_v[] = { + font0_v_map, font1_v_map, font2_v_map, font3_v_map, font4_v_map, font5_v_map, + font6_v_map, font7_v_map, font8_v_map, font9_v_map, font10_v_map, font11_v_map +}; + +unsigned char* font_maps_alt_v[] = { + font_alt0_v_map, font_alt1_v_map, font_alt2_v_map, font_alt3_v_map, font_alt4_v_map, font_alt5_v_map, + font_alt6_v_map, font_alt7_v_map, font_alt8_v_map, font_alt9_v_map, font_alt10_v_map, font_alt11_v_map +}; + uint8_t loaded_font_tile_counts[4]; unsigned char* loaded_font_maps[4]; uint8_t digits[4]; @@ -75,9 +130,26 @@ uint8_t keys = 0; int8_t player_left = 20; int8_t player_right = 20; -char life_buffer[2]; uint8_t selected_player = 0; +#define HORIZONTAL 0 +#define VERTICAL 1 + +uint8_t display_mode = HORIZONTAL; + +#define LIFE_COUNTER 0 +#define DIE_ROLLER 1 + +uint8_t screen = LIFE_COUNTER; + +const uint16_t d_redo[] = {256, 252, 256, 250, 252, 240}; // if the roll is >= this number, re-roll (evens out distribution) +uint8_t d[] = {4, 6, 8, 10, 12, 20}; +uint8_t d_index = 5; +uint8_t d_value = 0; +uint8_t d_rand = 0; + +uint8_t eat_start = 0; + void set_left_font_bkg_data() { if (player_left) { @@ -90,8 +162,13 @@ void set_left_font_bkg_data() { for (uint8_t i = 0; i < 2; i++) { loaded_font_tile_counts[i] = font_tile_counts[digits[i]]; - set_bkg_data(i * MAX_TILE_COUNT, loaded_font_tile_counts[i], font_alt_tiles[digits[i]]); - loaded_font_maps[i] = font_maps[digits[i]]; + if (display_mode == HORIZONTAL) { + set_bkg_data(i * MAX_TILE_COUNT, loaded_font_tile_counts[i], font_alt_tiles[digits[i]]); + loaded_font_maps[i] = font_maps[digits[i]]; + } else { // VERTICAL + set_bkg_data(i * MAX_TILE_COUNT, loaded_font_tile_counts[i], font_alt_tiles_v[digits[i]]); + loaded_font_maps[i] = font_maps_alt_v[digits[i]]; + } } } @@ -106,7 +183,27 @@ void set_right_font_bkg_data() { for (uint8_t i = 2; i < 4; i++) { loaded_font_tile_counts[i] = font_tile_counts[digits[i]]; - set_bkg_data(i * MAX_TILE_COUNT, loaded_font_tile_counts[i], font_tiles[digits[i]]); + if (display_mode == HORIZONTAL) { + set_bkg_data(i * MAX_TILE_COUNT, loaded_font_tile_counts[i], font_tiles[digits[i]]); + loaded_font_maps[i] = font_maps[digits[i]]; + } else { // VERTICAL + set_bkg_data(i * MAX_TILE_COUNT, loaded_font_tile_counts[i], font_tiles_v[digits[i]]); + loaded_font_maps[i] = font_maps_v[digits[i]]; + } + } +} + +void set_die_roll_font_bkg_data() { + digits[0] = d_value / 10; + digits[1] = d_value % 10; + + for (uint8_t i = 0; i < 2; i++) { + loaded_font_tile_counts[i] = font_tile_counts[digits[i]]; + if (d_value % 2 == 0) { + set_bkg_data(i * MAX_TILE_COUNT, loaded_font_tile_counts[i], font_tiles[digits[i]]); + } else { + set_bkg_data(i * MAX_TILE_COUNT, loaded_font_tile_counts[i], font_alt_tiles[digits[i]]); + } loaded_font_maps[i] = font_maps[digits[i]]; } } @@ -120,16 +217,63 @@ void print_at(uint8_t x, uint8_t y, char* str) { } void draw_text() { - print_at(1,1, "Magic Life Counter"); - print_at(1,16," L/R A/B"); + print_at(1, 1, "Magic Life Counter"); + + if (screen == LIFE_COUNTER) { + print_at(1, 15, "START [Life] Roll"); + if (display_mode == HORIZONTAL) { + print_at(1, 16, "SELECT [H] V"); + } else { // VERTICAL + print_at(1, 16, "SELECT H [V]"); + } + + } else { // DIE_ROLLER + print_at(1, 15, "START Life [Roll]"); + + switch (d_index) { + case 0: + print_at(1, 16, "SELECT [D4]"); + break; + case 1: + print_at(1, 16, "SELECT [D6]"); + break; + case 2: + print_at(1, 16, "SELECT [D8]"); + break; + case 3: + print_at(1, 16, "SELECT [D10]"); + break; + case 4: + print_at(1, 16, "SELECT [D12]"); + break; + case 5: + print_at(1, 16, "SELECT [D20]"); + break; + } + } } void draw_life_at(uint8_t life, uint8_t offset, uint8_t x, uint8_t y) { - if (life >= 10 || life == 0) { // configure two digits - set_bkg_based_tiles(x, y, 4, 6, loaded_font_maps[0 + offset], offset * MAX_TILE_COUNT); - set_bkg_based_tiles(x + 4, y, 4, 6, loaded_font_maps[1 + offset], (1 + offset) * MAX_TILE_COUNT); - } else if (life > 0) { // configure one digit - set_bkg_based_tiles(x + 2, y, 4, 6, loaded_font_maps[1 + offset], (1 + offset) * MAX_TILE_COUNT); + if (screen == DIE_ROLLER || display_mode == HORIZONTAL) { + if (life >= 10 || life == 0) { // configure two digits + set_bkg_based_tiles(x, y, 4, 6, loaded_font_maps[0 + offset], offset * MAX_TILE_COUNT); + set_bkg_based_tiles(x + 4, y, 4, 6, loaded_font_maps[1 + offset], (1 + offset) * MAX_TILE_COUNT); + } else if (life > 0) { // configure one digit + set_bkg_based_tiles(x + 2, y, 4, 6, loaded_font_maps[1 + offset], (1 + offset) * MAX_TILE_COUNT); + } + + } else { // VERTICAL + if (life >= 10 || life == 0) { // configure two digits + if (offset == 2) { // dumb hack to detect the right player digits, since we need to swap them + set_bkg_based_tiles(x, y, 6, 4, loaded_font_maps[1 + offset], (1 + offset) * MAX_TILE_COUNT); + set_bkg_based_tiles(x, y + 4, 6, 4, loaded_font_maps[0 + offset], offset * MAX_TILE_COUNT); + } else { // left player + set_bkg_based_tiles(x, y, 6, 4, loaded_font_maps[0 + offset], offset * MAX_TILE_COUNT); + set_bkg_based_tiles(x, y + 4, 6, 4, loaded_font_maps[1 + offset], (1 + offset) * MAX_TILE_COUNT); + } + } else if (life > 0) { // configure one digit + set_bkg_based_tiles(x, y + 2, 6, 4, loaded_font_maps[1 + offset], (1 + offset) * MAX_TILE_COUNT); + } } } @@ -143,53 +287,140 @@ void draw_border() { void draw_left() { set_left_font_bkg_data(); - draw_life_at(player_left, 0, 1, 6); + if (display_mode == HORIZONTAL) { + draw_life_at(player_left, 0, 1, 6); + } else { + draw_life_at(player_left, 0, 2, 5); + } } void draw_right() { set_right_font_bkg_data(); - draw_life_at(player_right, 2, 11, 6); + if (display_mode == HORIZONTAL) { + draw_life_at(player_right, 2, 11, 6); + } else { // VERTICAL + draw_life_at(player_right, 2, 12, 5); + } +} + +void draw_die_roll() { + set_die_roll_font_bkg_data(); + draw_life_at(d_value, 0, 6, 6); +} + +void draw_life_counter_digits() { + if (display_mode == HORIZONTAL) draw_border(); + draw_left(); + draw_right(); +} + +void roll_die() { + do { + d_rand = rand(); + } while (d_rand >= d_redo[d_index]); + d_value = (d_rand % d[d_index]) + 1; } void update_and_draw() { - if (!KEY_TICKED(J_A | J_B | J_LEFT | J_RIGHT)) return; - clear_screen(); + // Screen Change - // if (KEY_TICKED(J_LEFT | J_RIGHT)) selected_player = (selected_player + 1) % 2; - - // if (KEY_TICKED(J_UP)) { - // if (selected_player == PLAYER_LEFT) { - // player_left = MIN(99, player_left + 1); - // } else { - // player_right = MIN(99, player_right + 1); - // } - // } else if (KEY_TICKED(J_DOWN)){ - // if (selected_player == PLAYER_LEFT) { - // player_left = MAX(0, player_left - 1); - // } else { - // player_right = MAX(0, player_right - 1); - // } - // } - - if (KEY_TICKED(J_RIGHT)) { - selected_player = PLAYER_LEFT; - player_left = MIN(99, player_left + 1); - } else if (KEY_TICKED(J_LEFT)) { - selected_player = PLAYER_LEFT; - player_left = MAX(0, player_left - 1); + if (eat_start && KEY_TICKED(J_START | J_SELECT)) { + eat_start = 0; + draw_text(); + return; } - - if (KEY_TICKED(J_B)) { - selected_player = PLAYER_RIGHT; - player_right = MIN(99, player_right + 1); - } else if (KEY_TICKED(J_A)) { - selected_player = PLAYER_RIGHT; - player_right = MAX(0, player_right - 1); + + if (KEY_TICKED(J_START)) { + if (screen == LIFE_COUNTER) { + screen = DIE_ROLLER; + initrand(DIV_REG); + clear_screen(); + draw_text(); + print_at(6, 8, "Press A"); + print_at(6, 9, " To Roll"); + } else { + screen = LIFE_COUNTER; + clear_screen(); + draw_text(); + draw_life_counter_digits(); + } + } + + + // Update and Display Screen + if (screen == LIFE_COUNTER) { // Die Roller + if (KEY_TICKED(J_SELECT)) { + display_mode = !display_mode; + clear_screen(); + draw_text(); + draw_life_counter_digits(); + } + + if (display_mode == HORIZONTAL) { + if (!KEY_TICKED(J_UP | J_DOWN | J_LEFT | J_RIGHT)) return; + } else { // VERTICAL + if (!KEY_TICKED(J_A | J_B | J_LEFT | J_RIGHT)) return; + } + + clear_screen(); + eat_start = 1; + + if (display_mode == HORIZONTAL) { + if (KEY_TICKED(J_LEFT | J_RIGHT)) selected_player = (selected_player + 1) % 2; + + if (KEY_TICKED(J_UP)) { + if (selected_player == PLAYER_LEFT) { + player_left = MIN(99, player_left + 1); + } else { + player_right = MIN(99, player_right + 1); + } + } else if (KEY_TICKED(J_DOWN)){ + if (selected_player == PLAYER_LEFT) { + player_left = MAX(0, player_left - 1); + } else { + player_right = MAX(0, player_right - 1); + } + } + + } else { // VERTICAL + if (KEY_TICKED(J_RIGHT)) { + selected_player = PLAYER_LEFT; + player_left = MIN(99, player_left + 1); + } else if (KEY_TICKED(J_LEFT)) { + selected_player = PLAYER_LEFT; + player_left = MAX(0, player_left - 1); + } + + if (KEY_TICKED(J_B)) { + selected_player = PLAYER_RIGHT; + player_right = MIN(99, player_right + 1); + } else if (KEY_TICKED(J_A)) { + selected_player = PLAYER_RIGHT; + player_right = MAX(0, player_right - 1); + } + + } + + draw_life_counter_digits(); + + } else { // Life Counter + if (KEY_TICKED(J_SELECT)) { + d_index = (d_index + 1) % 6; + draw_text(); + } + + if (!KEY_TICKED(J_A)) return; + + clear_screen(); + eat_start = 1; + + if (KEY_TICKED(J_A)) { + roll_die(); + clear_screen(); + delay(500); + draw_die_roll(); + } } - - draw_border(); - draw_left(); - draw_right(); } void main(void) { @@ -205,9 +436,7 @@ void main(void) { clear_screen(); draw_text(); - draw_border(); - draw_left(); - draw_right(); + draw_life_counter_digits(); while (1) { UPDATE_KEYS();