Optimize bg.png conversion without scaling and with correct color mapping

This commit is contained in:
2026-06-23 11:10:17 +02:00
parent f00b533581
commit 0ceae6f98b
7 changed files with 273 additions and 198 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
//AUTOGENERATED FILE FROM png2asset
// Conversion args: title_bg.png -c title_bg.c -map -bpp 2 -noflip -keep_palette_order
// Conversion args: title_bg.png -c title_bg.c -map -bpp 2 -noflip -keep_palette_order -max_palettes 1
#ifndef METASPRITE_title_bg_H
#define METASPRITE_title_bg_H
@@ -13,7 +13,7 @@
#define title_bg_TILE_H 8
#define title_bg_WIDTH 160
#define title_bg_HEIGHT 144
#define title_bg_TILE_COUNT 165
#define title_bg_TILE_COUNT 219
#define title_bg_PALETTE_COUNT 1
#define title_bg_COLORS_PER_PALETTE 4
#define title_bg_TOTAL_COLORS 4
@@ -24,6 +24,6 @@ extern const unsigned char title_bg_map[360];
BANKREF_EXTERN(title_bg)
extern const palette_color_t title_bg_palettes[4];
extern const uint8_t title_bg_tiles[2640];
extern const uint8_t title_bg_tiles[3504];
#endif