Odamex
Setting the Standard in Multiplayer Doom
server/src/v_palette.cpp File Reference

Functions

palette_tGetDefaultPalette (void)
void RGBtoHSV (float r, float g, float b, float *h, float *s, float *v)
void HSVtoRGB (float *r, float *g, float *b, float h, float s, float v)
dyncolormap_tGetSpecialLights (int lr, int lg, int lb, int fr, int fg, int fb)

Variables

dyncolormap_t NormalLight
palette_t DefPal

Function Documentation

palette_t* GetDefaultPalette ( void  )
dyncolormap_t* GetSpecialLights ( int  lr,
int  lg,
int  lb,
int  fr,
int  fg,
int  fb 
)
void HSVtoRGB ( float *  r,
float *  g,
float *  b,
float  h,
float  s,
float  v 
)
void RGBtoHSV ( float  r,
float  g,
float  b,
float *  h,
float *  s,
float *  v 
)

Variable Documentation

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends