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_t * | InitPalettes (const char *name) |
| palette_t * | GetDefaultPalette (void) |
| void | V_RestoreScreenPalette (void) |
| palette_t * | MakePalette (byte *colors, char *name, unsigned flags) |
| palette_t * | LoadPalette (char *name, unsigned flags) |
| palette_t * | LoadAttachedPalette (char *name, int type, unsigned flags) |
| void | FreePalette (palette_t *palette) |
| palette_t * | FindPalette (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_t * | GetSpecialLights (int lr, int lg, int lb, int fr, int fg, int fb) |
Typedef Documentation
Function Documentation
| palette_t* FindPalette |
( |
char * |
name, |
|
|
unsigned |
flags |
|
) |
| |
| void GammaAdjustPalettes |
( |
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* LoadAttachedPalette |
( |
char * |
name, |
|
|
int |
type, |
|
|
unsigned |
flags |
|
) |
| |
| palette_t* LoadPalette |
( |
char * |
name, |
|
|
unsigned |
flags |
|
) |
| |
| palette_t* MakePalette |
( |
byte * |
colors, |
|
|
char * |
name, |
|
|
unsigned |
flags |
|
) |
| |
| 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 |
|
) |
| |