\hypertarget{v__video_8h}{
\section{common/v\_\-video.h File Reference}
\label{d0/d8f/v__video_8h}\index{common/v\_\-video.h@{common/v\_\-video.h}}
}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classDCanvas}{DCanvas}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{v__video_8h_ad77693189be93b877c666a79043b151b}{EXTERN\_\-CVAR} (gammalevel) extern unsigned int \hyperlink{v__video_8cpp_a85b8c631393b08e155f38cc43321417f}{Col2RGB8}\mbox{[}65\mbox{]}\mbox{[}256\mbox{]}
\item 
void \hyperlink{v__video_8h_a97c89d97d81b9fbcc4058631c2ac449e}{V\_\-Init} (void)
\item 
void \hyperlink{v__video_8h_a89ee4f844089eb3e4bb16c97fcb5f057}{V\_\-MarkRect} (int \hyperlink{cl__main_8cpp_ad4dec120c8756cb4abbd4bd41f63f9bf}{x}, int \hyperlink{v__video_8cpp_a0a2f84ed7838f07779ae24c5a9086d33}{y}, int \hyperlink{v__video_8cpp_a3b50f600cf383dfc5511a5ec9d73fdff}{width}, int height)
\item 
\hyperlink{doomtype_8h_a0c8186d9b9b7880309c27230bbb5e69d}{byte} \hyperlink{v__video_8h_a5adf2a9dd296187eddbf8f23bc51a18a}{BestColor} (const \hyperlink{doomtype_8h_ad342ac907eb044443153a22f964bf0af}{DWORD} $\ast$palette, const int r, const int \hyperlink{client_2src_2v__palette_8cpp_a8cf17d727651616de6f2b79ef32170cd}{g}, const int \hyperlink{client_2src_2v__palette_8cpp_a2c8b5e93edf6061940ca34185468fa03}{b}, const int numcolors)
\item 
int \hyperlink{v__video_8h_a76101a93bc2836b31256bd7e4e9e2d11}{V\_\-GetColorFromString} (const \hyperlink{doomtype_8h_ad342ac907eb044443153a22f964bf0af}{DWORD} $\ast$palette, const char $\ast$colorstring)
\item 
\hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} \hyperlink{v__video_8h_a5bbb75e012b09039aa54b3430903b261}{V\_\-GetColorStringByName} (const char $\ast$\hyperlink{txt__io_8cpp_a8f8f80d37794cde9472343e4487ba3eb}{name})
\item 
\hyperlink{doomtype_8h_a050c65e107f0c828f856a231f4b4e788}{BOOL} \hyperlink{v__video_8h_a6e8b58844c689295d9ce73c1e33e234d}{V\_\-SetResolution} (int \hyperlink{v__video_8cpp_a3b50f600cf383dfc5511a5ec9d73fdff}{width}, int height, int bpp)
\item 
void \hyperlink{v__video_8h_a5cb83bada84ceefbd33cf7e113198d2a}{ASM\_\-PatchPitch} (void)
\item 
void \hyperlink{v__video_8h_a8c7499206d49f5953ffcc68a239b666c}{ASM\_\-PatchColSize} (void)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{v__video_8h_ae5ece0a2de8f9180bc575b815f52ab18}{CleanWidth}
\item 
int \hyperlink{v__video_8h_a978f61711101c83ac2acbc54649d24cc}{CleanHeight}
\item 
int \hyperlink{v__video_8h_a1dbe520a4b9fa8145ac17af65a8c9fa4}{CleanXfac}
\item 
int \hyperlink{v__video_8h_a16bd506e14b99a28c8661d05b3e37b69}{CleanYfac}
\item 
\hyperlink{doomtype_8h_a050c65e107f0c828f856a231f4b4e788}{BOOL} \hyperlink{v__video_8h_a8e120d9bfee56ac55b3efcf753299813}{gotconback}
\item 
int \hyperlink{v__video_8h_a090310d54aa52e605176ca0b6b5ab921}{DisplayWidth}
\item 
int \hyperlink{v__video_8h_a4db6777730142e8e33f2e2f9159c70ad}{DisplayHeight}
\item 
int \hyperlink{v__video_8h_a222fa07868738ecfa8d34ab75dd9d346}{DisplayBits}
\item 
\hyperlink{structpalette__s}{palette\_\-t} $\ast$ \hyperlink{v__video_8h_ae6826c1123622a1168c0993cc01fb340}{DefaultPalette}
\item 
\hyperlink{classDCanvas}{DCanvas} $\ast$ \hyperlink{v__video_8h_a059e0e5f84a69fda9f0084c1db67a884}{screen}
\item 
\hyperlink{classDBoundingBox}{DBoundingBox} \hyperlink{v__video_8h_aa40d240fa621aa0dd1eb2e22a49b45fd}{dirtybox}
\item 
\hyperlink{doomtype_8h_a0c8186d9b9b7880309c27230bbb5e69d}{byte} \hyperlink{v__video_8h_ad6878e936008842c1724d459d7749dbc}{newgamma} \mbox{[}256\mbox{]}
\item 
\hyperlink{doomtype_8h_a0c8186d9b9b7880309c27230bbb5e69d}{byte} \hyperlink{v__video_8h_ad556a13c52f308b6b47a421cb504931c}{RGB32k} \mbox{[}32\mbox{]}\mbox{[}32\mbox{]}\mbox{[}32\mbox{]}
\item 
int \hyperlink{v__video_8h_afd6158735eeefa4249ced1ba617cab3b}{V\_\-ColorFill}
\item 
\hyperlink{doomtype_8h_a0c8186d9b9b7880309c27230bbb5e69d}{byte} $\ast$ \hyperlink{v__video_8h_acd329ccb309c7a387151f662f02a0b0e}{V\_\-ColorMap}
\item 
unsigned int $\ast$ \hyperlink{v__video_8h_ae37672332e08bebab6e9f0729e5072e4}{V\_\-Palette}
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{v__video_8h_a8c7499206d49f5953ffcc68a239b666c}{
\index{v\_\-video.h@{v\_\-video.h}!ASM\_\-PatchColSize@{ASM\_\-PatchColSize}}
\index{ASM\_\-PatchColSize@{ASM\_\-PatchColSize}!v_video.h@{v\_\-video.h}}
\subsubsection[{ASM\_\-PatchColSize}]{\setlength{\rightskip}{0pt plus 5cm}void ASM\_\-PatchColSize (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{d0/d8f/v__video_8h_a8c7499206d49f5953ffcc68a239b666c}
\hypertarget{v__video_8h_a5cb83bada84ceefbd33cf7e113198d2a}{
\index{v\_\-video.h@{v\_\-video.h}!ASM\_\-PatchPitch@{ASM\_\-PatchPitch}}
\index{ASM\_\-PatchPitch@{ASM\_\-PatchPitch}!v_video.h@{v\_\-video.h}}
\subsubsection[{ASM\_\-PatchPitch}]{\setlength{\rightskip}{0pt plus 5cm}void ASM\_\-PatchPitch (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{d0/d8f/v__video_8h_a5cb83bada84ceefbd33cf7e113198d2a}
\hypertarget{v__video_8h_a5adf2a9dd296187eddbf8f23bc51a18a}{
\index{v\_\-video.h@{v\_\-video.h}!BestColor@{BestColor}}
\index{BestColor@{BestColor}!v_video.h@{v\_\-video.h}}
\subsubsection[{BestColor}]{\setlength{\rightskip}{0pt plus 5cm}{\bf byte} BestColor (
\begin{DoxyParamCaption}
\item[{const {\bf DWORD} $\ast$}]{palette, }
\item[{const int}]{r, }
\item[{const int}]{g, }
\item[{const int}]{b, }
\item[{const int}]{numcolors}
\end{DoxyParamCaption}
)}}
\label{d0/d8f/v__video_8h_a5adf2a9dd296187eddbf8f23bc51a18a}
\hypertarget{v__video_8h_ad77693189be93b877c666a79043b151b}{
\index{v\_\-video.h@{v\_\-video.h}!EXTERN\_\-CVAR@{EXTERN\_\-CVAR}}
\index{EXTERN\_\-CVAR@{EXTERN\_\-CVAR}!v_video.h@{v\_\-video.h}}
\subsubsection[{EXTERN\_\-CVAR}]{\setlength{\rightskip}{0pt plus 5cm}EXTERN\_\-CVAR (
\begin{DoxyParamCaption}
\item[{gammalevel}]{}
\end{DoxyParamCaption}
)}}
\label{d0/d8f/v__video_8h_ad77693189be93b877c666a79043b151b}
\hypertarget{v__video_8h_a76101a93bc2836b31256bd7e4e9e2d11}{
\index{v\_\-video.h@{v\_\-video.h}!V\_\-GetColorFromString@{V\_\-GetColorFromString}}
\index{V\_\-GetColorFromString@{V\_\-GetColorFromString}!v_video.h@{v\_\-video.h}}
\subsubsection[{V\_\-GetColorFromString}]{\setlength{\rightskip}{0pt plus 5cm}int V\_\-GetColorFromString (
\begin{DoxyParamCaption}
\item[{const {\bf DWORD} $\ast$}]{palette, }
\item[{const char $\ast$}]{colorstring}
\end{DoxyParamCaption}
)}}
\label{d0/d8f/v__video_8h_a76101a93bc2836b31256bd7e4e9e2d11}
\hypertarget{v__video_8h_a5bbb75e012b09039aa54b3430903b261}{
\index{v\_\-video.h@{v\_\-video.h}!V\_\-GetColorStringByName@{V\_\-GetColorStringByName}}
\index{V\_\-GetColorStringByName@{V\_\-GetColorStringByName}!v_video.h@{v\_\-video.h}}
\subsubsection[{V\_\-GetColorStringByName}]{\setlength{\rightskip}{0pt plus 5cm}{\bf std::string} V\_\-GetColorStringByName (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}}
\label{d0/d8f/v__video_8h_a5bbb75e012b09039aa54b3430903b261}
\hypertarget{v__video_8h_a97c89d97d81b9fbcc4058631c2ac449e}{
\index{v\_\-video.h@{v\_\-video.h}!V\_\-Init@{V\_\-Init}}
\index{V\_\-Init@{V\_\-Init}!v_video.h@{v\_\-video.h}}
\subsubsection[{V\_\-Init}]{\setlength{\rightskip}{0pt plus 5cm}void V\_\-Init (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{d0/d8f/v__video_8h_a97c89d97d81b9fbcc4058631c2ac449e}
\hypertarget{v__video_8h_a89ee4f844089eb3e4bb16c97fcb5f057}{
\index{v\_\-video.h@{v\_\-video.h}!V\_\-MarkRect@{V\_\-MarkRect}}
\index{V\_\-MarkRect@{V\_\-MarkRect}!v_video.h@{v\_\-video.h}}
\subsubsection[{V\_\-MarkRect}]{\setlength{\rightskip}{0pt plus 5cm}void V\_\-MarkRect (
\begin{DoxyParamCaption}
\item[{int}]{x, }
\item[{int}]{y, }
\item[{int}]{width, }
\item[{int}]{height}
\end{DoxyParamCaption}
)}}
\label{d0/d8f/v__video_8h_a89ee4f844089eb3e4bb16c97fcb5f057}
\hypertarget{v__video_8h_a6e8b58844c689295d9ce73c1e33e234d}{
\index{v\_\-video.h@{v\_\-video.h}!V\_\-SetResolution@{V\_\-SetResolution}}
\index{V\_\-SetResolution@{V\_\-SetResolution}!v_video.h@{v\_\-video.h}}
\subsubsection[{V\_\-SetResolution}]{\setlength{\rightskip}{0pt plus 5cm}{\bf BOOL} V\_\-SetResolution (
\begin{DoxyParamCaption}
\item[{int}]{width, }
\item[{int}]{height, }
\item[{int}]{bpp}
\end{DoxyParamCaption}
)}}
\label{d0/d8f/v__video_8h_a6e8b58844c689295d9ce73c1e33e234d}


\subsection{Variable Documentation}
\hypertarget{v__video_8h_a978f61711101c83ac2acbc54649d24cc}{
\index{v\_\-video.h@{v\_\-video.h}!CleanHeight@{CleanHeight}}
\index{CleanHeight@{CleanHeight}!v_video.h@{v\_\-video.h}}
\subsubsection[{CleanHeight}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf CleanHeight}}}
\label{d0/d8f/v__video_8h_a978f61711101c83ac2acbc54649d24cc}
\hypertarget{v__video_8h_ae5ece0a2de8f9180bc575b815f52ab18}{
\index{v\_\-video.h@{v\_\-video.h}!CleanWidth@{CleanWidth}}
\index{CleanWidth@{CleanWidth}!v_video.h@{v\_\-video.h}}
\subsubsection[{CleanWidth}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf CleanWidth}}}
\label{d0/d8f/v__video_8h_ae5ece0a2de8f9180bc575b815f52ab18}
\hypertarget{v__video_8h_a1dbe520a4b9fa8145ac17af65a8c9fa4}{
\index{v\_\-video.h@{v\_\-video.h}!CleanXfac@{CleanXfac}}
\index{CleanXfac@{CleanXfac}!v_video.h@{v\_\-video.h}}
\subsubsection[{CleanXfac}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf CleanXfac}}}
\label{d0/d8f/v__video_8h_a1dbe520a4b9fa8145ac17af65a8c9fa4}
\hypertarget{v__video_8h_a16bd506e14b99a28c8661d05b3e37b69}{
\index{v\_\-video.h@{v\_\-video.h}!CleanYfac@{CleanYfac}}
\index{CleanYfac@{CleanYfac}!v_video.h@{v\_\-video.h}}
\subsubsection[{CleanYfac}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf CleanYfac}}}
\label{d0/d8f/v__video_8h_a16bd506e14b99a28c8661d05b3e37b69}
\hypertarget{v__video_8h_ae6826c1123622a1168c0993cc01fb340}{
\index{v\_\-video.h@{v\_\-video.h}!DefaultPalette@{DefaultPalette}}
\index{DefaultPalette@{DefaultPalette}!v_video.h@{v\_\-video.h}}
\subsubsection[{DefaultPalette}]{\setlength{\rightskip}{0pt plus 5cm}{\bf palette\_\-t}$\ast$ {\bf DefaultPalette}}}
\label{d0/d8f/v__video_8h_ae6826c1123622a1168c0993cc01fb340}
\hypertarget{v__video_8h_aa40d240fa621aa0dd1eb2e22a49b45fd}{
\index{v\_\-video.h@{v\_\-video.h}!dirtybox@{dirtybox}}
\index{dirtybox@{dirtybox}!v_video.h@{v\_\-video.h}}
\subsubsection[{dirtybox}]{\setlength{\rightskip}{0pt plus 5cm}{\bf DBoundingBox} {\bf dirtybox}}}
\label{d0/d8f/v__video_8h_aa40d240fa621aa0dd1eb2e22a49b45fd}
\hypertarget{v__video_8h_a222fa07868738ecfa8d34ab75dd9d346}{
\index{v\_\-video.h@{v\_\-video.h}!DisplayBits@{DisplayBits}}
\index{DisplayBits@{DisplayBits}!v_video.h@{v\_\-video.h}}
\subsubsection[{DisplayBits}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf DisplayBits}}}
\label{d0/d8f/v__video_8h_a222fa07868738ecfa8d34ab75dd9d346}
\hypertarget{v__video_8h_a4db6777730142e8e33f2e2f9159c70ad}{
\index{v\_\-video.h@{v\_\-video.h}!DisplayHeight@{DisplayHeight}}
\index{DisplayHeight@{DisplayHeight}!v_video.h@{v\_\-video.h}}
\subsubsection[{DisplayHeight}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf DisplayHeight}}}
\label{d0/d8f/v__video_8h_a4db6777730142e8e33f2e2f9159c70ad}
\hypertarget{v__video_8h_a090310d54aa52e605176ca0b6b5ab921}{
\index{v\_\-video.h@{v\_\-video.h}!DisplayWidth@{DisplayWidth}}
\index{DisplayWidth@{DisplayWidth}!v_video.h@{v\_\-video.h}}
\subsubsection[{DisplayWidth}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf DisplayWidth}}}
\label{d0/d8f/v__video_8h_a090310d54aa52e605176ca0b6b5ab921}
\hypertarget{v__video_8h_a8e120d9bfee56ac55b3efcf753299813}{
\index{v\_\-video.h@{v\_\-video.h}!gotconback@{gotconback}}
\index{gotconback@{gotconback}!v_video.h@{v\_\-video.h}}
\subsubsection[{gotconback}]{\setlength{\rightskip}{0pt plus 5cm}{\bf BOOL} {\bf gotconback}}}
\label{d0/d8f/v__video_8h_a8e120d9bfee56ac55b3efcf753299813}
\hypertarget{v__video_8h_ad6878e936008842c1724d459d7749dbc}{
\index{v\_\-video.h@{v\_\-video.h}!newgamma@{newgamma}}
\index{newgamma@{newgamma}!v_video.h@{v\_\-video.h}}
\subsubsection[{newgamma}]{\setlength{\rightskip}{0pt plus 5cm}{\bf byte} {\bf newgamma}\mbox{[}256\mbox{]}}}
\label{d0/d8f/v__video_8h_ad6878e936008842c1724d459d7749dbc}
\hypertarget{v__video_8h_ad556a13c52f308b6b47a421cb504931c}{
\index{v\_\-video.h@{v\_\-video.h}!RGB32k@{RGB32k}}
\index{RGB32k@{RGB32k}!v_video.h@{v\_\-video.h}}
\subsubsection[{RGB32k}]{\setlength{\rightskip}{0pt plus 5cm}{\bf byte} {\bf RGB32k}\mbox{[}32\mbox{]}\mbox{[}32\mbox{]}\mbox{[}32\mbox{]}}}
\label{d0/d8f/v__video_8h_ad556a13c52f308b6b47a421cb504931c}
\hypertarget{v__video_8h_a059e0e5f84a69fda9f0084c1db67a884}{
\index{v\_\-video.h@{v\_\-video.h}!screen@{screen}}
\index{screen@{screen}!v_video.h@{v\_\-video.h}}
\subsubsection[{screen}]{\setlength{\rightskip}{0pt plus 5cm}{\bf DCanvas}$\ast$ {\bf screen}}}
\label{d0/d8f/v__video_8h_a059e0e5f84a69fda9f0084c1db67a884}
\hypertarget{v__video_8h_afd6158735eeefa4249ced1ba617cab3b}{
\index{v\_\-video.h@{v\_\-video.h}!V\_\-ColorFill@{V\_\-ColorFill}}
\index{V\_\-ColorFill@{V\_\-ColorFill}!v_video.h@{v\_\-video.h}}
\subsubsection[{V\_\-ColorFill}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf V\_\-ColorFill}}}
\label{d0/d8f/v__video_8h_afd6158735eeefa4249ced1ba617cab3b}
\hypertarget{v__video_8h_acd329ccb309c7a387151f662f02a0b0e}{
\index{v\_\-video.h@{v\_\-video.h}!V\_\-ColorMap@{V\_\-ColorMap}}
\index{V\_\-ColorMap@{V\_\-ColorMap}!v_video.h@{v\_\-video.h}}
\subsubsection[{V\_\-ColorMap}]{\setlength{\rightskip}{0pt plus 5cm}{\bf byte}$\ast$ {\bf V\_\-ColorMap}}}
\label{d0/d8f/v__video_8h_acd329ccb309c7a387151f662f02a0b0e}
\hypertarget{v__video_8h_ae37672332e08bebab6e9f0729e5072e4}{
\index{v\_\-video.h@{v\_\-video.h}!V\_\-Palette@{V\_\-Palette}}
\index{V\_\-Palette@{V\_\-Palette}!v_video.h@{v\_\-video.h}}
\subsubsection[{V\_\-Palette}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int$\ast$ {\bf V\_\-Palette}}}
\label{d0/d8f/v__video_8h_ae37672332e08bebab6e9f0729e5072e4}
