You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
785 B
33 lines
785 B
//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(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 palette_update_quest_palette(int n); |
|
BOOL palette_get_color_cycling(); |
|
BOOL palette_set_color_cycling(BOOL enabled); |
|
|
|
/* rdata */ |
|
|
|
/* data */ |
|
|
|
extern int gamma_correction; |
|
extern BOOL color_cycling_enabled; |
|
|
|
#endif /* __PALETTE_H__ */
|
|
|