Source

sdl2pal / src / palette.h

Full commit
#ifndef SDL2PAL_PALETTE_H
#define SDL2PAL_PALETTE_H

#include "common.h"

#ifdef __cplusplus
extern "C"
{
#endif

SDL_Color *PAL_GetPalette(int paletteNum, bool isNight);
void PAL_SetPalette(int paletteNum, bool isNight);

void PAL_FadeOut(int delay);
void PAL_FadeIn(int paletteNum, bool isNight, int delay);

void PAL_SceneFade(int paletteNum, bool isNight, int step);
void PAL_PaletteFade(int paletteNum, bool isNight, int delay);
void PAL_ColorFade(int delay, Uint8 color, bool isFrom);
void PAL_FadeToRed(void);

#ifdef __cplusplus
}
#endif

#endif