\hypertarget{GameDrawing_8cpp}{\section{trunk/bwapi/\-B\-W\-A\-P\-I/\-Source/\-B\-W\-A\-P\-I/\-Game\-Drawing.cpp \-File \-Reference}
\label{GameDrawing_8cpp}\index{trunk/bwapi/\-B\-W\-A\-P\-I/\-Source/\-B\-W\-A\-P\-I/\-Game\-Drawing.\-cpp@{trunk/bwapi/\-B\-W\-A\-P\-I/\-Source/\-B\-W\-A\-P\-I/\-Game\-Drawing.\-cpp}}
}
{\ttfamily \#include \char`\"{}\-Game\-Impl.\-h\char`\"{}}\*
{\ttfamily \#include $<$windows.\-h$>$}\*
{\ttfamily \#include \char`\"{}\-Graphics.\-h\char`\"{}}\*
{\ttfamily \#include $<$cassert$>$}\*
{\ttfamily \#include \char`\"{}../../\-Debug.\-h\char`\"{}}\*
\-Include dependency graph for \-Game\-Drawing.\-cpp\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{GameDrawing_8cpp__incl}
\end{center}
\end{figure}
\subsection*{\-Namespaces}
\begin{DoxyCompactItemize}
\item 
namespace \hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I}
\end{DoxyCompactItemize}
\subsection*{\-Defines}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{GameDrawing_8cpp_ac7bef5d85e3dcd73eef56ad39ffc84a9}{\-W\-I\-N32\-\_\-\-L\-E\-A\-N\-\_\-\-A\-N\-D\-\_\-\-M\-E\-A\-N}
\item 
\#define \hyperlink{GameDrawing_8cpp_a28e38233e63ff70bdd66e232157529ac}{fixed2\-Int}(\hyperlink{Detours_8h_aea72dea2d265251bf7d417d17b1add4e}{x})~( ((\hyperlink{Detours_8h_aea72dea2d265251bf7d417d17b1add4e}{x}) + (1 $<$$<$ 15)) / (1 $<$$<$ 16) )
\item 
\#define \hyperlink{GameDrawing_8cpp_a756cc84c14c594d3e7b3db8a4e5fa779}{int2\-Fixed}(\hyperlink{Detours_8h_aea72dea2d265251bf7d417d17b1add4e}{x})~( (\hyperlink{Detours_8h_aea72dea2d265251bf7d417d17b1add4e}{x}) $\ast$ (1 $<$$<$ 16) )
\item 
\#define \hyperlink{GameDrawing_8cpp_a4c2b2f7a6921269fa82481c9aa82165a}{positive}(\hyperlink{Detours_8h_aea72dea2d265251bf7d417d17b1add4e}{x})~( (\hyperlink{Detours_8h_aea72dea2d265251bf7d417d17b1add4e}{x}) $>$ 1 ? (\hyperlink{Detours_8h_aea72dea2d265251bf7d417d17b1add4e}{x}) \-: 1 )
\item 
\#define \hyperlink{GameDrawing_8cpp_a89cdd040eb0b5b9aab4b35e04802401c}{incx}()~x2++, dxt += d2xt, t += dxt
\item 
\#define \hyperlink{GameDrawing_8cpp_a5875dbc93f48af2e3adaca5a85a3b1c4}{incy}()~y2-\/-\/, dyt += d2yt, t += dyt
\end{DoxyCompactItemize}
\subsection*{\-Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{namespaceBWAPI_abdaa9a56c4ea66045e1ddb0f21ea8ed9}{\-B\-W\-A\-P\-I\-::swap} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \&a0, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \&a1)
\end{DoxyCompactItemize}


\subsection{\-Define \-Documentation}
\hypertarget{GameDrawing_8cpp_a28e38233e63ff70bdd66e232157529ac}{\index{\-Game\-Drawing.\-cpp@{\-Game\-Drawing.\-cpp}!fixed2\-Int@{fixed2\-Int}}
\index{fixed2\-Int@{fixed2\-Int}!GameDrawing.cpp@{\-Game\-Drawing.\-cpp}}
\subsubsection[{fixed2\-Int}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf fixed2\-Int}(
\begin{DoxyParamCaption}
\item[{}]{{\bf x}}
\end{DoxyParamCaption}
)~( (({\bf x}) + (1 $<$$<$ 15)) / (1 $<$$<$ 16) )}}\label{GameDrawing_8cpp_a28e38233e63ff70bdd66e232157529ac}
\hypertarget{GameDrawing_8cpp_a89cdd040eb0b5b9aab4b35e04802401c}{\index{\-Game\-Drawing.\-cpp@{\-Game\-Drawing.\-cpp}!incx@{incx}}
\index{incx@{incx}!GameDrawing.cpp@{\-Game\-Drawing.\-cpp}}
\subsubsection[{incx}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf incx}(
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)~x2++, dxt += d2xt, t += dxt}}\label{GameDrawing_8cpp_a89cdd040eb0b5b9aab4b35e04802401c}
\hypertarget{GameDrawing_8cpp_a5875dbc93f48af2e3adaca5a85a3b1c4}{\index{\-Game\-Drawing.\-cpp@{\-Game\-Drawing.\-cpp}!incy@{incy}}
\index{incy@{incy}!GameDrawing.cpp@{\-Game\-Drawing.\-cpp}}
\subsubsection[{incy}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf incy}(
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)~y2-\/-\/, dyt += d2yt, t += dyt}}\label{GameDrawing_8cpp_a5875dbc93f48af2e3adaca5a85a3b1c4}
\hypertarget{GameDrawing_8cpp_a756cc84c14c594d3e7b3db8a4e5fa779}{\index{\-Game\-Drawing.\-cpp@{\-Game\-Drawing.\-cpp}!int2\-Fixed@{int2\-Fixed}}
\index{int2\-Fixed@{int2\-Fixed}!GameDrawing.cpp@{\-Game\-Drawing.\-cpp}}
\subsubsection[{int2\-Fixed}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf int2\-Fixed}(
\begin{DoxyParamCaption}
\item[{}]{{\bf x}}
\end{DoxyParamCaption}
)~( ({\bf x}) $\ast$ (1 $<$$<$ 16) )}}\label{GameDrawing_8cpp_a756cc84c14c594d3e7b3db8a4e5fa779}
\hypertarget{GameDrawing_8cpp_a4c2b2f7a6921269fa82481c9aa82165a}{\index{\-Game\-Drawing.\-cpp@{\-Game\-Drawing.\-cpp}!positive@{positive}}
\index{positive@{positive}!GameDrawing.cpp@{\-Game\-Drawing.\-cpp}}
\subsubsection[{positive}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf positive}(
\begin{DoxyParamCaption}
\item[{}]{{\bf x}}
\end{DoxyParamCaption}
)~( ({\bf x}) $>$ 1 ? ({\bf x}) \-: 1 )}}\label{GameDrawing_8cpp_a4c2b2f7a6921269fa82481c9aa82165a}
\hypertarget{GameDrawing_8cpp_ac7bef5d85e3dcd73eef56ad39ffc84a9}{\index{\-Game\-Drawing.\-cpp@{\-Game\-Drawing.\-cpp}!\-W\-I\-N32\-\_\-\-L\-E\-A\-N\-\_\-\-A\-N\-D\-\_\-\-M\-E\-A\-N@{\-W\-I\-N32\-\_\-\-L\-E\-A\-N\-\_\-\-A\-N\-D\-\_\-\-M\-E\-A\-N}}
\index{\-W\-I\-N32\-\_\-\-L\-E\-A\-N\-\_\-\-A\-N\-D\-\_\-\-M\-E\-A\-N@{\-W\-I\-N32\-\_\-\-L\-E\-A\-N\-\_\-\-A\-N\-D\-\_\-\-M\-E\-A\-N}!GameDrawing.cpp@{\-Game\-Drawing.\-cpp}}
\subsubsection[{\-W\-I\-N32\-\_\-\-L\-E\-A\-N\-\_\-\-A\-N\-D\-\_\-\-M\-E\-A\-N}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-W\-I\-N32\-\_\-\-L\-E\-A\-N\-\_\-\-A\-N\-D\-\_\-\-M\-E\-A\-N}}}\label{GameDrawing_8cpp_ac7bef5d85e3dcd73eef56ad39ffc84a9}
