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.
43 lines
1.3 KiB
43 lines
1.3 KiB
//HEADER_GOES_HERE |
|
#ifndef __PALETTE_H__ |
|
#define __PALETTE_H__ |
|
|
|
extern PALETTEENTRY logical_palette[256]; |
|
extern int palette_cpp_init_value; // weak |
|
extern PALETTEENTRY system_palette[256]; |
|
extern PALETTEENTRY orig_palette[256]; |
|
extern UINT gdwPalEntries; |
|
|
|
void __cdecl palette_cpp_init(); |
|
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); |
|
bool __cdecl palette_get_colour_cycling(); |
|
void __fastcall palette_set_color_cycling(bool enabled); |
|
|
|
/* rdata */ |
|
|
|
extern const int palette_inf; // weak |
|
|
|
/* data */ |
|
|
|
extern int gamma_correction; // idb |
|
extern int color_cycling_enabled; // idb |
|
extern bool sgbFadedIn; |
|
|
|
#endif /* __PALETTE_H__ */
|
|
|