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_multi_pal.h

      1 //AUTOGENERATED FILE FROM png2asset
      2 // Conversion args: /sgb_border_multi_pal.png -c /sgb_border_multi_pal.c -map -bpp 4 -max_palettes 4 -pack_mode sgb -use_map_attributes
      3 
      4 #ifndef METASPRITE_sgb_border_multi_pal_H
      5 #define METASPRITE_sgb_border_multi_pal_H
      6 
      7 #include <stdint.h>
      8 #include <gbdk/platform.h>
      9 #include <gbdk/metasprites.h>
     10 
     11 #define sgb_border_multi_pal_TILE_ORIGIN 0
     12 #define sgb_border_multi_pal_TILE_W 8
     13 #define sgb_border_multi_pal_TILE_H 8
     14 #define sgb_border_multi_pal_WIDTH 256
     15 #define sgb_border_multi_pal_HEIGHT 224
     16 #define sgb_border_multi_pal_TILE_COUNT 108
     17 #define sgb_border_multi_pal_PALETTE_COUNT 3
     18 #define sgb_border_multi_pal_COLORS_PER_PALETTE 16
     19 #define sgb_border_multi_pal_TOTAL_COLORS 48
     20 #define sgb_border_multi_pal_MAP_ATTRIBUTES 0
     21 #define sgb_border_multi_pal_MAP_ATTRIBUTES_WIDTH 32
     22 #define sgb_border_multi_pal_MAP_ATTRIBUTES_HEIGHT 28
     23 #define sgb_border_multi_pal_MAP_ATTRIBUTES_PACKED_WIDTH 32
     24 #define sgb_border_multi_pal_MAP_ATTRIBUTES_PACKED_HEIGHT 28
     25 extern const unsigned char sgb_border_multi_pal_map[1792];
     26 #define sgb_border_multi_pal_map_attributes sgb_border_multi_pal_map
     27 
     28 BANKREF_EXTERN(sgb_border_multi_pal)
     29 
     30 extern const palette_color_t sgb_border_multi_pal_palettes[48];
     31 extern const uint8_t sgb_border_multi_pal_tiles[3456];
     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.