26typedef SDL_Color Palette[256];
28extern Palette palettes[];
29extern int palette_count;
31extern Uint32 rgb_palette[256], yuv_palette[256];
35void JE_loadPals(
void);
37void set_palette(Palette colors,
unsigned int first_color,
unsigned int last_color);
38void set_colors(SDL_Color color,
unsigned int first_color,
unsigned int last_color);
40void init_step_fade_palette(
int diff[256][3], Palette colors,
unsigned int first_color,
unsigned int last_color);
41void init_step_fade_solid(
int diff[256][3], SDL_Color color,
unsigned int first_color,
unsigned int last_color);
42void step_fade_palette(
int diff[256][3],
int steps,
unsigned int first_color,
unsigned int last_color);
44void fade_palette(Palette colors,
int steps,
unsigned int first_color,
unsigned int last_color);
45void fade_solid(SDL_Color color,
int steps,
unsigned int first_color,
unsigned int last_color);
47void fade_black(
int steps);
48void fade_white(
int steps);