1
0
Fork 0
mirror of https://github.com/galaxyhaxz/devilution synced 2024-11-14 16:29:02 +00:00
devilution/2020_03_31/Source/palette.h
PrisonOfMirrors b720183846 initial up
2020-11-28 18:24:54 -06:00

32 lines
769 B
C

//HEADER_GOES_HERE
#ifndef __PALETTE_H__
#define __PALETTE_H__
extern PALETTEENTRY logical_palette[256];
extern PALETTEENTRY system_palette[256];
extern PALETTEENTRY orig_palette[256];
extern int gdwPalEntries;
void SaveGamma();
void palette_init();
void LoadPalette(const char *pszFileName);
void LoadRndLvlPal(int l);
void ResetPal();
void IncreaseGamma();
void DecreaseGamma();
int UpdateGamma(int gamma);
void BlackPalette();
void PaletteFadeIn(int fr);
void PaletteFadeOut(int fr);
void palette_update_caves();
void Lava2Water(int n);
BOOL palette_get_colour_cycling();
BOOL palette_set_color_cycling(BOOL bEnable);
/* data */
extern int gamma_correction; // idb
extern BOOL color_cycling_enabled; // idb
extern BOOLEAN sgbFadedIn;
#endif /* __PALETTE_H__ */