Odamex
Setting the Standard in Multiplayer Doom
common/v_palette.h File Reference

Go to the source code of this file.

Data Structures

struct  palette_s
struct  dyncolormap_s

Typedefs

typedef struct palette_s palette_t
typedef struct dyncolormap_s dyncolormap_t

Functions

palette_tInitPalettes (const char *name)
palette_tGetDefaultPalette (void)
void V_RestoreScreenPalette (void)
palette_tMakePalette (byte *colors, char *name, unsigned flags)
palette_tLoadPalette (char *name, unsigned flags)
palette_tLoadAttachedPalette (char *name, int type, unsigned flags)
void FreePalette (palette_t *palette)
palette_tFindPalette (char *name, unsigned flags)
void RefreshPalette (palette_t *pal)
void RefreshPalettes (void)
void GammaAdjustPalette (palette_t *pal)
void GammaAdjustPalettes (void)
void V_SetBlend (int blendr, int blendg, int blendb, int blenda)
void V_ForceBlend (int blendr, int blendg, int blendb, int blenda)
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)

Typedef Documentation

typedef struct dyncolormap_s dyncolormap_t
typedef struct palette_s palette_t

Function Documentation

palette_t* FindPalette ( char *  name,
unsigned  flags 
)
void FreePalette ( palette_t palette)
void GammaAdjustPalette ( palette_t pal)
void GammaAdjustPalettes ( void  )
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 
)
palette_t* InitPalettes ( const char *  name)
palette_t* LoadAttachedPalette ( char *  name,
int  type,
unsigned  flags 
)
palette_t* LoadPalette ( char *  name,
unsigned  flags 
)
palette_t* MakePalette ( byte colors,
char *  name,
unsigned  flags 
)
void RefreshPalette ( palette_t pal)
void RefreshPalettes ( void  )
void RGBtoHSV ( float  r,
float  g,
float  b,
float *  h,
float *  s,
float *  v 
)
void V_ForceBlend ( int  blendr,
int  blendg,
int  blendb,
int  blenda 
)
void V_RestoreScreenPalette ( void  )
void V_SetBlend ( int  blendr,
int  blendg,
int  blendb,
int  blenda 
)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends