\hypertarget{v__video_8cpp}{
\section{client/src/v\_\-video.cpp File Reference}
\label{d3/d80/v__video_8cpp}\index{client/src/v\_\-video.cpp@{client/src/v\_\-video.cpp}}
}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{v__video_8cpp_abd998dab2e6b7f9118a9c0f5291623e6}{IMPLEMENT\_\-CLASS} (\hyperlink{classDCanvas}{DCanvas}, \hyperlink{classDObject}{DObject}) int \hyperlink{v__video_8h_a090310d54aa52e605176ca0b6b5ab921}{DisplayWidth}
\item 
\hyperlink{v__video_8cpp_a6809209a3be6e6642c6b2d39c6c7e25a}{EXTERN\_\-CVAR} (vid\_\-defwidth) EXTERN\_\-CVAR(vid\_\-defheight) EXTERN\_\-CVAR(vid\_\-defbits) EXTERN\_\-CVAR(autoadjust\_\-video\_\-settings) EXTERN\_\-CVAR(vid\_\-overscan) EXTERN\_\-CVAR(ui\_\-dimamount) EXTERN\_\-CVAR(ui\_\-dimcolor) extern\char`\"{}C\char`\"{}
\item 
\hyperlink{v__video_8cpp_a2612ce669d6c5ca08a215978cf42edb5}{EXTERN\_\-CVAR} (vid\_\-fullscreen) void V\_\-MarkRect(int \hyperlink{cl__main_8cpp_ad4dec120c8756cb4abbd4bd41f63f9bf}{x}
\item 
int int int height \hyperlink{v__video_8h_aa40d240fa621aa0dd1eb2e22a49b45fd}{dirtybox} \hyperlink{v__video_8cpp_a400e81bb9245f061c3b79f3ce7f97031}{AddToBox} (\hyperlink{cl__main_8cpp_ad4dec120c8756cb4abbd4bd41f63f9bf}{x}, \hyperlink{v__video_8cpp_a0a2f84ed7838f07779ae24c5a9086d33}{y})
\item 
\hyperlink{v__video_8h_aa40d240fa621aa0dd1eb2e22a49b45fd}{dirtybox} \hyperlink{v__video_8cpp_aef295ab35c6a573f374f391984f3505e}{AddToBox} (\hyperlink{cl__main_8cpp_ad4dec120c8756cb4abbd4bd41f63f9bf}{x}+\hyperlink{v__video_8cpp_a3b50f600cf383dfc5511a5ec9d73fdff}{width}-\/1, \hyperlink{v__video_8cpp_a0a2f84ed7838f07779ae24c5a9086d33}{y}+height-\/1)
\item 
\hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} \hyperlink{v__video_8cpp_a5bbb75e012b09039aa54b3430903b261}{V\_\-GetColorStringByName} (const char $\ast$\hyperlink{txt__io_8cpp_a8f8f80d37794cde9472343e4487ba3eb}{name})
\item 
\hyperlink{v__video_8cpp_a14916738a9b0d3850606124bf287ca61}{BEGIN\_\-COMMAND} (setcolor)
\item 
\hyperlink{v__video_8cpp_a9bfde5dc68f9b891441cf70adba07721}{END\_\-COMMAND} (setcolor) static void BuildTransTable(\hyperlink{doomtype_8h_ad342ac907eb044443153a22f964bf0af}{DWORD} $\ast$palette)
\item 
\hyperlink{doomtype_8h_a050c65e107f0c828f856a231f4b4e788}{BOOL} \hyperlink{v__video_8cpp_ac2dca56936546375af7bfb7aa4d93116}{V\_\-DoModeSetup} (int \hyperlink{v__video_8cpp_a3b50f600cf383dfc5511a5ec9d73fdff}{width}, int height, int bits)
\item 
\hyperlink{doomtype_8h_a050c65e107f0c828f856a231f4b4e788}{BOOL} \hyperlink{v__video_8cpp_a220295c520c22a94ca7cfb72a3020a5e}{V\_\-SetResolution} (int \hyperlink{v__video_8cpp_a3b50f600cf383dfc5511a5ec9d73fdff}{width}, int height, int bits)
\item 
\hyperlink{v__video_8cpp_aa3f068fa0c5d0d2130365e31cba07c68}{BEGIN\_\-COMMAND} (vid\_\-setmode)
\item 
\hyperlink{v__video_8cpp_a8e3ac8a6ddb55d6c94e16af68481d9e5}{END\_\-COMMAND} (vid\_\-setmode) BEGIN\_\-COMMAND(checkres)
\item 
\hyperlink{v__video_8cpp_a86eaa9b391c98d806460d21509cfa1a4}{END\_\-COMMAND} (checkres) void V\_\-InitPalette(void)
\item 
void \hyperlink{v__video_8cpp_a97c89d97d81b9fbcc4058631c2ac449e}{V\_\-Init} (void)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hyperlink{v__video_8cpp_afff2c5d36893eeee03130c710365e89b}{DisplayHeight}
\item 
\hyperlink{v__video_8cpp_a653729c357ccf4a94e5fd84a8ab621d6}{DisplayBits}
\item 
unsigned int \hyperlink{v__video_8cpp_a85b8c631393b08e155f38cc43321417f}{Col2RGB8} \mbox{[}65\mbox{]}\mbox{[}256\mbox{]}
\item 
\hyperlink{doomtype_8h_a0c8186d9b9b7880309c27230bbb5e69d}{byte} \hyperlink{v__video_8cpp_ad556a13c52f308b6b47a421cb504931c}{RGB32k} \mbox{[}32\mbox{]}\mbox{[}32\mbox{]}\mbox{[}32\mbox{]}
\item 
\hyperlink{classDCanvas}{DCanvas} $\ast$ \hyperlink{v__video_8cpp_a059e0e5f84a69fda9f0084c1db67a884}{screen}
\item 
\hyperlink{classDBoundingBox}{DBoundingBox} \hyperlink{v__video_8cpp_aa40d240fa621aa0dd1eb2e22a49b45fd}{dirtybox}
\item 
\hyperlink{doomtype_8h_a050c65e107f0c828f856a231f4b4e788}{BOOL} \hyperlink{v__video_8cpp_acd0de6f460f8df940be04575ed985faa}{setmodeneeded} = false
\item 
int \hyperlink{v__video_8cpp_a57b543b83470ac1d7e83735f4a65d2c1}{NewWidth}
\item 
int \hyperlink{v__video_8cpp_a7284e26d2bf0ebd1b37112d3d5b0168a}{NewHeight}
\item 
int \hyperlink{v__video_8cpp_ad81edeecca8207116d80805c51602538}{NewBits}
\item 
int \hyperlink{v__video_8cpp_a0a2f84ed7838f07779ae24c5a9086d33}{y}
\item 
int int \hyperlink{v__video_8cpp_a3b50f600cf383dfc5511a5ec9d73fdff}{width}
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{v__video_8cpp_a400e81bb9245f061c3b79f3ce7f97031}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!AddToBox@{AddToBox}}
\index{AddToBox@{AddToBox}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{AddToBox}]{\setlength{\rightskip}{0pt plus 5cm}int int int height {\bf dirtybox} AddToBox (
\begin{DoxyParamCaption}
\item[{{\bf x}}]{, }
\item[{{\bf y}}]{}
\end{DoxyParamCaption}
)}}
\label{d3/d80/v__video_8cpp_a400e81bb9245f061c3b79f3ce7f97031}
\hypertarget{v__video_8cpp_aef295ab35c6a573f374f391984f3505e}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!AddToBox@{AddToBox}}
\index{AddToBox@{AddToBox}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{AddToBox}]{\setlength{\rightskip}{0pt plus 5cm}{\bf dirtybox} AddToBox (
\begin{DoxyParamCaption}
\item[{{\bf x}+{\bf width}-\/}]{1, }
\item[{{\bf y}+height-\/}]{1}
\end{DoxyParamCaption}
)}}
\label{d3/d80/v__video_8cpp_aef295ab35c6a573f374f391984f3505e}
\hypertarget{v__video_8cpp_aa3f068fa0c5d0d2130365e31cba07c68}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!BEGIN\_\-COMMAND@{BEGIN\_\-COMMAND}}
\index{BEGIN\_\-COMMAND@{BEGIN\_\-COMMAND}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{BEGIN\_\-COMMAND}]{\setlength{\rightskip}{0pt plus 5cm}BEGIN\_\-COMMAND (
\begin{DoxyParamCaption}
\item[{vid\_\-setmode}]{}
\end{DoxyParamCaption}
)}}
\label{d3/d80/v__video_8cpp_aa3f068fa0c5d0d2130365e31cba07c68}
\hypertarget{v__video_8cpp_a14916738a9b0d3850606124bf287ca61}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!BEGIN\_\-COMMAND@{BEGIN\_\-COMMAND}}
\index{BEGIN\_\-COMMAND@{BEGIN\_\-COMMAND}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{BEGIN\_\-COMMAND}]{\setlength{\rightskip}{0pt plus 5cm}BEGIN\_\-COMMAND (
\begin{DoxyParamCaption}
\item[{setcolor}]{}
\end{DoxyParamCaption}
)}}
\label{d3/d80/v__video_8cpp_a14916738a9b0d3850606124bf287ca61}
\hypertarget{v__video_8cpp_a86eaa9b391c98d806460d21509cfa1a4}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!END\_\-COMMAND@{END\_\-COMMAND}}
\index{END\_\-COMMAND@{END\_\-COMMAND}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{END\_\-COMMAND}]{\setlength{\rightskip}{0pt plus 5cm}END\_\-COMMAND (
\begin{DoxyParamCaption}
\item[{checkres}]{}
\end{DoxyParamCaption}
)}}
\label{d3/d80/v__video_8cpp_a86eaa9b391c98d806460d21509cfa1a4}
\hypertarget{v__video_8cpp_a9bfde5dc68f9b891441cf70adba07721}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!END\_\-COMMAND@{END\_\-COMMAND}}
\index{END\_\-COMMAND@{END\_\-COMMAND}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{END\_\-COMMAND}]{\setlength{\rightskip}{0pt plus 5cm}END\_\-COMMAND (
\begin{DoxyParamCaption}
\item[{setcolor}]{}
\end{DoxyParamCaption}
)}}
\label{d3/d80/v__video_8cpp_a9bfde5dc68f9b891441cf70adba07721}
\hypertarget{v__video_8cpp_a8e3ac8a6ddb55d6c94e16af68481d9e5}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!END\_\-COMMAND@{END\_\-COMMAND}}
\index{END\_\-COMMAND@{END\_\-COMMAND}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{END\_\-COMMAND}]{\setlength{\rightskip}{0pt plus 5cm}END\_\-COMMAND (
\begin{DoxyParamCaption}
\item[{vid\_\-setmode}]{}
\end{DoxyParamCaption}
)}}
\label{d3/d80/v__video_8cpp_a8e3ac8a6ddb55d6c94e16af68481d9e5}
\hypertarget{v__video_8cpp_a6809209a3be6e6642c6b2d39c6c7e25a}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!EXTERN\_\-CVAR@{EXTERN\_\-CVAR}}
\index{EXTERN\_\-CVAR@{EXTERN\_\-CVAR}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{EXTERN\_\-CVAR}]{\setlength{\rightskip}{0pt plus 5cm}EXTERN\_\-CVAR (
\begin{DoxyParamCaption}
\item[{vid\_\-defwidth}]{}
\end{DoxyParamCaption}
)}}
\label{d3/d80/v__video_8cpp_a6809209a3be6e6642c6b2d39c6c7e25a}
\hypertarget{v__video_8cpp_a2612ce669d6c5ca08a215978cf42edb5}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!EXTERN\_\-CVAR@{EXTERN\_\-CVAR}}
\index{EXTERN\_\-CVAR@{EXTERN\_\-CVAR}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{EXTERN\_\-CVAR}]{\setlength{\rightskip}{0pt plus 5cm}EXTERN\_\-CVAR (
\begin{DoxyParamCaption}
\item[{vid\_\-fullscreen}]{}
\end{DoxyParamCaption}
)}}
\label{d3/d80/v__video_8cpp_a2612ce669d6c5ca08a215978cf42edb5}
\hypertarget{v__video_8cpp_abd998dab2e6b7f9118a9c0f5291623e6}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!IMPLEMENT\_\-CLASS@{IMPLEMENT\_\-CLASS}}
\index{IMPLEMENT\_\-CLASS@{IMPLEMENT\_\-CLASS}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{IMPLEMENT\_\-CLASS}]{\setlength{\rightskip}{0pt plus 5cm}IMPLEMENT\_\-CLASS (
\begin{DoxyParamCaption}
\item[{{\bf DCanvas}}]{, }
\item[{{\bf DObject}}]{}
\end{DoxyParamCaption}
)}}
\label{d3/d80/v__video_8cpp_abd998dab2e6b7f9118a9c0f5291623e6}
\hypertarget{v__video_8cpp_ac2dca56936546375af7bfb7aa4d93116}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!V\_\-DoModeSetup@{V\_\-DoModeSetup}}
\index{V\_\-DoModeSetup@{V\_\-DoModeSetup}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{V\_\-DoModeSetup}]{\setlength{\rightskip}{0pt plus 5cm}{\bf BOOL} V\_\-DoModeSetup (
\begin{DoxyParamCaption}
\item[{int}]{width, }
\item[{int}]{height, }
\item[{int}]{bits}
\end{DoxyParamCaption}
)}}
\label{d3/d80/v__video_8cpp_ac2dca56936546375af7bfb7aa4d93116}
\hypertarget{v__video_8cpp_a5bbb75e012b09039aa54b3430903b261}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!V\_\-GetColorStringByName@{V\_\-GetColorStringByName}}
\index{V\_\-GetColorStringByName@{V\_\-GetColorStringByName}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{V\_\-GetColorStringByName}]{\setlength{\rightskip}{0pt plus 5cm}{\bf std::string} V\_\-GetColorStringByName (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}}
\label{d3/d80/v__video_8cpp_a5bbb75e012b09039aa54b3430903b261}
\hypertarget{v__video_8cpp_a97c89d97d81b9fbcc4058631c2ac449e}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!V\_\-Init@{V\_\-Init}}
\index{V\_\-Init@{V\_\-Init}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{V\_\-Init}]{\setlength{\rightskip}{0pt plus 5cm}void V\_\-Init (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{d3/d80/v__video_8cpp_a97c89d97d81b9fbcc4058631c2ac449e}
\hypertarget{v__video_8cpp_a220295c520c22a94ca7cfb72a3020a5e}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!V\_\-SetResolution@{V\_\-SetResolution}}
\index{V\_\-SetResolution@{V\_\-SetResolution}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{V\_\-SetResolution}]{\setlength{\rightskip}{0pt plus 5cm}{\bf BOOL} V\_\-SetResolution (
\begin{DoxyParamCaption}
\item[{int}]{width, }
\item[{int}]{height, }
\item[{int}]{bits}
\end{DoxyParamCaption}
)}}
\label{d3/d80/v__video_8cpp_a220295c520c22a94ca7cfb72a3020a5e}


\subsection{Variable Documentation}
\hypertarget{v__video_8cpp_a85b8c631393b08e155f38cc43321417f}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!Col2RGB8@{Col2RGB8}}
\index{Col2RGB8@{Col2RGB8}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{Col2RGB8}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf Col2RGB8}\mbox{[}65\mbox{]}\mbox{[}256\mbox{]}}}
\label{d3/d80/v__video_8cpp_a85b8c631393b08e155f38cc43321417f}
\hypertarget{v__video_8cpp_aa40d240fa621aa0dd1eb2e22a49b45fd}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!dirtybox@{dirtybox}}
\index{dirtybox@{dirtybox}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{dirtybox}]{\setlength{\rightskip}{0pt plus 5cm}{\bf DBoundingBox} {\bf dirtybox}}}
\label{d3/d80/v__video_8cpp_aa40d240fa621aa0dd1eb2e22a49b45fd}
\hypertarget{v__video_8cpp_a653729c357ccf4a94e5fd84a8ab621d6}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!DisplayBits@{DisplayBits}}
\index{DisplayBits@{DisplayBits}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{DisplayBits}]{\setlength{\rightskip}{0pt plus 5cm}{\bf DisplayBits}}}
\label{d3/d80/v__video_8cpp_a653729c357ccf4a94e5fd84a8ab621d6}
\hypertarget{v__video_8cpp_afff2c5d36893eeee03130c710365e89b}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!DisplayHeight@{DisplayHeight}}
\index{DisplayHeight@{DisplayHeight}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{DisplayHeight}]{\setlength{\rightskip}{0pt plus 5cm}{\bf DisplayHeight}}}
\label{d3/d80/v__video_8cpp_afff2c5d36893eeee03130c710365e89b}
\hypertarget{v__video_8cpp_ad81edeecca8207116d80805c51602538}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!NewBits@{NewBits}}
\index{NewBits@{NewBits}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{NewBits}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf NewBits}}}
\label{d3/d80/v__video_8cpp_ad81edeecca8207116d80805c51602538}
\hypertarget{v__video_8cpp_a7284e26d2bf0ebd1b37112d3d5b0168a}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!NewHeight@{NewHeight}}
\index{NewHeight@{NewHeight}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{NewHeight}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf NewHeight}}}
\label{d3/d80/v__video_8cpp_a7284e26d2bf0ebd1b37112d3d5b0168a}
\hypertarget{v__video_8cpp_a57b543b83470ac1d7e83735f4a65d2c1}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!NewWidth@{NewWidth}}
\index{NewWidth@{NewWidth}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{NewWidth}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf NewWidth}}}
\label{d3/d80/v__video_8cpp_a57b543b83470ac1d7e83735f4a65d2c1}
\hypertarget{v__video_8cpp_ad556a13c52f308b6b47a421cb504931c}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!RGB32k@{RGB32k}}
\index{RGB32k@{RGB32k}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{RGB32k}]{\setlength{\rightskip}{0pt plus 5cm}{\bf byte} {\bf RGB32k}\mbox{[}32\mbox{]}\mbox{[}32\mbox{]}\mbox{[}32\mbox{]}}}
\label{d3/d80/v__video_8cpp_ad556a13c52f308b6b47a421cb504931c}
\hypertarget{v__video_8cpp_a059e0e5f84a69fda9f0084c1db67a884}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!screen@{screen}}
\index{screen@{screen}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{screen}]{\setlength{\rightskip}{0pt plus 5cm}{\bf DCanvas}$\ast$ {\bf screen}}}
\label{d3/d80/v__video_8cpp_a059e0e5f84a69fda9f0084c1db67a884}
\hypertarget{v__video_8cpp_acd0de6f460f8df940be04575ed985faa}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!setmodeneeded@{setmodeneeded}}
\index{setmodeneeded@{setmodeneeded}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{setmodeneeded}]{\setlength{\rightskip}{0pt plus 5cm}{\bf BOOL} {\bf setmodeneeded} = false}}
\label{d3/d80/v__video_8cpp_acd0de6f460f8df940be04575ed985faa}
\hypertarget{v__video_8cpp_a3b50f600cf383dfc5511a5ec9d73fdff}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!width@{width}}
\index{width@{width}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{width}]{\setlength{\rightskip}{0pt plus 5cm}int int {\bf width}}}
\label{d3/d80/v__video_8cpp_a3b50f600cf383dfc5511a5ec9d73fdff}
\hypertarget{v__video_8cpp_a0a2f84ed7838f07779ae24c5a9086d33}{
\index{v\_\-video.cpp@{v\_\-video.cpp}!y@{y}}
\index{y@{y}!v_video.cpp@{v\_\-video.cpp}}
\subsubsection[{y}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf y}}}
\label{d3/d80/v__video_8cpp_a0a2f84ed7838f07779ae24c5a9086d33}
