15 lines
380 B
C
15 lines
380 B
C
|
#ifndef PALETTE_H
|
||
|
#define PALETTE_H
|
||
|
|
||
|
extern unsigned char gPaletteWhite[256 * 3];
|
||
|
extern unsigned char gPaletteBlack[256 * 3];
|
||
|
|
||
|
void paletteInit();
|
||
|
void paletteReset();
|
||
|
void paletteExit();
|
||
|
void paletteFadeTo(unsigned char* palette);
|
||
|
void paletteSetEntries(unsigned char* palette);
|
||
|
void paletteSetEntriesInRange(unsigned char* palette, int start, int end);
|
||
|
|
||
|
#endif /* PALETTE_H */
|