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.
38 lines
1.1 KiB
38 lines
1.1 KiB
//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 UINT gdwPalEntries; |
|
|
|
void __cdecl SaveGamma(); |
|
void __cdecl palette_init(); |
|
void __cdecl LoadGamma(); |
|
void __cdecl LoadSysPal(); |
|
void __fastcall LoadPalette(char *pszFileName); |
|
void __fastcall LoadRndLvlPal(int l); |
|
void __cdecl ResetPal(); |
|
void __cdecl IncreaseGamma(); |
|
void __cdecl palette_update(); |
|
void __fastcall ApplyGamma(PALETTEENTRY *dst, PALETTEENTRY *src, int n); |
|
void __cdecl DecreaseGamma(); |
|
int __fastcall UpdateGamma(int gamma); |
|
void __cdecl BlackPalette(); |
|
void __fastcall SetFadeLevel(int fadeval); |
|
void __fastcall PaletteFadeIn(int fr); |
|
void __fastcall PaletteFadeOut(int fr); |
|
void __cdecl palette_update_caves(); |
|
void __fastcall palette_update_quest_palette(int n); |
|
BOOLEAN __cdecl palette_get_colour_cycling(); |
|
void __fastcall palette_set_color_cycling(BOOLEAN enabled); |
|
|
|
/* rdata */ |
|
|
|
/* data */ |
|
|
|
extern int gamma_correction; // idb |
|
extern BOOL color_cycling_enabled; |
|
|
|
#endif /* __PALETTE_H__ */
|
|
|