gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
gbdk-support/png2asset/palettes.h
1 #pragma once
2 #include <vector>
3
4 #include "cmp_int_color.h"
5 #include "png2asset.h"
6
7 using namespace std;
8
9
10 unsigned int PaletteCountApplyMaxLimit(unsigned int max_palettes, unsigned int cur_palette_size);
11
12 int FindOrCreateSubPalette(const SetPal& pal, vector< SetPal >& palettes, size_t colors_per_pal);
13
14
15 int* BuildPalettesAndAttributes(const PNGImage& image32, PNG2AssetData* assetData);
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.