// SONIC ROBO BLAST 2 //----------------------------------------------------------------------------- // Copyright (C) 1993-1996 by id Software, Inc. // Copyright (C) 1998-2000 by DooM Legacy Team. // Copyright (C) 1999-2020 by Sonic Team Junior. // // This program is free software distributed under the // terms of the GNU General Public License, version 2. // See the 'LICENSE' file for more details. //----------------------------------------------------------------------------- /// \file v_video.h /// \brief Gamma correction LUT #ifndef __V_VIDEO__ #define __V_VIDEO__ #include "doomdef.h" #include "doomtype.h" #include "r_defs.h" // // VIDEO // // Screen 0 is the screen updated by I_Update screen. // Screen 1 is an extra buffer. extern UINT8 *screens[5]; extern consvar_t cv_ticrate, cv_constextsize,\ cv_globalgamma, cv_globalsaturation, \ cv_rhue, cv_yhue, cv_ghue, cv_chue, cv_bhue, cv_mhue,\ cv_rgamma, cv_ygamma, cv_ggamma, cv_cgamma, cv_bgamma, cv_mgamma, \ cv_rsaturation, cv_ysaturation, cv_gsaturation, cv_csaturation, cv_bsaturation, cv_msaturation,\ cv_allcaps; // Allocates buffer screens, call before R_Init. void V_Init(void); // Color look-up table #define COLORBITS 6 #define SHIFTCOLORBITS (8-COLORBITS) #define CLUTSIZE (1<