2022-05-19 01:51:26 -07:00
|
|
|
#ifndef PALETTE_H
|
|
|
|
#define PALETTE_H
|
|
|
|
|
2022-09-23 05:43:44 -07:00
|
|
|
namespace fallout {
|
|
|
|
|
2022-05-19 01:51:26 -07:00
|
|
|
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);
|
|
|
|
|
2022-09-23 05:43:44 -07:00
|
|
|
} // namespace fallout
|
|
|
|
|
2022-05-19 01:51:26 -07:00
|
|
|
#endif /* PALETTE_H */
|