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/sgb_border_1.h

      1 //AUTOGENERATED FILE FROM png2asset
      2 // Conversion args: /sgb_border.png -c /sgb_border_1.c -map -bpp 4 -max_palettes 4 -pack_mode sgb -use_map_attributes
      3 
      4 #ifndef METASPRITE_sgb_border_1_H
      5 #define METASPRITE_sgb_border_1_H
      6 
      7 #include <stdint.h>
      8 #include <gbdk/platform.h>
      9 #include <gbdk/metasprites.h>
     10 
     11 #define sgb_border_1_TILE_ORIGIN 0
     12 #define sgb_border_1_TILE_W 8
     13 #define sgb_border_1_TILE_H 8
     14 #define sgb_border_1_WIDTH 256
     15 #define sgb_border_1_HEIGHT 224
     16 #define sgb_border_1_TILE_COUNT 107
     17 #define sgb_border_1_PALETTE_COUNT 1
     18 #define sgb_border_1_COLORS_PER_PALETTE 16
     19 #define sgb_border_1_TOTAL_COLORS 16
     20 #define sgb_border_1_MAP_ATTRIBUTES 0
     21 #define sgb_border_1_MAP_ATTRIBUTES_WIDTH 32
     22 #define sgb_border_1_MAP_ATTRIBUTES_HEIGHT 28
     23 #define sgb_border_1_MAP_ATTRIBUTES_PACKED_WIDTH 32
     24 #define sgb_border_1_MAP_ATTRIBUTES_PACKED_HEIGHT 28
     25 extern const unsigned char sgb_border_1_map[1792];
     26 #define sgb_border_1_map_attributes sgb_border_1_map
     27 
     28 BANKREF_EXTERN(sgb_border_1)
     29 
     30 extern const palette_color_t sgb_border_1_palettes[16];
     31 extern const uint8_t sgb_border_1_tiles[3424];
     32 
     33 #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.