include/palette.h File Reference


Functions

void gr_palette_set_gamma (int gamma)
int gr_palette_get_gamma ()
void gr_palette_clear ()
int gr_palette_fade_out (ubyte *pal, int nsteps, int allow_keys)
int gr_palette_fade_in (ubyte *pal, int nsteps, int allow_keys)
void gr_palette_load (ubyte *pal)
void gr_make_cthru_table (ubyte *table, ubyte r, ubyte g, ubyte b)
int gr_find_closest_color_current (int r, int g, int b)
void gr_palette_read (ubyte *palette)
void init_computed_colors (void)

Variables

ubyte gr_palette_faded_out
ubyte gr_palette_gamma
ubyte gr_current_pal [256 *3]

Function Documentation

int gr_find_closest_color_current int  r,
int  g,
int  b
 

void gr_make_cthru_table ubyte table,
ubyte  r,
ubyte  g,
ubyte  b
 

void gr_palette_clear  ) 
 

int gr_palette_fade_in ubyte pal,
int  nsteps,
int  allow_keys
 

int gr_palette_fade_out ubyte pal,
int  nsteps,
int  allow_keys
 

int gr_palette_get_gamma  ) 
 

void gr_palette_load ubyte pal  ) 
 

void gr_palette_read ubyte palette  ) 
 

void gr_palette_set_gamma int  gamma  ) 
 

void init_computed_colors void   ) 
 


Variable Documentation

ubyte gr_current_pal[256 *3]
 

ubyte gr_palette_faded_out
 

ubyte gr_palette_gamma
 


Generated on Mon Aug 28 20:55:31 2006 for D1X-Rebirth by  doxygen 1.4.6