gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 85ecea13a1620050f4a2dea6dd884f79f2dad533 parent c5654975cc2101cdcd7b105c6a6f55c11d76066d Author: bbbbbr <bbbbbr@users.noreply.github.com> Date: Fri, 26 Apr 2024 02:08:58 -0700 Merge pull request #646 from bbbbbr/png2asset/tests png2asset: more reference tests for zgb with -source_tileset and -entity_tileset Diffstat:
34 files changed, 3341 insertions(+), 0 deletions(-)
diff --git a/gbdk-support/png2asset/Makefile b/gbdk-support/png2asset/Makefile @@ -66,3 +66,6 @@ test-clean: test-update: $(MAKE) -C testing update + +test-compare: + $(MAKE) -C testing compare-output diff --git a/gbdk-support/png2asset/testing/Makefile b/gbdk-support/png2asset/testing/Makefile @@ -55,6 +55,16 @@ generate-assets: $(PNG2ASSET) $(RES)/nums8x8_map_0_to_39.png -o $(OUTDIR)/nums_map_6.c -map -keep_duplicate_tiles -source_tileset $(RES)/nums8x8_9_to_0.png $(PNG2ASSET) $(RES)/nums8x8_map_0_to_39.png -o $(OUTDIR)/nums_map_7.c -map -keep_duplicate_tiles -entity_tileset $(RES)/nums8x8_30_to_39.png $(PNG2ASSET) $(RES)/nums8x8_map_0_to_39.png -o $(OUTDIR)/nums_map_8.c -map -keep_duplicate_tiles -source_tileset $(RES)/nums8x8_9_to_0.png -entity_tileset $(RES)/nums8x8_30_to_39.png +# ZGB flavor of above + $(PNG2ASSET) $(RES)/nums8x8_map_0_to_39.png -o $(OUTDIR)/zgb_nums_map_1.c -map -use_structs + $(PNG2ASSET) $(RES)/nums8x8_map_0_to_39.png -o $(OUTDIR)/zgb_nums_map_2.c -map -use_structs -source_tileset $(RES)/nums8x8_9_to_0.png + $(PNG2ASSET) $(RES)/nums8x8_map_0_to_39.png -o $(OUTDIR)/zgb_nums_map_3.c -map -use_structs -entity_tileset $(RES)/nums8x8_30_to_39.png + $(PNG2ASSET) $(RES)/nums8x8_map_0_to_39.png -o $(OUTDIR)/zgb_nums_map_4.c -map -use_structs -source_tileset $(RES)/nums8x8_9_to_0.png -entity_tileset $(RES)/nums8x8_30_to_39.png + $(PNG2ASSET) $(RES)/nums8x8_map_0_to_39.png -o $(OUTDIR)/zgb_nums_map_5.c -map -use_structs + $(PNG2ASSET) $(RES)/nums8x8_map_0_to_39.png -o $(OUTDIR)/zgb_nums_map_6.c -map -use_structs -keep_duplicate_tiles -source_tileset $(RES)/nums8x8_9_to_0.png + $(PNG2ASSET) $(RES)/nums8x8_map_0_to_39.png -o $(OUTDIR)/zgb_nums_map_7.c -map -use_structs -keep_duplicate_tiles -entity_tileset $(RES)/nums8x8_30_to_39.png + $(PNG2ASSET) $(RES)/nums8x8_map_0_to_39.png -o $(OUTDIR)/zgb_nums_map_8.c -map -use_structs -keep_duplicate_tiles -source_tileset $(RES)/nums8x8_9_to_0.png -entity_tileset $(RES)/nums8x8_30_to_39.png + # keep_palette_order + source_tileset + noflip + map (gbphoto) $(PNG2ASSET) $(RES)/remote.png -c $(OUTDIR)/remote.c -keep_palette_order -map -noflip diff --git a/gbdk-support/png2asset/testing/out/zgb_nums_map_1.c b/gbdk-support/png2asset/testing/out/zgb_nums_map_1.c @@ -0,0 +1,209 @@ +//AUTOGENERATED FILE FROM png2asset + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +BANKREF(zgb_nums_map_1) + +const palette_color_t zgb_nums_map_1_palettes[4] = { + RGB8(255,255,255), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t zgb_nums_map_1_tiles[640] = { + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x30,0x00, + 0x10,0x00,0x10,0x00, + 0x10,0x00,0x10,0x00, + 0x38,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x10,0x00,0x20,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x18,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x24,0x00, + 0x24,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x38,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x08,0x00,0x10,0x00, + 0x20,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x18,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x1c,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x4c,0x00,0x52,0x00, + 0x52,0x00,0x52,0x00, + 0x0c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x24,0x00,0x22,0x00, + 0x22,0x00,0x22,0x00, + 0x22,0x00,0x02,0x00, + 0x00,0x00,0x40,0x00, + 0x5e,0x00,0x42,0x00, + 0x44,0x00,0x48,0x00, + 0x1e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x4c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0a,0x00,0x2a,0x00, + 0x2a,0x00,0x2e,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x54,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x48,0x00,0x48,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x2e,0x00,0x2a,0x00, + 0x2e,0x00,0x22,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x49,0x00,0x69,0x00, + 0x06,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x72,0x00,0x11,0x00, + 0x21,0x00,0x31,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x42,0x00,0x64,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x46,0x00,0x62,0x00, + 0x0e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x05,0x00,0x65,0x00, + 0x25,0x00,0x47,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x42,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x4a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x62,0x00, + 0x24,0x00,0x44,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x04,0x00,0x6a,0x00, + 0x24,0x00,0x4a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x35,0x00, + 0x17,0x00,0x21,0x00, + 0x31,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x69,0x00,0x29,0x00, + 0x66,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x62,0x00,0x21,0x00, + 0x61,0x00,0x21,0x00, + 0x61,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x62,0x00,0x24,0x00, + 0x6f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x66,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x65,0x00,0x25,0x00, + 0x65,0x00,0x27,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x2a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x64,0x00,0x24,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x37,0x00,0x15,0x00, + 0x37,0x00,0x11,0x00, + 0x31,0x00,0x00,0x00 + }; + + +const uint8_t zgb_nums_map_1_tile_pals[40] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +}; + +#include "TilesInfo.h" +BANKREF(zgb_nums_map_1_tiles_info) +const struct TilesInfo zgb_nums_map_1_tiles_info = { + .num_frames=40, //num tiles + .data=zgb_nums_map_1_tiles, //tiles + .num_pals=1, //num palettes + .pals=zgb_nums_map_1_palettes, //palettes + .color_data=zgb_nums_map_1_tile_pals, //tile palettes +}; + +const unsigned char zgb_nums_map_1_map[50] = { + 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09, + 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13, + 0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d, + 0x1e,0x1f,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27, +}; + +#include "MapInfo.h" +BANKREF_EXTERN(zgb_nums_map_1_tiles_info) +const struct MapInfo zgb_nums_map_1 = { + .data=zgb_nums_map_1_map, //map + .width=10, //with + .height=5, //height + .attributes=0, //map attributes + .tiles_bank=BANK(zgb_nums_map_1_tiles_info), //tiles bank + .tiles=&zgb_nums_map_1_tiles_info, //tiles info +}; diff --git a/gbdk-support/png2asset/testing/out/zgb_nums_map_1.h b/gbdk-support/png2asset/testing/out/zgb_nums_map_1.h @@ -0,0 +1,15 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_zgb_nums_map_1_H +#define METASPRITE_zgb_nums_map_1_H + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +#include "TilesInfo.h" +#include "MapInfo.h" + +extern const struct TilesInfo zgb_nums_map_1_tiles_info; +extern const struct MapInfo zgb_nums_map_1; + +#endif diff --git a/gbdk-support/png2asset/testing/out/zgb_nums_map_2.c b/gbdk-support/png2asset/testing/out/zgb_nums_map_2.c @@ -0,0 +1,209 @@ +//AUTOGENERATED FILE FROM png2asset + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +BANKREF(zgb_nums_map_2) + +const palette_color_t zgb_nums_map_2_palettes[4] = { + RGB8(255,255,255), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t zgb_nums_map_2_tiles[640] = { + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x1c,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x18,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x08,0x00,0x10,0x00, + 0x20,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x38,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x24,0x00, + 0x24,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x18,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x10,0x00,0x20,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x30,0x00, + 0x10,0x00,0x10,0x00, + 0x10,0x00,0x10,0x00, + 0x38,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x4c,0x00,0x52,0x00, + 0x52,0x00,0x52,0x00, + 0x0c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x24,0x00,0x22,0x00, + 0x22,0x00,0x22,0x00, + 0x22,0x00,0x02,0x00, + 0x00,0x00,0x40,0x00, + 0x5e,0x00,0x42,0x00, + 0x44,0x00,0x48,0x00, + 0x1e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x4c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0a,0x00,0x2a,0x00, + 0x2a,0x00,0x2e,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x54,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x48,0x00,0x48,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x2e,0x00,0x2a,0x00, + 0x2e,0x00,0x22,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x49,0x00,0x69,0x00, + 0x06,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x72,0x00,0x11,0x00, + 0x21,0x00,0x31,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x42,0x00,0x64,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x46,0x00,0x62,0x00, + 0x0e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x05,0x00,0x65,0x00, + 0x25,0x00,0x47,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x42,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x4a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x62,0x00, + 0x24,0x00,0x44,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x04,0x00,0x6a,0x00, + 0x24,0x00,0x4a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x35,0x00, + 0x17,0x00,0x21,0x00, + 0x31,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x69,0x00,0x29,0x00, + 0x66,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x62,0x00,0x21,0x00, + 0x61,0x00,0x21,0x00, + 0x61,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x62,0x00,0x24,0x00, + 0x6f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x66,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x65,0x00,0x25,0x00, + 0x65,0x00,0x27,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x2a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x64,0x00,0x24,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x37,0x00,0x15,0x00, + 0x37,0x00,0x11,0x00, + 0x31,0x00,0x00,0x00 + }; + + +const uint8_t zgb_nums_map_2_tile_pals[40] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +}; + +#include "TilesInfo.h" +BANKREF(zgb_nums_map_2_tiles_info) +const struct TilesInfo zgb_nums_map_2_tiles_info = { + .num_frames=40, //num tiles + .data=zgb_nums_map_2_tiles, //tiles + .num_pals=1, //num palettes + .pals=zgb_nums_map_2_palettes, //palettes + .color_data=zgb_nums_map_2_tile_pals, //tile palettes +}; + +const unsigned char zgb_nums_map_2_map[50] = { + 0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01,0x00, + 0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01,0x00, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13, + 0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d, + 0x1e,0x1f,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27, +}; + +#include "MapInfo.h" +BANKREF_EXTERN(zgb_nums_map_2_tiles_info) +const struct MapInfo zgb_nums_map_2 = { + .data=zgb_nums_map_2_map, //map + .width=10, //with + .height=5, //height + .attributes=0, //map attributes + .tiles_bank=BANK(zgb_nums_map_2_tiles_info), //tiles bank + .tiles=&zgb_nums_map_2_tiles_info, //tiles info +}; diff --git a/gbdk-support/png2asset/testing/out/zgb_nums_map_2.h b/gbdk-support/png2asset/testing/out/zgb_nums_map_2.h @@ -0,0 +1,15 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_zgb_nums_map_2_H +#define METASPRITE_zgb_nums_map_2_H + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +#include "TilesInfo.h" +#include "MapInfo.h" + +extern const struct TilesInfo zgb_nums_map_2_tiles_info; +extern const struct MapInfo zgb_nums_map_2; + +#endif diff --git a/gbdk-support/png2asset/testing/out/zgb_nums_map_3.c b/gbdk-support/png2asset/testing/out/zgb_nums_map_3.c @@ -0,0 +1,169 @@ +//AUTOGENERATED FILE FROM png2asset + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +BANKREF(zgb_nums_map_3) + +const palette_color_t zgb_nums_map_3_palettes[4] = { + RGB8(255,255,255), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t zgb_nums_map_3_tiles[480] = { + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x30,0x00, + 0x10,0x00,0x10,0x00, + 0x10,0x00,0x10,0x00, + 0x38,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x10,0x00,0x20,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x18,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x24,0x00, + 0x24,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x38,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x08,0x00,0x10,0x00, + 0x20,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x18,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x1c,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x4c,0x00,0x52,0x00, + 0x52,0x00,0x52,0x00, + 0x0c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x24,0x00,0x22,0x00, + 0x22,0x00,0x22,0x00, + 0x22,0x00,0x02,0x00, + 0x00,0x00,0x40,0x00, + 0x5e,0x00,0x42,0x00, + 0x44,0x00,0x48,0x00, + 0x1e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x4c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0a,0x00,0x2a,0x00, + 0x2a,0x00,0x2e,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x54,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x48,0x00,0x48,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x2e,0x00,0x2a,0x00, + 0x2e,0x00,0x22,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x49,0x00,0x69,0x00, + 0x06,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x72,0x00,0x11,0x00, + 0x21,0x00,0x31,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x42,0x00,0x64,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x46,0x00,0x62,0x00, + 0x0e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x05,0x00,0x65,0x00, + 0x25,0x00,0x47,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x42,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x4a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x62,0x00, + 0x24,0x00,0x44,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x04,0x00,0x6a,0x00, + 0x24,0x00,0x4a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x35,0x00, + 0x17,0x00,0x21,0x00, + 0x31,0x00,0x00,0x00 + }; + + +const uint8_t zgb_nums_map_3_tile_pals[30] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +}; + +#include "TilesInfo.h" +BANKREF(zgb_nums_map_3_tiles_info) +const struct TilesInfo zgb_nums_map_3_tiles_info = { + .num_frames=30, //num tiles + .data=zgb_nums_map_3_tiles, //tiles + .num_pals=1, //num palettes + .pals=zgb_nums_map_3_palettes, //palettes + .color_data=zgb_nums_map_3_tile_pals, //tile palettes +}; + +const unsigned char zgb_nums_map_3_map[50] = { + 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09, + 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13, + 0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d, + 0xf6,0xf7,0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0xff, +}; + +#include "MapInfo.h" +BANKREF_EXTERN(zgb_nums_map_3_tiles_info) +const struct MapInfo zgb_nums_map_3 = { + .data=zgb_nums_map_3_map, //map + .width=10, //with + .height=5, //height + .attributes=0, //map attributes + .tiles_bank=BANK(zgb_nums_map_3_tiles_info), //tiles bank + .tiles=&zgb_nums_map_3_tiles_info, //tiles info +}; diff --git a/gbdk-support/png2asset/testing/out/zgb_nums_map_3.h b/gbdk-support/png2asset/testing/out/zgb_nums_map_3.h @@ -0,0 +1,15 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_zgb_nums_map_3_H +#define METASPRITE_zgb_nums_map_3_H + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +#include "TilesInfo.h" +#include "MapInfo.h" + +extern const struct TilesInfo zgb_nums_map_3_tiles_info; +extern const struct MapInfo zgb_nums_map_3; + +#endif diff --git a/gbdk-support/png2asset/testing/out/zgb_nums_map_4.c b/gbdk-support/png2asset/testing/out/zgb_nums_map_4.c @@ -0,0 +1,169 @@ +//AUTOGENERATED FILE FROM png2asset + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +BANKREF(zgb_nums_map_4) + +const palette_color_t zgb_nums_map_4_palettes[4] = { + RGB8(255,255,255), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t zgb_nums_map_4_tiles[480] = { + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x1c,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x18,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x08,0x00,0x10,0x00, + 0x20,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x38,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x24,0x00, + 0x24,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x18,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x10,0x00,0x20,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x30,0x00, + 0x10,0x00,0x10,0x00, + 0x10,0x00,0x10,0x00, + 0x38,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x4c,0x00,0x52,0x00, + 0x52,0x00,0x52,0x00, + 0x0c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x24,0x00,0x22,0x00, + 0x22,0x00,0x22,0x00, + 0x22,0x00,0x02,0x00, + 0x00,0x00,0x40,0x00, + 0x5e,0x00,0x42,0x00, + 0x44,0x00,0x48,0x00, + 0x1e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x4c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0a,0x00,0x2a,0x00, + 0x2a,0x00,0x2e,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x54,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x48,0x00,0x48,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x2e,0x00,0x2a,0x00, + 0x2e,0x00,0x22,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x49,0x00,0x69,0x00, + 0x06,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x72,0x00,0x11,0x00, + 0x21,0x00,0x31,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x42,0x00,0x64,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x46,0x00,0x62,0x00, + 0x0e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x05,0x00,0x65,0x00, + 0x25,0x00,0x47,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x42,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x4a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x62,0x00, + 0x24,0x00,0x44,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x04,0x00,0x6a,0x00, + 0x24,0x00,0x4a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x35,0x00, + 0x17,0x00,0x21,0x00, + 0x31,0x00,0x00,0x00 + }; + + +const uint8_t zgb_nums_map_4_tile_pals[30] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +}; + +#include "TilesInfo.h" +BANKREF(zgb_nums_map_4_tiles_info) +const struct TilesInfo zgb_nums_map_4_tiles_info = { + .num_frames=30, //num tiles + .data=zgb_nums_map_4_tiles, //tiles + .num_pals=1, //num palettes + .pals=zgb_nums_map_4_palettes, //palettes + .color_data=zgb_nums_map_4_tile_pals, //tile palettes +}; + +const unsigned char zgb_nums_map_4_map[50] = { + 0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01,0x00, + 0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01,0x00, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13, + 0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d, + 0xf6,0xf7,0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0xff, +}; + +#include "MapInfo.h" +BANKREF_EXTERN(zgb_nums_map_4_tiles_info) +const struct MapInfo zgb_nums_map_4 = { + .data=zgb_nums_map_4_map, //map + .width=10, //with + .height=5, //height + .attributes=0, //map attributes + .tiles_bank=BANK(zgb_nums_map_4_tiles_info), //tiles bank + .tiles=&zgb_nums_map_4_tiles_info, //tiles info +}; diff --git a/gbdk-support/png2asset/testing/out/zgb_nums_map_4.h b/gbdk-support/png2asset/testing/out/zgb_nums_map_4.h @@ -0,0 +1,15 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_zgb_nums_map_4_H +#define METASPRITE_zgb_nums_map_4_H + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +#include "TilesInfo.h" +#include "MapInfo.h" + +extern const struct TilesInfo zgb_nums_map_4_tiles_info; +extern const struct MapInfo zgb_nums_map_4; + +#endif diff --git a/gbdk-support/png2asset/testing/out/zgb_nums_map_5.c b/gbdk-support/png2asset/testing/out/zgb_nums_map_5.c @@ -0,0 +1,209 @@ +//AUTOGENERATED FILE FROM png2asset + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +BANKREF(zgb_nums_map_5) + +const palette_color_t zgb_nums_map_5_palettes[4] = { + RGB8(255,255,255), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t zgb_nums_map_5_tiles[640] = { + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x30,0x00, + 0x10,0x00,0x10,0x00, + 0x10,0x00,0x10,0x00, + 0x38,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x10,0x00,0x20,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x18,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x24,0x00, + 0x24,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x38,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x08,0x00,0x10,0x00, + 0x20,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x18,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x1c,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x4c,0x00,0x52,0x00, + 0x52,0x00,0x52,0x00, + 0x0c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x24,0x00,0x22,0x00, + 0x22,0x00,0x22,0x00, + 0x22,0x00,0x02,0x00, + 0x00,0x00,0x40,0x00, + 0x5e,0x00,0x42,0x00, + 0x44,0x00,0x48,0x00, + 0x1e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x4c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0a,0x00,0x2a,0x00, + 0x2a,0x00,0x2e,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x54,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x48,0x00,0x48,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x2e,0x00,0x2a,0x00, + 0x2e,0x00,0x22,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x49,0x00,0x69,0x00, + 0x06,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x72,0x00,0x11,0x00, + 0x21,0x00,0x31,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x42,0x00,0x64,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x46,0x00,0x62,0x00, + 0x0e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x05,0x00,0x65,0x00, + 0x25,0x00,0x47,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x42,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x4a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x62,0x00, + 0x24,0x00,0x44,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x04,0x00,0x6a,0x00, + 0x24,0x00,0x4a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x35,0x00, + 0x17,0x00,0x21,0x00, + 0x31,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x69,0x00,0x29,0x00, + 0x66,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x62,0x00,0x21,0x00, + 0x61,0x00,0x21,0x00, + 0x61,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x62,0x00,0x24,0x00, + 0x6f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x66,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x65,0x00,0x25,0x00, + 0x65,0x00,0x27,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x2a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x64,0x00,0x24,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x37,0x00,0x15,0x00, + 0x37,0x00,0x11,0x00, + 0x31,0x00,0x00,0x00 + }; + + +const uint8_t zgb_nums_map_5_tile_pals[40] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +}; + +#include "TilesInfo.h" +BANKREF(zgb_nums_map_5_tiles_info) +const struct TilesInfo zgb_nums_map_5_tiles_info = { + .num_frames=40, //num tiles + .data=zgb_nums_map_5_tiles, //tiles + .num_pals=1, //num palettes + .pals=zgb_nums_map_5_palettes, //palettes + .color_data=zgb_nums_map_5_tile_pals, //tile palettes +}; + +const unsigned char zgb_nums_map_5_map[50] = { + 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09, + 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13, + 0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d, + 0x1e,0x1f,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27, +}; + +#include "MapInfo.h" +BANKREF_EXTERN(zgb_nums_map_5_tiles_info) +const struct MapInfo zgb_nums_map_5 = { + .data=zgb_nums_map_5_map, //map + .width=10, //with + .height=5, //height + .attributes=0, //map attributes + .tiles_bank=BANK(zgb_nums_map_5_tiles_info), //tiles bank + .tiles=&zgb_nums_map_5_tiles_info, //tiles info +}; diff --git a/gbdk-support/png2asset/testing/out/zgb_nums_map_5.h b/gbdk-support/png2asset/testing/out/zgb_nums_map_5.h @@ -0,0 +1,15 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_zgb_nums_map_5_H +#define METASPRITE_zgb_nums_map_5_H + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +#include "TilesInfo.h" +#include "MapInfo.h" + +extern const struct TilesInfo zgb_nums_map_5_tiles_info; +extern const struct MapInfo zgb_nums_map_5; + +#endif diff --git a/gbdk-support/png2asset/testing/out/zgb_nums_map_6.c b/gbdk-support/png2asset/testing/out/zgb_nums_map_6.c @@ -0,0 +1,209 @@ +//AUTOGENERATED FILE FROM png2asset + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +BANKREF(zgb_nums_map_6) + +const palette_color_t zgb_nums_map_6_palettes[4] = { + RGB8(255,255,255), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t zgb_nums_map_6_tiles[640] = { + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x1c,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x18,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x08,0x00,0x10,0x00, + 0x20,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x38,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x24,0x00, + 0x24,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x18,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x10,0x00,0x20,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x30,0x00, + 0x10,0x00,0x10,0x00, + 0x10,0x00,0x10,0x00, + 0x38,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x4c,0x00,0x52,0x00, + 0x52,0x00,0x52,0x00, + 0x0c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x24,0x00,0x22,0x00, + 0x22,0x00,0x22,0x00, + 0x22,0x00,0x02,0x00, + 0x00,0x00,0x40,0x00, + 0x5e,0x00,0x42,0x00, + 0x44,0x00,0x48,0x00, + 0x1e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x4c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0a,0x00,0x2a,0x00, + 0x2a,0x00,0x2e,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x54,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x48,0x00,0x48,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x2e,0x00,0x2a,0x00, + 0x2e,0x00,0x22,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x49,0x00,0x69,0x00, + 0x06,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x72,0x00,0x11,0x00, + 0x21,0x00,0x31,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x42,0x00,0x64,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x46,0x00,0x62,0x00, + 0x0e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x05,0x00,0x65,0x00, + 0x25,0x00,0x47,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x42,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x4a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x62,0x00, + 0x24,0x00,0x44,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x04,0x00,0x6a,0x00, + 0x24,0x00,0x4a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x35,0x00, + 0x17,0x00,0x21,0x00, + 0x31,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x69,0x00,0x29,0x00, + 0x66,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x62,0x00,0x21,0x00, + 0x61,0x00,0x21,0x00, + 0x61,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x62,0x00,0x24,0x00, + 0x6f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x66,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x65,0x00,0x25,0x00, + 0x65,0x00,0x27,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x2a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x64,0x00,0x24,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x37,0x00,0x15,0x00, + 0x37,0x00,0x11,0x00, + 0x31,0x00,0x00,0x00 + }; + + +const uint8_t zgb_nums_map_6_tile_pals[40] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +}; + +#include "TilesInfo.h" +BANKREF(zgb_nums_map_6_tiles_info) +const struct TilesInfo zgb_nums_map_6_tiles_info = { + .num_frames=40, //num tiles + .data=zgb_nums_map_6_tiles, //tiles + .num_pals=1, //num palettes + .pals=zgb_nums_map_6_palettes, //palettes + .color_data=zgb_nums_map_6_tile_pals, //tile palettes +}; + +const unsigned char zgb_nums_map_6_map[50] = { + 0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01,0x00, + 0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01,0x00, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13, + 0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d, + 0x1e,0x1f,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27, +}; + +#include "MapInfo.h" +BANKREF_EXTERN(zgb_nums_map_6_tiles_info) +const struct MapInfo zgb_nums_map_6 = { + .data=zgb_nums_map_6_map, //map + .width=10, //with + .height=5, //height + .attributes=0, //map attributes + .tiles_bank=BANK(zgb_nums_map_6_tiles_info), //tiles bank + .tiles=&zgb_nums_map_6_tiles_info, //tiles info +}; diff --git a/gbdk-support/png2asset/testing/out/zgb_nums_map_6.h b/gbdk-support/png2asset/testing/out/zgb_nums_map_6.h @@ -0,0 +1,15 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_zgb_nums_map_6_H +#define METASPRITE_zgb_nums_map_6_H + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +#include "TilesInfo.h" +#include "MapInfo.h" + +extern const struct TilesInfo zgb_nums_map_6_tiles_info; +extern const struct MapInfo zgb_nums_map_6; + +#endif diff --git a/gbdk-support/png2asset/testing/out/zgb_nums_map_7.c b/gbdk-support/png2asset/testing/out/zgb_nums_map_7.c @@ -0,0 +1,209 @@ +//AUTOGENERATED FILE FROM png2asset + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +BANKREF(zgb_nums_map_7) + +const palette_color_t zgb_nums_map_7_palettes[4] = { + RGB8(255,255,255), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t zgb_nums_map_7_tiles[640] = { + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x30,0x00, + 0x10,0x00,0x10,0x00, + 0x10,0x00,0x10,0x00, + 0x38,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x10,0x00,0x20,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x18,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x24,0x00, + 0x24,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x38,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x08,0x00,0x10,0x00, + 0x20,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x18,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x1c,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x30,0x00, + 0x10,0x00,0x10,0x00, + 0x10,0x00,0x10,0x00, + 0x38,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x10,0x00,0x20,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x18,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x24,0x00, + 0x24,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x38,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x08,0x00,0x10,0x00, + 0x20,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x18,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x1c,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x4c,0x00,0x52,0x00, + 0x52,0x00,0x52,0x00, + 0x0c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x24,0x00,0x22,0x00, + 0x22,0x00,0x22,0x00, + 0x22,0x00,0x02,0x00, + 0x00,0x00,0x40,0x00, + 0x5e,0x00,0x42,0x00, + 0x44,0x00,0x48,0x00, + 0x1e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x4c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0a,0x00,0x2a,0x00, + 0x2a,0x00,0x2e,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x54,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x48,0x00,0x48,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x2e,0x00,0x2a,0x00, + 0x2e,0x00,0x22,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x49,0x00,0x69,0x00, + 0x06,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x72,0x00,0x11,0x00, + 0x21,0x00,0x31,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x42,0x00,0x64,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x46,0x00,0x62,0x00, + 0x0e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x05,0x00,0x65,0x00, + 0x25,0x00,0x47,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x42,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x4a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x62,0x00, + 0x24,0x00,0x44,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x04,0x00,0x6a,0x00, + 0x24,0x00,0x4a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x35,0x00, + 0x17,0x00,0x21,0x00, + 0x31,0x00,0x00,0x00 + }; + + +const uint8_t zgb_nums_map_7_tile_pals[40] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +}; + +#include "TilesInfo.h" +BANKREF(zgb_nums_map_7_tiles_info) +const struct TilesInfo zgb_nums_map_7_tiles_info = { + .num_frames=40, //num tiles + .data=zgb_nums_map_7_tiles, //tiles + .num_pals=1, //num palettes + .pals=zgb_nums_map_7_palettes, //palettes + .color_data=zgb_nums_map_7_tile_pals, //tile palettes +}; + +const unsigned char zgb_nums_map_7_map[50] = { + 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13, + 0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d, + 0x1e,0x1f,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27, + 0xf6,0xf7,0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0xff, +}; + +#include "MapInfo.h" +BANKREF_EXTERN(zgb_nums_map_7_tiles_info) +const struct MapInfo zgb_nums_map_7 = { + .data=zgb_nums_map_7_map, //map + .width=10, //with + .height=5, //height + .attributes=0, //map attributes + .tiles_bank=BANK(zgb_nums_map_7_tiles_info), //tiles bank + .tiles=&zgb_nums_map_7_tiles_info, //tiles info +}; diff --git a/gbdk-support/png2asset/testing/out/zgb_nums_map_7.h b/gbdk-support/png2asset/testing/out/zgb_nums_map_7.h @@ -0,0 +1,15 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_zgb_nums_map_7_H +#define METASPRITE_zgb_nums_map_7_H + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +#include "TilesInfo.h" +#include "MapInfo.h" + +extern const struct TilesInfo zgb_nums_map_7_tiles_info; +extern const struct MapInfo zgb_nums_map_7; + +#endif diff --git a/gbdk-support/png2asset/testing/out/zgb_nums_map_8.c b/gbdk-support/png2asset/testing/out/zgb_nums_map_8.c @@ -0,0 +1,169 @@ +//AUTOGENERATED FILE FROM png2asset + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +BANKREF(zgb_nums_map_8) + +const palette_color_t zgb_nums_map_8_palettes[4] = { + RGB8(255,255,255), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t zgb_nums_map_8_tiles[480] = { + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x1c,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x18,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x08,0x00,0x10,0x00, + 0x20,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x38,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x24,0x00, + 0x24,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x18,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x10,0x00,0x20,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x30,0x00, + 0x10,0x00,0x10,0x00, + 0x10,0x00,0x10,0x00, + 0x38,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x4c,0x00,0x52,0x00, + 0x52,0x00,0x52,0x00, + 0x0c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x24,0x00,0x22,0x00, + 0x22,0x00,0x22,0x00, + 0x22,0x00,0x02,0x00, + 0x00,0x00,0x40,0x00, + 0x5e,0x00,0x42,0x00, + 0x44,0x00,0x48,0x00, + 0x1e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x4c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0a,0x00,0x2a,0x00, + 0x2a,0x00,0x2e,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x54,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x48,0x00,0x48,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x2e,0x00,0x2a,0x00, + 0x2e,0x00,0x22,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x49,0x00,0x69,0x00, + 0x06,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x72,0x00,0x11,0x00, + 0x21,0x00,0x31,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x42,0x00,0x64,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x46,0x00,0x62,0x00, + 0x0e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x05,0x00,0x65,0x00, + 0x25,0x00,0x47,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x42,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x4a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x62,0x00, + 0x24,0x00,0x44,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x04,0x00,0x6a,0x00, + 0x24,0x00,0x4a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x35,0x00, + 0x17,0x00,0x21,0x00, + 0x31,0x00,0x00,0x00 + }; + + +const uint8_t zgb_nums_map_8_tile_pals[30] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +}; + +#include "TilesInfo.h" +BANKREF(zgb_nums_map_8_tiles_info) +const struct TilesInfo zgb_nums_map_8_tiles_info = { + .num_frames=30, //num tiles + .data=zgb_nums_map_8_tiles, //tiles + .num_pals=1, //num palettes + .pals=zgb_nums_map_8_palettes, //palettes + .color_data=zgb_nums_map_8_tile_pals, //tile palettes +}; + +const unsigned char zgb_nums_map_8_map[50] = { + 0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01,0x00, + 0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01,0x00, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13, + 0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d, + 0xf6,0xf7,0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0xff, +}; + +#include "MapInfo.h" +BANKREF_EXTERN(zgb_nums_map_8_tiles_info) +const struct MapInfo zgb_nums_map_8 = { + .data=zgb_nums_map_8_map, //map + .width=10, //with + .height=5, //height + .attributes=0, //map attributes + .tiles_bank=BANK(zgb_nums_map_8_tiles_info), //tiles bank + .tiles=&zgb_nums_map_8_tiles_info, //tiles info +}; diff --git a/gbdk-support/png2asset/testing/out/zgb_nums_map_8.h b/gbdk-support/png2asset/testing/out/zgb_nums_map_8.h @@ -0,0 +1,15 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_zgb_nums_map_8_H +#define METASPRITE_zgb_nums_map_8_H + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +#include "TilesInfo.h" +#include "MapInfo.h" + +extern const struct TilesInfo zgb_nums_map_8_tiles_info; +extern const struct MapInfo zgb_nums_map_8; + +#endif diff --git a/gbdk-support/png2asset/testing/ref/zgb_nums_map_1.c b/gbdk-support/png2asset/testing/ref/zgb_nums_map_1.c @@ -0,0 +1,209 @@ +//AUTOGENERATED FILE FROM png2asset + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +BANKREF(zgb_nums_map_1) + +const palette_color_t zgb_nums_map_1_palettes[4] = { + RGB8(255,255,255), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t zgb_nums_map_1_tiles[640] = { + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x30,0x00, + 0x10,0x00,0x10,0x00, + 0x10,0x00,0x10,0x00, + 0x38,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x10,0x00,0x20,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x18,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x24,0x00, + 0x24,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x38,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x08,0x00,0x10,0x00, + 0x20,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x18,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x1c,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x4c,0x00,0x52,0x00, + 0x52,0x00,0x52,0x00, + 0x0c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x24,0x00,0x22,0x00, + 0x22,0x00,0x22,0x00, + 0x22,0x00,0x02,0x00, + 0x00,0x00,0x40,0x00, + 0x5e,0x00,0x42,0x00, + 0x44,0x00,0x48,0x00, + 0x1e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x4c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0a,0x00,0x2a,0x00, + 0x2a,0x00,0x2e,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x54,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x48,0x00,0x48,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x2e,0x00,0x2a,0x00, + 0x2e,0x00,0x22,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x49,0x00,0x69,0x00, + 0x06,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x72,0x00,0x11,0x00, + 0x21,0x00,0x31,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x42,0x00,0x64,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x46,0x00,0x62,0x00, + 0x0e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x05,0x00,0x65,0x00, + 0x25,0x00,0x47,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x42,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x4a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x62,0x00, + 0x24,0x00,0x44,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x04,0x00,0x6a,0x00, + 0x24,0x00,0x4a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x35,0x00, + 0x17,0x00,0x21,0x00, + 0x31,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x69,0x00,0x29,0x00, + 0x66,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x62,0x00,0x21,0x00, + 0x61,0x00,0x21,0x00, + 0x61,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x62,0x00,0x24,0x00, + 0x6f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x66,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x65,0x00,0x25,0x00, + 0x65,0x00,0x27,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x2a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x64,0x00,0x24,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x37,0x00,0x15,0x00, + 0x37,0x00,0x11,0x00, + 0x31,0x00,0x00,0x00 + }; + + +const uint8_t zgb_nums_map_1_tile_pals[40] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +}; + +#include "TilesInfo.h" +BANKREF(zgb_nums_map_1_tiles_info) +const struct TilesInfo zgb_nums_map_1_tiles_info = { + 40, //num tiles + zgb_nums_map_1_tiles, //tiles + 1, //num palettes + zgb_nums_map_1_palettes, //palettes + zgb_nums_map_1_tile_pals, //tile palettes +}; + +const unsigned char zgb_nums_map_1_map[50] = { + 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09, + 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13, + 0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d, + 0x1e,0x1f,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27, +}; + +#include "MapInfo.h" +BANKREF_EXTERN(zgb_nums_map_1_tiles_info) +const struct MapInfo zgb_nums_map_1 = { + zgb_nums_map_1_map, //map + 10, //with + 5, //height + 0, //map attributes + BANK(zgb_nums_map_1_tiles_info), //tiles bank + &zgb_nums_map_1_tiles_info, //tiles info +}; diff --git a/gbdk-support/png2asset/testing/ref/zgb_nums_map_1.h b/gbdk-support/png2asset/testing/ref/zgb_nums_map_1.h @@ -0,0 +1,15 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_zgb_nums_map_1_H +#define METASPRITE_zgb_nums_map_1_H + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +#include "TilesInfo.h" +#include "MapInfo.h" + +extern const struct TilesInfo zgb_nums_map_1_tiles_info; +extern const struct MapInfo zgb_nums_map_1; + +#endif diff --git a/gbdk-support/png2asset/testing/ref/zgb_nums_map_2.c b/gbdk-support/png2asset/testing/ref/zgb_nums_map_2.c @@ -0,0 +1,165 @@ +//AUTOGENERATED FILE FROM png2asset + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +BANKREF(zgb_nums_map_2) + + +const uint8_t zgb_nums_map_2_tiles[480] = { + 0x00,0x00,0x00,0x00, + 0x4c,0x00,0x52,0x00, + 0x52,0x00,0x52,0x00, + 0x0c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x24,0x00,0x22,0x00, + 0x22,0x00,0x22,0x00, + 0x22,0x00,0x02,0x00, + 0x00,0x00,0x40,0x00, + 0x5e,0x00,0x42,0x00, + 0x44,0x00,0x48,0x00, + 0x1e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x4c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0a,0x00,0x2a,0x00, + 0x2a,0x00,0x2e,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x54,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x48,0x00,0x48,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x2e,0x00,0x2a,0x00, + 0x2e,0x00,0x22,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x49,0x00,0x69,0x00, + 0x06,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x72,0x00,0x11,0x00, + 0x21,0x00,0x31,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x42,0x00,0x64,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x46,0x00,0x62,0x00, + 0x0e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x05,0x00,0x65,0x00, + 0x25,0x00,0x47,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x42,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x4a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x62,0x00, + 0x24,0x00,0x44,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x04,0x00,0x6a,0x00, + 0x24,0x00,0x4a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x35,0x00, + 0x17,0x00,0x21,0x00, + 0x31,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x69,0x00,0x29,0x00, + 0x66,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x62,0x00,0x21,0x00, + 0x61,0x00,0x21,0x00, + 0x61,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x62,0x00,0x24,0x00, + 0x6f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x66,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x65,0x00,0x25,0x00, + 0x65,0x00,0x27,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x2a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x64,0x00,0x24,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x37,0x00,0x15,0x00, + 0x37,0x00,0x11,0x00, + 0x31,0x00,0x00,0x00 + }; + + +const uint8_t zgb_nums_map_2_tile_pals[30] = { + , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +}; + +#include "TilesInfo.h" +BANKREF(zgb_nums_map_2_tiles_info) +const struct TilesInfo zgb_nums_map_2_tiles_info = { + 40, //num tiles + zgb_nums_map_2_tiles, //tiles + 1, //num palettes + zgb_nums_map_2_palettes, //palettes + zgb_nums_map_2_tile_pals, //tile palettes +}; + +const unsigned char zgb_nums_map_2_map[50] = { + 0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01,0x00, + 0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01,0x00, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13, + 0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d, + 0x1e,0x1f,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27, +}; + +#include "MapInfo.h" +BANKREF_EXTERN(zgb_nums_map_2_tiles_info) +const struct MapInfo zgb_nums_map_2 = { + zgb_nums_map_2_map, //map + 10, //with + 5, //height + 0, //map attributes + BANK(zgb_nums_map_2_tiles_info), //tiles bank + &zgb_nums_map_2_tiles_info, //tiles info +}; diff --git a/gbdk-support/png2asset/testing/ref/zgb_nums_map_2.h b/gbdk-support/png2asset/testing/ref/zgb_nums_map_2.h @@ -0,0 +1,15 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_zgb_nums_map_2_H +#define METASPRITE_zgb_nums_map_2_H + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +#include "TilesInfo.h" +#include "MapInfo.h" + +extern const struct TilesInfo zgb_nums_map_2_tiles_info; +extern const struct MapInfo zgb_nums_map_2; + +#endif diff --git a/gbdk-support/png2asset/testing/ref/zgb_nums_map_3.c b/gbdk-support/png2asset/testing/ref/zgb_nums_map_3.c @@ -0,0 +1,209 @@ +//AUTOGENERATED FILE FROM png2asset + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +BANKREF(zgb_nums_map_3) + +const palette_color_t zgb_nums_map_3_palettes[4] = { + RGB8(255,255,255), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t zgb_nums_map_3_tiles[640] = { + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x30,0x00, + 0x10,0x00,0x10,0x00, + 0x10,0x00,0x10,0x00, + 0x38,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x10,0x00,0x20,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x18,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x24,0x00, + 0x24,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x38,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x08,0x00,0x10,0x00, + 0x20,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x18,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x1c,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x4c,0x00,0x52,0x00, + 0x52,0x00,0x52,0x00, + 0x0c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x24,0x00,0x22,0x00, + 0x22,0x00,0x22,0x00, + 0x22,0x00,0x02,0x00, + 0x00,0x00,0x40,0x00, + 0x5e,0x00,0x42,0x00, + 0x44,0x00,0x48,0x00, + 0x1e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x4c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0a,0x00,0x2a,0x00, + 0x2a,0x00,0x2e,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x54,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x48,0x00,0x48,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x2e,0x00,0x2a,0x00, + 0x2e,0x00,0x22,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x49,0x00,0x69,0x00, + 0x06,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x72,0x00,0x11,0x00, + 0x21,0x00,0x31,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x42,0x00,0x64,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x46,0x00,0x62,0x00, + 0x0e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x05,0x00,0x65,0x00, + 0x25,0x00,0x47,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x42,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x4a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x62,0x00, + 0x24,0x00,0x44,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x04,0x00,0x6a,0x00, + 0x24,0x00,0x4a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x35,0x00, + 0x17,0x00,0x21,0x00, + 0x31,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x69,0x00,0x29,0x00, + 0x66,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x62,0x00,0x21,0x00, + 0x61,0x00,0x21,0x00, + 0x61,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x62,0x00,0x24,0x00, + 0x6f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x66,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x65,0x00,0x25,0x00, + 0x65,0x00,0x27,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x2a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x64,0x00,0x24,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x37,0x00,0x15,0x00, + 0x37,0x00,0x11,0x00, + 0x31,0x00,0x00,0x00 + }; + + +const uint8_t zgb_nums_map_3_tile_pals[40] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +}; + +#include "TilesInfo.h" +BANKREF(zgb_nums_map_3_tiles_info) +const struct TilesInfo zgb_nums_map_3_tiles_info = { + 40, //num tiles + zgb_nums_map_3_tiles, //tiles + 1, //num palettes + zgb_nums_map_3_palettes, //palettes + zgb_nums_map_3_tile_pals, //tile palettes +}; + +const unsigned char zgb_nums_map_3_map[50] = { + 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09, + 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13, + 0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d, + 0x1e,0x1f,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27, +}; + +#include "MapInfo.h" +BANKREF_EXTERN(zgb_nums_map_3_tiles_info) +const struct MapInfo zgb_nums_map_3 = { + zgb_nums_map_3_map, //map + 10, //with + 5, //height + 0, //map attributes + BANK(zgb_nums_map_3_tiles_info), //tiles bank + &zgb_nums_map_3_tiles_info, //tiles info +}; diff --git a/gbdk-support/png2asset/testing/ref/zgb_nums_map_3.h b/gbdk-support/png2asset/testing/ref/zgb_nums_map_3.h @@ -0,0 +1,15 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_zgb_nums_map_3_H +#define METASPRITE_zgb_nums_map_3_H + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +#include "TilesInfo.h" +#include "MapInfo.h" + +extern const struct TilesInfo zgb_nums_map_3_tiles_info; +extern const struct MapInfo zgb_nums_map_3; + +#endif diff --git a/gbdk-support/png2asset/testing/ref/zgb_nums_map_4.c b/gbdk-support/png2asset/testing/ref/zgb_nums_map_4.c @@ -0,0 +1,165 @@ +//AUTOGENERATED FILE FROM png2asset + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +BANKREF(zgb_nums_map_4) + + +const uint8_t zgb_nums_map_4_tiles[480] = { + 0x00,0x00,0x00,0x00, + 0x4c,0x00,0x52,0x00, + 0x52,0x00,0x52,0x00, + 0x0c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x24,0x00,0x22,0x00, + 0x22,0x00,0x22,0x00, + 0x22,0x00,0x02,0x00, + 0x00,0x00,0x40,0x00, + 0x5e,0x00,0x42,0x00, + 0x44,0x00,0x48,0x00, + 0x1e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x4c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0a,0x00,0x2a,0x00, + 0x2a,0x00,0x2e,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x54,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x48,0x00,0x48,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x2e,0x00,0x2a,0x00, + 0x2e,0x00,0x22,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x49,0x00,0x69,0x00, + 0x06,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x72,0x00,0x11,0x00, + 0x21,0x00,0x31,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x42,0x00,0x64,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x46,0x00,0x62,0x00, + 0x0e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x05,0x00,0x65,0x00, + 0x25,0x00,0x47,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x42,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x4a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x62,0x00, + 0x24,0x00,0x44,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x04,0x00,0x6a,0x00, + 0x24,0x00,0x4a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x35,0x00, + 0x17,0x00,0x21,0x00, + 0x31,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x69,0x00,0x29,0x00, + 0x66,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x62,0x00,0x21,0x00, + 0x61,0x00,0x21,0x00, + 0x61,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x62,0x00,0x24,0x00, + 0x6f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x66,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x65,0x00,0x25,0x00, + 0x65,0x00,0x27,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x2a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x64,0x00,0x24,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x37,0x00,0x15,0x00, + 0x37,0x00,0x11,0x00, + 0x31,0x00,0x00,0x00 + }; + + +const uint8_t zgb_nums_map_4_tile_pals[30] = { + , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +}; + +#include "TilesInfo.h" +BANKREF(zgb_nums_map_4_tiles_info) +const struct TilesInfo zgb_nums_map_4_tiles_info = { + 40, //num tiles + zgb_nums_map_4_tiles, //tiles + 1, //num palettes + zgb_nums_map_4_palettes, //palettes + zgb_nums_map_4_tile_pals, //tile palettes +}; + +const unsigned char zgb_nums_map_4_map[50] = { + 0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01,0x00, + 0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01,0x00, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13, + 0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d, + 0x1e,0x1f,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27, +}; + +#include "MapInfo.h" +BANKREF_EXTERN(zgb_nums_map_4_tiles_info) +const struct MapInfo zgb_nums_map_4 = { + zgb_nums_map_4_map, //map + 10, //with + 5, //height + 0, //map attributes + BANK(zgb_nums_map_4_tiles_info), //tiles bank + &zgb_nums_map_4_tiles_info, //tiles info +}; diff --git a/gbdk-support/png2asset/testing/ref/zgb_nums_map_4.h b/gbdk-support/png2asset/testing/ref/zgb_nums_map_4.h @@ -0,0 +1,15 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_zgb_nums_map_4_H +#define METASPRITE_zgb_nums_map_4_H + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +#include "TilesInfo.h" +#include "MapInfo.h" + +extern const struct TilesInfo zgb_nums_map_4_tiles_info; +extern const struct MapInfo zgb_nums_map_4; + +#endif diff --git a/gbdk-support/png2asset/testing/ref/zgb_nums_map_5.c b/gbdk-support/png2asset/testing/ref/zgb_nums_map_5.c @@ -0,0 +1,209 @@ +//AUTOGENERATED FILE FROM png2asset + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +BANKREF(zgb_nums_map_5) + +const palette_color_t zgb_nums_map_5_palettes[4] = { + RGB8(255,255,255), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t zgb_nums_map_5_tiles[640] = { + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x30,0x00, + 0x10,0x00,0x10,0x00, + 0x10,0x00,0x10,0x00, + 0x38,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x10,0x00,0x20,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x18,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x24,0x00, + 0x24,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x38,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x08,0x00,0x10,0x00, + 0x20,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x18,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x1c,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x4c,0x00,0x52,0x00, + 0x52,0x00,0x52,0x00, + 0x0c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x24,0x00,0x22,0x00, + 0x22,0x00,0x22,0x00, + 0x22,0x00,0x02,0x00, + 0x00,0x00,0x40,0x00, + 0x5e,0x00,0x42,0x00, + 0x44,0x00,0x48,0x00, + 0x1e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x4c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0a,0x00,0x2a,0x00, + 0x2a,0x00,0x2e,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x54,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x48,0x00,0x48,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x2e,0x00,0x2a,0x00, + 0x2e,0x00,0x22,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x49,0x00,0x69,0x00, + 0x06,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x72,0x00,0x11,0x00, + 0x21,0x00,0x31,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x42,0x00,0x64,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x46,0x00,0x62,0x00, + 0x0e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x05,0x00,0x65,0x00, + 0x25,0x00,0x47,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x42,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x4a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x62,0x00, + 0x24,0x00,0x44,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x04,0x00,0x6a,0x00, + 0x24,0x00,0x4a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x35,0x00, + 0x17,0x00,0x21,0x00, + 0x31,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x69,0x00,0x29,0x00, + 0x66,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x62,0x00,0x21,0x00, + 0x61,0x00,0x21,0x00, + 0x61,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x62,0x00,0x24,0x00, + 0x6f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x66,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x65,0x00,0x25,0x00, + 0x65,0x00,0x27,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x2a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x64,0x00,0x24,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x37,0x00,0x15,0x00, + 0x37,0x00,0x11,0x00, + 0x31,0x00,0x00,0x00 + }; + + +const uint8_t zgb_nums_map_5_tile_pals[40] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +}; + +#include "TilesInfo.h" +BANKREF(zgb_nums_map_5_tiles_info) +const struct TilesInfo zgb_nums_map_5_tiles_info = { + 40, //num tiles + zgb_nums_map_5_tiles, //tiles + 1, //num palettes + zgb_nums_map_5_palettes, //palettes + zgb_nums_map_5_tile_pals, //tile palettes +}; + +const unsigned char zgb_nums_map_5_map[50] = { + 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09, + 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13, + 0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d, + 0x1e,0x1f,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27, +}; + +#include "MapInfo.h" +BANKREF_EXTERN(zgb_nums_map_5_tiles_info) +const struct MapInfo zgb_nums_map_5 = { + zgb_nums_map_5_map, //map + 10, //with + 5, //height + 0, //map attributes + BANK(zgb_nums_map_5_tiles_info), //tiles bank + &zgb_nums_map_5_tiles_info, //tiles info +}; diff --git a/gbdk-support/png2asset/testing/ref/zgb_nums_map_5.h b/gbdk-support/png2asset/testing/ref/zgb_nums_map_5.h @@ -0,0 +1,15 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_zgb_nums_map_5_H +#define METASPRITE_zgb_nums_map_5_H + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +#include "TilesInfo.h" +#include "MapInfo.h" + +extern const struct TilesInfo zgb_nums_map_5_tiles_info; +extern const struct MapInfo zgb_nums_map_5; + +#endif diff --git a/gbdk-support/png2asset/testing/ref/zgb_nums_map_6.c b/gbdk-support/png2asset/testing/ref/zgb_nums_map_6.c @@ -0,0 +1,165 @@ +//AUTOGENERATED FILE FROM png2asset + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +BANKREF(zgb_nums_map_6) + + +const uint8_t zgb_nums_map_6_tiles[480] = { + 0x00,0x00,0x00,0x00, + 0x4c,0x00,0x52,0x00, + 0x52,0x00,0x52,0x00, + 0x0c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x24,0x00,0x22,0x00, + 0x22,0x00,0x22,0x00, + 0x22,0x00,0x02,0x00, + 0x00,0x00,0x40,0x00, + 0x5e,0x00,0x42,0x00, + 0x44,0x00,0x48,0x00, + 0x1e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x4c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0a,0x00,0x2a,0x00, + 0x2a,0x00,0x2e,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x54,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x48,0x00,0x48,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x2e,0x00,0x2a,0x00, + 0x2e,0x00,0x22,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x49,0x00,0x69,0x00, + 0x06,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x72,0x00,0x11,0x00, + 0x21,0x00,0x31,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x42,0x00,0x64,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x46,0x00,0x62,0x00, + 0x0e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x05,0x00,0x65,0x00, + 0x25,0x00,0x47,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x42,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x4a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x62,0x00, + 0x24,0x00,0x44,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x04,0x00,0x6a,0x00, + 0x24,0x00,0x4a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x35,0x00, + 0x17,0x00,0x21,0x00, + 0x31,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x69,0x00,0x29,0x00, + 0x66,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x62,0x00,0x21,0x00, + 0x61,0x00,0x21,0x00, + 0x61,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x62,0x00,0x24,0x00, + 0x6f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x66,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x65,0x00,0x25,0x00, + 0x65,0x00,0x27,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x2a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x64,0x00,0x24,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x37,0x00,0x15,0x00, + 0x37,0x00,0x11,0x00, + 0x31,0x00,0x00,0x00 + }; + + +const uint8_t zgb_nums_map_6_tile_pals[30] = { + , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +}; + +#include "TilesInfo.h" +BANKREF(zgb_nums_map_6_tiles_info) +const struct TilesInfo zgb_nums_map_6_tiles_info = { + 40, //num tiles + zgb_nums_map_6_tiles, //tiles + 1, //num palettes + zgb_nums_map_6_palettes, //palettes + zgb_nums_map_6_tile_pals, //tile palettes +}; + +const unsigned char zgb_nums_map_6_map[50] = { + 0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01,0x00, + 0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01,0x00, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13, + 0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d, + 0x1e,0x1f,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27, +}; + +#include "MapInfo.h" +BANKREF_EXTERN(zgb_nums_map_6_tiles_info) +const struct MapInfo zgb_nums_map_6 = { + zgb_nums_map_6_map, //map + 10, //with + 5, //height + 0, //map attributes + BANK(zgb_nums_map_6_tiles_info), //tiles bank + &zgb_nums_map_6_tiles_info, //tiles info +}; diff --git a/gbdk-support/png2asset/testing/ref/zgb_nums_map_6.h b/gbdk-support/png2asset/testing/ref/zgb_nums_map_6.h @@ -0,0 +1,15 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_zgb_nums_map_6_H +#define METASPRITE_zgb_nums_map_6_H + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +#include "TilesInfo.h" +#include "MapInfo.h" + +extern const struct TilesInfo zgb_nums_map_6_tiles_info; +extern const struct MapInfo zgb_nums_map_6; + +#endif diff --git a/gbdk-support/png2asset/testing/ref/zgb_nums_map_7.c b/gbdk-support/png2asset/testing/ref/zgb_nums_map_7.c @@ -0,0 +1,249 @@ +//AUTOGENERATED FILE FROM png2asset + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +BANKREF(zgb_nums_map_7) + +const palette_color_t zgb_nums_map_7_palettes[4] = { + RGB8(255,255,255), RGB8( 0, 0, 0), RGB8( 0, 0, 0), RGB8( 0, 0, 0) + +}; + +const uint8_t zgb_nums_map_7_tiles[800] = { + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x30,0x00, + 0x10,0x00,0x10,0x00, + 0x10,0x00,0x10,0x00, + 0x38,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x10,0x00,0x20,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x18,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x24,0x00, + 0x24,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x38,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x08,0x00,0x10,0x00, + 0x20,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x18,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x1c,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x30,0x00, + 0x10,0x00,0x10,0x00, + 0x10,0x00,0x10,0x00, + 0x38,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x10,0x00,0x20,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x18,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x24,0x00, + 0x24,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x3c,0x00, + 0x04,0x00,0x04,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x20,0x00,0x38,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x04,0x00,0x08,0x00, + 0x08,0x00,0x10,0x00, + 0x20,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x18,0x00, + 0x24,0x00,0x24,0x00, + 0x3c,0x00,0x00,0x00, + 0x00,0x00,0x3c,0x00, + 0x24,0x00,0x24,0x00, + 0x1c,0x00,0x04,0x00, + 0x04,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x4c,0x00,0x52,0x00, + 0x52,0x00,0x52,0x00, + 0x0c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x24,0x00,0x22,0x00, + 0x22,0x00,0x22,0x00, + 0x22,0x00,0x02,0x00, + 0x00,0x00,0x40,0x00, + 0x5e,0x00,0x42,0x00, + 0x44,0x00,0x48,0x00, + 0x1e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x4c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0a,0x00,0x2a,0x00, + 0x2a,0x00,0x2e,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x54,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x48,0x00,0x48,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x2e,0x00,0x2a,0x00, + 0x2e,0x00,0x22,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x49,0x00,0x69,0x00, + 0x06,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x72,0x00,0x11,0x00, + 0x21,0x00,0x31,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x42,0x00,0x64,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x46,0x00,0x62,0x00, + 0x0e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x05,0x00,0x65,0x00, + 0x25,0x00,0x47,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x42,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x4a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x62,0x00, + 0x24,0x00,0x44,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x04,0x00,0x6a,0x00, + 0x24,0x00,0x4a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x35,0x00, + 0x17,0x00,0x21,0x00, + 0x31,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x69,0x00,0x29,0x00, + 0x66,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x62,0x00,0x21,0x00, + 0x61,0x00,0x21,0x00, + 0x61,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x62,0x00,0x24,0x00, + 0x6f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x66,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x65,0x00,0x25,0x00, + 0x65,0x00,0x27,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x2a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x64,0x00,0x24,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x37,0x00,0x15,0x00, + 0x37,0x00,0x11,0x00, + 0x31,0x00,0x00,0x00 + }; + + +const uint8_t zgb_nums_map_7_tile_pals[50] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +}; + +#include "TilesInfo.h" +BANKREF(zgb_nums_map_7_tiles_info) +const struct TilesInfo zgb_nums_map_7_tiles_info = { + 50, //num tiles + zgb_nums_map_7_tiles, //tiles + 1, //num palettes + zgb_nums_map_7_palettes, //palettes + zgb_nums_map_7_tile_pals, //tile palettes +}; + +const unsigned char zgb_nums_map_7_map[50] = { + 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13, + 0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d, + 0x1e,0x1f,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27, + 0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,0x30,0x31, +}; + +#include "MapInfo.h" +BANKREF_EXTERN(zgb_nums_map_7_tiles_info) +const struct MapInfo zgb_nums_map_7 = { + zgb_nums_map_7_map, //map + 10, //with + 5, //height + 0, //map attributes + BANK(zgb_nums_map_7_tiles_info), //tiles bank + &zgb_nums_map_7_tiles_info, //tiles info +}; diff --git a/gbdk-support/png2asset/testing/ref/zgb_nums_map_7.h b/gbdk-support/png2asset/testing/ref/zgb_nums_map_7.h @@ -0,0 +1,15 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_zgb_nums_map_7_H +#define METASPRITE_zgb_nums_map_7_H + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +#include "TilesInfo.h" +#include "MapInfo.h" + +extern const struct TilesInfo zgb_nums_map_7_tiles_info; +extern const struct MapInfo zgb_nums_map_7; + +#endif diff --git a/gbdk-support/png2asset/testing/ref/zgb_nums_map_8.c b/gbdk-support/png2asset/testing/ref/zgb_nums_map_8.c @@ -0,0 +1,165 @@ +//AUTOGENERATED FILE FROM png2asset + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +BANKREF(zgb_nums_map_8) + + +const uint8_t zgb_nums_map_8_tiles[480] = { + 0x00,0x00,0x00,0x00, + 0x4c,0x00,0x52,0x00, + 0x52,0x00,0x52,0x00, + 0x0c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x24,0x00,0x22,0x00, + 0x22,0x00,0x22,0x00, + 0x22,0x00,0x02,0x00, + 0x00,0x00,0x40,0x00, + 0x5e,0x00,0x42,0x00, + 0x44,0x00,0x48,0x00, + 0x1e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x4c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0a,0x00,0x2a,0x00, + 0x2a,0x00,0x2e,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x44,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x50,0x00, + 0x5c,0x00,0x54,0x00, + 0x5c,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x5c,0x00,0x44,0x00, + 0x48,0x00,0x48,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x54,0x00, + 0x48,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x2e,0x00,0x2a,0x00, + 0x2e,0x00,0x22,0x00, + 0x22,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x49,0x00,0x69,0x00, + 0x06,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x72,0x00,0x11,0x00, + 0x21,0x00,0x31,0x00, + 0x01,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x42,0x00,0x64,0x00, + 0x0f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x46,0x00,0x62,0x00, + 0x0e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x05,0x00,0x65,0x00, + 0x25,0x00,0x47,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x42,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x68,0x00, + 0x2e,0x00,0x4a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x0e,0x00,0x62,0x00, + 0x24,0x00,0x44,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x04,0x00,0x6a,0x00, + 0x24,0x00,0x4a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x07,0x00,0x35,0x00, + 0x17,0x00,0x21,0x00, + 0x31,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x66,0x00,0x29,0x00, + 0x69,0x00,0x29,0x00, + 0x66,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x62,0x00,0x21,0x00, + 0x61,0x00,0x21,0x00, + 0x61,0x00,0x01,0x00, + 0x00,0x00,0x00,0x00, + 0x6f,0x00,0x21,0x00, + 0x62,0x00,0x24,0x00, + 0x6f,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x66,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x65,0x00,0x25,0x00, + 0x65,0x00,0x27,0x00, + 0x61,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x22,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x28,0x00, + 0x6e,0x00,0x2a,0x00, + 0x6e,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x6e,0x00,0x22,0x00, + 0x64,0x00,0x24,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x2a,0x00, + 0x64,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00, + 0x37,0x00,0x15,0x00, + 0x37,0x00,0x11,0x00, + 0x31,0x00,0x00,0x00 + }; + + +const uint8_t zgb_nums_map_8_tile_pals[30] = { + , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +}; + +#include "TilesInfo.h" +BANKREF(zgb_nums_map_8_tiles_info) +const struct TilesInfo zgb_nums_map_8_tiles_info = { + 40, //num tiles + zgb_nums_map_8_tiles, //tiles + 1, //num palettes + zgb_nums_map_8_palettes, //palettes + zgb_nums_map_8_tile_pals, //tile palettes +}; + +const unsigned char zgb_nums_map_8_map[50] = { + 0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01,0x00, + 0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01,0x00, + 0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13, + 0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d, + 0x1e,0x1f,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27, +}; + +#include "MapInfo.h" +BANKREF_EXTERN(zgb_nums_map_8_tiles_info) +const struct MapInfo zgb_nums_map_8 = { + zgb_nums_map_8_map, //map + 10, //with + 5, //height + 0, //map attributes + BANK(zgb_nums_map_8_tiles_info), //tiles bank + &zgb_nums_map_8_tiles_info, //tiles info +}; diff --git a/gbdk-support/png2asset/testing/ref/zgb_nums_map_8.h b/gbdk-support/png2asset/testing/ref/zgb_nums_map_8.h @@ -0,0 +1,15 @@ +//AUTOGENERATED FILE FROM png2asset +#ifndef METASPRITE_zgb_nums_map_8_H +#define METASPRITE_zgb_nums_map_8_H + +#include <stdint.h> +#include <gbdk/platform.h> +#include <gbdk/metasprites.h> + +#include "TilesInfo.h" +#include "MapInfo.h" + +extern const struct TilesInfo zgb_nums_map_8_tiles_info; +extern const struct MapInfo zgb_nums_map_8; + +#endif
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.