|
AnimaEngine
1.0.0
Nintendo DS Pokemon Black, White, Black 2, and White 2 sprite extraction and preview toolchain
|
Nintendo Color Resource (.NCLR) palette parser. More...
Go to the source code of this file.
Data Structures | |
| struct | NclrPalette |
| Container representing parsed NCLR color palette data. More... | |
Macros | |
| #define | NCLR_MAX_COLORS 256 |
Typedefs | |
| typedef struct NclrPalette | NclrPalette |
| Container representing parsed NCLR color palette data. More... | |
Functions | |
| int | Nclr_Parse (const u8 *data, size_t size, NclrPalette *out_palette) |
| Parses species color palette data from raw NCLR binary stream. More... | |
| void | Nclr_PrintInfo (const NclrPalette *palette) |
| Debug printing routine to write color palette metadata to stdout. More... | |
Nintendo Color Resource (.NCLR) palette parser.
| #define NCLR_MAX_COLORS 256 |
Maximum capacity constraint of a single NCLR palette page.
| typedef struct NclrPalette NclrPalette |
Container representing parsed NCLR color palette data.
| int Nclr_Parse | ( | const u8 * | data, |
| size_t | size, | ||
| NclrPalette * | out_palette | ||
| ) |
Parses species color palette data from raw NCLR binary stream.
| data | Pointer to binary data. |
| size | Buffer size in bytes. |
| out_palette | Destination structure to write palette records. |
| void Nclr_PrintInfo | ( | const NclrPalette * | palette | ) |
Debug printing routine to write color palette metadata to stdout.
| palette | Pointer to parsed palette. |