diff --git a/gbdk-support/png2asset/testing/Makefile b/gbdk-support/png2asset/testing/Makefile index 85725f37..1219b06a 100644 --- a/gbdk-support/png2asset/testing/Makefile +++ b/gbdk-support/png2asset/testing/Makefile @@ -157,3 +157,6 @@ generate-assets: # -no_palettes $(PNG2ASSET) $(RES)/no_pal_map_test.png -c $(OUTDIR)/no_pal_map_test_keep_pal_order.c -noflip -map -keep_palette_order -no_palettes $(PNG2ASSET) $(RES)/no_pal_map_test.png -c $(OUTDIR)/no_pal_map_test.c -noflip -map -no_palettes + +# -use_metafile + $(PNG2ASSET) $(RES)/no_pal_map_test.png -c $(OUTDIR)/no_pal_map_test_keep_pal_order_usemetafile.c -use_metafile diff --git a/gbdk-support/png2asset/testing/ref/no_pal_map_test_keep_pal_order_usemetafile.c b/gbdk-support/png2asset/testing/ref/no_pal_map_test_keep_pal_order_usemetafile.c new file mode 100644 index 00000000..8d0582fa --- /dev/null +++ b/gbdk-support/png2asset/testing/ref/no_pal_map_test_keep_pal_order_usemetafile.c @@ -0,0 +1,31 @@ +//AUTOGENERATED FILE FROM png2asset +// Conversion args: /no_pal_map_test.png -c /no_pal_map_test_keep_pal_order_usemetafile.c -use_metafile -noflip -map -keep_palette_order -no_palettes + +#include +#include +#include + +BANKREF(no_pal_map_test_keep_pal_order_usemetafile) + + +const uint8_t no_pal_map_test_keep_pal_order_usemetafile_tiles[144] = { + 0x7f,0x7f,0xff,0xff,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0, + 0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0xfe,0xfe,0xff,0xff,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, + 0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, + 0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xff,0xff,0x7f,0x7f, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff, + 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0xff,0xff,0xfe,0xfe + }; + + +const unsigned char no_pal_map_test_keep_pal_order_usemetafile_map[108] = { + 0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02, + 0x03,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x05, + 0x03,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x05, + 0x03,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x05, + 0x03,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x05, + 0x06,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x08, +}; diff --git a/gbdk-support/png2asset/testing/ref/no_pal_map_test_keep_pal_order_usemetafile.h b/gbdk-support/png2asset/testing/ref/no_pal_map_test_keep_pal_order_usemetafile.h new file mode 100644 index 00000000..a912fcf0 --- /dev/null +++ b/gbdk-support/png2asset/testing/ref/no_pal_map_test_keep_pal_order_usemetafile.h @@ -0,0 +1,25 @@ +//AUTOGENERATED FILE FROM png2asset +// Conversion args: /no_pal_map_test.png -c /no_pal_map_test_keep_pal_order_usemetafile.c -use_metafile -noflip -map -keep_palette_order -no_palettes + +#ifndef METASPRITE_no_pal_map_test_keep_pal_order_usemetafile_H +#define METASPRITE_no_pal_map_test_keep_pal_order_usemetafile_H + +#include +#include +#include + +#define no_pal_map_test_keep_pal_order_usemetafile_TILE_ORIGIN 0 +#define no_pal_map_test_keep_pal_order_usemetafile_TILE_W 8 +#define no_pal_map_test_keep_pal_order_usemetafile_TILE_H 8 +#define no_pal_map_test_keep_pal_order_usemetafile_WIDTH 144 +#define no_pal_map_test_keep_pal_order_usemetafile_HEIGHT 48 +#define no_pal_map_test_keep_pal_order_usemetafile_TILE_COUNT 9 +#define no_pal_map_test_keep_pal_order_usemetafile_MAP_ATTRIBUTES 0 +extern const unsigned char no_pal_map_test_keep_pal_order_usemetafile_map[108]; +#define no_pal_map_test_keep_pal_order_usemetafile_map_attributes no_pal_map_test_keep_pal_order_usemetafile_map + +BANKREF_EXTERN(no_pal_map_test_keep_pal_order_usemetafile) + +extern const uint8_t no_pal_map_test_keep_pal_order_usemetafile_tiles[144]; + +#endif diff --git a/gbdk-support/png2asset/testing/res/no_pal_map_test.png.meta b/gbdk-support/png2asset/testing/res/no_pal_map_test.png.meta new file mode 100644 index 00000000..521d586a --- /dev/null +++ b/gbdk-support/png2asset/testing/res/no_pal_map_test.png.meta @@ -0,0 +1,5 @@ +-noflip -map + -keep_palette_order + -no_palettes + +