typedef struct { void *palette; Uint16 mode; Sint16 bank; Sint16 offset; Sint16 count; }NJS_TEXPALETTE;
*palette | Address for palette data |
mode | Palette color mode |
bank | Palette bank number 0 - 63 |
offset | Palette entry offset 0 - 1023 |
count | Number of palettes 1 - 1024 |
0 | ARGB1555 |
1 | RGB565 |
2 | ARGB4444 |
6 | ARGB8888 |