\hypertarget{doomtype_8h}{
\section{common/doomtype.h File Reference}
\label{d8/d3a/doomtype_8h}\index{common/doomtype.h@{common/doomtype.h}}
}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef int \hyperlink{doomtype_8h_a050c65e107f0c828f856a231f4b4e788}{BOOL}
\item 
typedef unsigned char \hyperlink{doomtype_8h_a0c8186d9b9b7880309c27230bbb5e69d}{byte}
\item 
typedef bool \hyperlink{doomtype_8h_a1f0aa56c968d17c77f9b507a37ff548a}{dboolean}
\item 
typedef unsigned \_\-\_\-int64 \hyperlink{doomtype_8h_aec6fcb673ff035718c238c8c9d544c47}{uint64\_\-t}
\item 
typedef unsigned \_\-\_\-int32 \hyperlink{doomtype_8h_a6eb1e68cc391dd753bc8ce896dbb8315}{uint32\_\-t}
\item 
typedef unsigned char \hyperlink{doomtype_8h_a4ae1dab0fb4b072a66584546209e7d58}{BYTE}
\item 
typedef signed char \hyperlink{doomtype_8h_a771e4543f2852e05b8a5e5104df940d2}{SBYTE}
\item 
typedef unsigned short \hyperlink{doomtype_8h_a197942eefa7db30960ae396d68339b97}{WORD}
\item 
typedef signed short \hyperlink{doomtype_8h_aa2a68256db5a10b7b32434e92d834759}{SWORD}
\item 
typedef unsigned int \hyperlink{doomtype_8h_ad342ac907eb044443153a22f964bf0af}{DWORD}
\item 
typedef signed int \hyperlink{doomtype_8h_a75bb2133b108e6f0587b7ccf88a85522}{SDWORD}
\item 
typedef unsigned \_\-\_\-int64 \hyperlink{doomtype_8h_ad6463c38322185120b9a683834b2d4eb}{QWORD}
\item 
typedef signed \_\-\_\-int64 \hyperlink{doomtype_8h_ac7ddf6e65ac282a89377e0d8e93fd6d7}{SQWORD}
\item 
typedef \hyperlink{doomtype_8h_ad342ac907eb044443153a22f964bf0af}{DWORD} \hyperlink{doomtype_8h_a7dd7832eb5f6f840fb2365f6c2ee2bd8}{BITFIELD}
\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{doomtype_8h_a1f1ab006e4fa539acde43923a3219ace}{dboolean} \{ \hyperlink{doomtype_8h_a1f1ab006e4fa539acde43923a3219aceae9de385ef6fe9bf3360d1038396b884c}{false}, 
\hyperlink{doomtype_8h_a1f1ab006e4fa539acde43923a3219acea08f175a5505a10b9ed657defeb050e4b}{true}
 \}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int STACK\_\-ARGS \hyperlink{doomtype_8h_ac84ce19fa00ee8337f97e041c5dc12fb}{Printf} (int printlevel, const char $\ast$,...)
\item 
int STACK\_\-ARGS \hyperlink{doomtype_8h_a77c62b6c93d6ce6fa3e512d176c8f7fd}{Printf\_\-Bold} (const char $\ast$format,...)
\item 
int STACK\_\-ARGS \hyperlink{doomtype_8h_ac8961efff3becfba8b41f3bcddc36f98}{DPrintf} (const char $\ast$,...)
\item 
{\footnotesize template$<$class T $>$ }\\const T \hyperlink{doomtype_8h_aee87f313536791730ec441e9a3b4fb79}{MIN} (const T a, const T \hyperlink{client_2src_2v__palette_8cpp_a2c8b5e93edf6061940ca34185468fa03}{b})
\item 
{\footnotesize template$<$class T $>$ }\\const T \hyperlink{doomtype_8h_a1f05ad061b8e03e6ea3a06d9976634e1}{MAX} (const T a, const T \hyperlink{client_2src_2v__palette_8cpp_a2c8b5e93edf6061940ca34185468fa03}{b})
\item 
{\footnotesize template$<$class T $>$ }\\T \hyperlink{doomtype_8h_a3de25be2a52e2ad82aa4bc29c1dc281d}{clamp} (const T in, const T min, const T max)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
std::ofstream \hyperlink{doomtype_8h_a6c07b38a2cc703af37b8eec76bdd980b}{LOG}
\item 
const char $\ast$ \hyperlink{doomtype_8h_ab53f9bab33e2a057db9448606a66d76c}{LOG\_\-FILE}
\item 
std::ifstream \hyperlink{doomtype_8h_a6976f3592c090cc792e0aa2b16111323}{CON}
\end{DoxyCompactItemize}


\subsection{Typedef Documentation}
\hypertarget{doomtype_8h_a7dd7832eb5f6f840fb2365f6c2ee2bd8}{
\index{doomtype.h@{doomtype.h}!BITFIELD@{BITFIELD}}
\index{BITFIELD@{BITFIELD}!doomtype.h@{doomtype.h}}
\subsubsection[{BITFIELD}]{\setlength{\rightskip}{0pt plus 5cm}typedef {\bf DWORD} {\bf BITFIELD}}}
\label{d8/d3a/doomtype_8h_a7dd7832eb5f6f840fb2365f6c2ee2bd8}
\hypertarget{doomtype_8h_a050c65e107f0c828f856a231f4b4e788}{
\index{doomtype.h@{doomtype.h}!BOOL@{BOOL}}
\index{BOOL@{BOOL}!doomtype.h@{doomtype.h}}
\subsubsection[{BOOL}]{\setlength{\rightskip}{0pt plus 5cm}typedef int {\bf BOOL}}}
\label{d8/d3a/doomtype_8h_a050c65e107f0c828f856a231f4b4e788}
\hypertarget{doomtype_8h_a0c8186d9b9b7880309c27230bbb5e69d}{
\index{doomtype.h@{doomtype.h}!byte@{byte}}
\index{byte@{byte}!doomtype.h@{doomtype.h}}
\subsubsection[{byte}]{\setlength{\rightskip}{0pt plus 5cm}typedef unsigned char {\bf byte}}}
\label{d8/d3a/doomtype_8h_a0c8186d9b9b7880309c27230bbb5e69d}
\hypertarget{doomtype_8h_a4ae1dab0fb4b072a66584546209e7d58}{
\index{doomtype.h@{doomtype.h}!BYTE@{BYTE}}
\index{BYTE@{BYTE}!doomtype.h@{doomtype.h}}
\subsubsection[{BYTE}]{\setlength{\rightskip}{0pt plus 5cm}typedef unsigned char {\bf BYTE}}}
\label{d8/d3a/doomtype_8h_a4ae1dab0fb4b072a66584546209e7d58}
\hypertarget{doomtype_8h_a1f0aa56c968d17c77f9b507a37ff548a}{
\index{doomtype.h@{doomtype.h}!dboolean@{dboolean}}
\index{dboolean@{dboolean}!doomtype.h@{doomtype.h}}
\subsubsection[{dboolean}]{\setlength{\rightskip}{0pt plus 5cm}typedef bool {\bf dboolean}}}
\label{d8/d3a/doomtype_8h_a1f0aa56c968d17c77f9b507a37ff548a}
\hypertarget{doomtype_8h_ad342ac907eb044443153a22f964bf0af}{
\index{doomtype.h@{doomtype.h}!DWORD@{DWORD}}
\index{DWORD@{DWORD}!doomtype.h@{doomtype.h}}
\subsubsection[{DWORD}]{\setlength{\rightskip}{0pt plus 5cm}typedef unsigned long {\bf DWORD}}}
\label{d8/d3a/doomtype_8h_ad342ac907eb044443153a22f964bf0af}
\hypertarget{doomtype_8h_ad6463c38322185120b9a683834b2d4eb}{
\index{doomtype.h@{doomtype.h}!QWORD@{QWORD}}
\index{QWORD@{QWORD}!doomtype.h@{doomtype.h}}
\subsubsection[{QWORD}]{\setlength{\rightskip}{0pt plus 5cm}typedef unsigned \_\-\_\-int64 {\bf QWORD}}}
\label{d8/d3a/doomtype_8h_ad6463c38322185120b9a683834b2d4eb}
\hypertarget{doomtype_8h_a771e4543f2852e05b8a5e5104df940d2}{
\index{doomtype.h@{doomtype.h}!SBYTE@{SBYTE}}
\index{SBYTE@{SBYTE}!doomtype.h@{doomtype.h}}
\subsubsection[{SBYTE}]{\setlength{\rightskip}{0pt plus 5cm}typedef signed char {\bf SBYTE}}}
\label{d8/d3a/doomtype_8h_a771e4543f2852e05b8a5e5104df940d2}
\hypertarget{doomtype_8h_a75bb2133b108e6f0587b7ccf88a85522}{
\index{doomtype.h@{doomtype.h}!SDWORD@{SDWORD}}
\index{SDWORD@{SDWORD}!doomtype.h@{doomtype.h}}
\subsubsection[{SDWORD}]{\setlength{\rightskip}{0pt plus 5cm}typedef signed long {\bf SDWORD}}}
\label{d8/d3a/doomtype_8h_a75bb2133b108e6f0587b7ccf88a85522}
\hypertarget{doomtype_8h_ac7ddf6e65ac282a89377e0d8e93fd6d7}{
\index{doomtype.h@{doomtype.h}!SQWORD@{SQWORD}}
\index{SQWORD@{SQWORD}!doomtype.h@{doomtype.h}}
\subsubsection[{SQWORD}]{\setlength{\rightskip}{0pt plus 5cm}typedef signed \_\-\_\-int64 {\bf SQWORD}}}
\label{d8/d3a/doomtype_8h_ac7ddf6e65ac282a89377e0d8e93fd6d7}
\hypertarget{doomtype_8h_aa2a68256db5a10b7b32434e92d834759}{
\index{doomtype.h@{doomtype.h}!SWORD@{SWORD}}
\index{SWORD@{SWORD}!doomtype.h@{doomtype.h}}
\subsubsection[{SWORD}]{\setlength{\rightskip}{0pt plus 5cm}typedef signed short {\bf SWORD}}}
\label{d8/d3a/doomtype_8h_aa2a68256db5a10b7b32434e92d834759}
\hypertarget{doomtype_8h_a6eb1e68cc391dd753bc8ce896dbb8315}{
\index{doomtype.h@{doomtype.h}!uint32\_\-t@{uint32\_\-t}}
\index{uint32\_\-t@{uint32\_\-t}!doomtype.h@{doomtype.h}}
\subsubsection[{uint32\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}typedef unsigned \_\-\_\-int32 {\bf uint32\_\-t}}}
\label{d8/d3a/doomtype_8h_a6eb1e68cc391dd753bc8ce896dbb8315}
\hypertarget{doomtype_8h_aec6fcb673ff035718c238c8c9d544c47}{
\index{doomtype.h@{doomtype.h}!uint64\_\-t@{uint64\_\-t}}
\index{uint64\_\-t@{uint64\_\-t}!doomtype.h@{doomtype.h}}
\subsubsection[{uint64\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}typedef unsigned \_\-\_\-int64 {\bf uint64\_\-t}}}
\label{d8/d3a/doomtype_8h_aec6fcb673ff035718c238c8c9d544c47}
\hypertarget{doomtype_8h_a197942eefa7db30960ae396d68339b97}{
\index{doomtype.h@{doomtype.h}!WORD@{WORD}}
\index{WORD@{WORD}!doomtype.h@{doomtype.h}}
\subsubsection[{WORD}]{\setlength{\rightskip}{0pt plus 5cm}typedef unsigned short {\bf WORD}}}
\label{d8/d3a/doomtype_8h_a197942eefa7db30960ae396d68339b97}


\subsection{Enumeration Type Documentation}
\hypertarget{doomtype_8h_a1f1ab006e4fa539acde43923a3219ace}{
\index{doomtype.h@{doomtype.h}!dboolean@{dboolean}}
\index{dboolean@{dboolean}!doomtype.h@{doomtype.h}}
\subsubsection[{dboolean}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf dboolean}}}
\label{d8/d3a/doomtype_8h_a1f1ab006e4fa539acde43923a3219ace}
\begin{Desc}
\item[Enumerator: ]\par
\begin{description}
\index{false@{false}!doomtype.h@{doomtype.h}}\index{doomtype.h@{doomtype.h}!false@{false}}\item[{\em 
\hypertarget{doomtype_8h_a1f1ab006e4fa539acde43923a3219aceae9de385ef6fe9bf3360d1038396b884c}{
false}
\label{d8/d3a/doomtype_8h_a1f1ab006e4fa539acde43923a3219aceae9de385ef6fe9bf3360d1038396b884c}
}]\index{true@{true}!doomtype.h@{doomtype.h}}\index{doomtype.h@{doomtype.h}!true@{true}}\item[{\em 
\hypertarget{doomtype_8h_a1f1ab006e4fa539acde43923a3219acea08f175a5505a10b9ed657defeb050e4b}{
true}
\label{d8/d3a/doomtype_8h_a1f1ab006e4fa539acde43923a3219acea08f175a5505a10b9ed657defeb050e4b}
}]\end{description}
\end{Desc}



\subsection{Function Documentation}
\hypertarget{doomtype_8h_a3de25be2a52e2ad82aa4bc29c1dc281d}{
\index{doomtype.h@{doomtype.h}!clamp@{clamp}}
\index{clamp@{clamp}!doomtype.h@{doomtype.h}}
\subsubsection[{clamp}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ T clamp (
\begin{DoxyParamCaption}
\item[{const T}]{in, }
\item[{const T}]{min, }
\item[{const T}]{max}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d8/d3a/doomtype_8h_a3de25be2a52e2ad82aa4bc29c1dc281d}
\hypertarget{doomtype_8h_ac8961efff3becfba8b41f3bcddc36f98}{
\index{doomtype.h@{doomtype.h}!DPrintf@{DPrintf}}
\index{DPrintf@{DPrintf}!doomtype.h@{doomtype.h}}
\subsubsection[{DPrintf}]{\setlength{\rightskip}{0pt plus 5cm}int STACK\_\-ARGS DPrintf (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{, }
\item[{}]{...}
\end{DoxyParamCaption}
)}}
\label{d8/d3a/doomtype_8h_ac8961efff3becfba8b41f3bcddc36f98}
\hypertarget{doomtype_8h_a1f05ad061b8e03e6ea3a06d9976634e1}{
\index{doomtype.h@{doomtype.h}!MAX@{MAX}}
\index{MAX@{MAX}!doomtype.h@{doomtype.h}}
\subsubsection[{MAX}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ const T MAX (
\begin{DoxyParamCaption}
\item[{const T}]{a, }
\item[{const T}]{b}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d8/d3a/doomtype_8h_a1f05ad061b8e03e6ea3a06d9976634e1}
\hypertarget{doomtype_8h_aee87f313536791730ec441e9a3b4fb79}{
\index{doomtype.h@{doomtype.h}!MIN@{MIN}}
\index{MIN@{MIN}!doomtype.h@{doomtype.h}}
\subsubsection[{MIN}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ const T MIN (
\begin{DoxyParamCaption}
\item[{const T}]{a, }
\item[{const T}]{b}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d8/d3a/doomtype_8h_aee87f313536791730ec441e9a3b4fb79}
\hypertarget{doomtype_8h_ac84ce19fa00ee8337f97e041c5dc12fb}{
\index{doomtype.h@{doomtype.h}!Printf@{Printf}}
\index{Printf@{Printf}!doomtype.h@{doomtype.h}}
\subsubsection[{Printf}]{\setlength{\rightskip}{0pt plus 5cm}int STACK\_\-ARGS Printf (
\begin{DoxyParamCaption}
\item[{int}]{printlevel, }
\item[{const char $\ast$}]{, }
\item[{}]{...}
\end{DoxyParamCaption}
)}}
\label{d8/d3a/doomtype_8h_ac84ce19fa00ee8337f97e041c5dc12fb}
\hypertarget{doomtype_8h_a77c62b6c93d6ce6fa3e512d176c8f7fd}{
\index{doomtype.h@{doomtype.h}!Printf\_\-Bold@{Printf\_\-Bold}}
\index{Printf\_\-Bold@{Printf\_\-Bold}!doomtype.h@{doomtype.h}}
\subsubsection[{Printf\_\-Bold}]{\setlength{\rightskip}{0pt plus 5cm}int STACK\_\-ARGS Printf\_\-Bold (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{format, }
\item[{}]{...}
\end{DoxyParamCaption}
)}}
\label{d8/d3a/doomtype_8h_a77c62b6c93d6ce6fa3e512d176c8f7fd}


\subsection{Variable Documentation}
\hypertarget{doomtype_8h_a6976f3592c090cc792e0aa2b16111323}{
\index{doomtype.h@{doomtype.h}!CON@{CON}}
\index{CON@{CON}!doomtype.h@{doomtype.h}}
\subsubsection[{CON}]{\setlength{\rightskip}{0pt plus 5cm}std::ifstream {\bf CON}}}
\label{d8/d3a/doomtype_8h_a6976f3592c090cc792e0aa2b16111323}
\hypertarget{doomtype_8h_a6c07b38a2cc703af37b8eec76bdd980b}{
\index{doomtype.h@{doomtype.h}!LOG@{LOG}}
\index{LOG@{LOG}!doomtype.h@{doomtype.h}}
\subsubsection[{LOG}]{\setlength{\rightskip}{0pt plus 5cm}std::ofstream {\bf LOG}}}
\label{d8/d3a/doomtype_8h_a6c07b38a2cc703af37b8eec76bdd980b}
\hypertarget{doomtype_8h_ab53f9bab33e2a057db9448606a66d76c}{
\index{doomtype.h@{doomtype.h}!LOG\_\-FILE@{LOG\_\-FILE}}
\index{LOG\_\-FILE@{LOG\_\-FILE}!doomtype.h@{doomtype.h}}
\subsubsection[{LOG\_\-FILE}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ {\bf LOG\_\-FILE}}}
\label{d8/d3a/doomtype_8h_ab53f9bab33e2a057db9448606a66d76c}
