git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

gbdk-support/png2asset/testing/ref/apaimage_1.h

      1 //AUTOGENERATED FILE FROM png2asset
      2 // Conversion args: /apa_image.png -c /apaimage_1.c -map -keep_duplicate_tiles -bpp 2 -tiles_only
      3 
      4 #ifndef METASPRITE_apaimage_1_H
      5 #define METASPRITE_apaimage_1_H
      6 
      7 #include <stdint.h>
      8 #include <gbdk/platform.h>
      9 #include <gbdk/metasprites.h>
     10 
     11 #define apaimage_1_TILE_ORIGIN 0
     12 #define apaimage_1_TILE_W 8
     13 #define apaimage_1_TILE_H 8
     14 #define apaimage_1_WIDTH 160
     15 #define apaimage_1_HEIGHT 144
     16 #define apaimage_1_TILE_COUNT 360
     17 #define apaimage_1_PALETTE_COUNT 1
     18 #define apaimage_1_COLORS_PER_PALETTE 4
     19 #define apaimage_1_TOTAL_COLORS 4
     20 
     21 BANKREF_EXTERN(apaimage_1)
     22 
     23 extern const palette_color_t apaimage_1_palettes[4];
     24 extern const uint8_t apaimage_1_tiles[5760];
     25 
     26 #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.