2012-02-17 07:13:56 +00:00
|
|
|
#ifndef __vid_internal_h
|
|
|
|
#define __vid_internal_h
|
|
|
|
|
|
|
|
#include "QF/vid.h"
|
|
|
|
#include "QF/plugin/vid_render.h"
|
|
|
|
|
|
|
|
extern struct cvar_s *vid_fullscreen;
|
|
|
|
extern struct cvar_s *vid_system_gamma;
|
|
|
|
extern struct cvar_s *vid_gamma;
|
|
|
|
|
2012-02-22 07:32:34 +00:00
|
|
|
extern unsigned short sw32_8to16table[256];
|
2012-02-17 07:13:56 +00:00
|
|
|
|
|
|
|
void VID_GetWindowSize (int def_w, int def_h);
|
|
|
|
|
|
|
|
void VID_SetPalette (unsigned char *palette);
|
|
|
|
void VID_ShiftPalette (unsigned char *palette);
|
|
|
|
void VID_InitGamma (unsigned char *);
|
|
|
|
qboolean VID_SetGamma (double);
|
|
|
|
void VID_UpdateGamma (struct cvar_s *);
|
|
|
|
|
|
|
|
void VID_Update (vrect_t *rects);
|
|
|
|
void VID_LockBuffer (void);
|
|
|
|
void VID_UnlockBuffer (void);
|
|
|
|
void VID_InitBuffers (void);
|
|
|
|
|
|
|
|
#endif//__vid_internal_h
|