\hypertarget{Resolution_8cpp}{\section{trunk/bwapi/\-B\-W\-A\-P\-I/\-Source/\-Resolution.cpp \-File \-Reference}
\label{Resolution_8cpp}\index{trunk/bwapi/\-B\-W\-A\-P\-I/\-Source/\-Resolution.\-cpp@{trunk/bwapi/\-B\-W\-A\-P\-I/\-Source/\-Resolution.\-cpp}}
}
{\ttfamily \#include \char`\"{}\-Resolution.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}\-W\-Mode.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}\-Config.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}\-D\-L\-L\-Main.\-h\char`\"{}}\*
{\ttfamily \#include $<$\-B\-W\-A\-P\-I/\-Coordinate\-Type.\-h$>$}\*
{\ttfamily \#include \char`\"{}\-B\-W/\-Offsets.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}\-B\-W/\-Sprite.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}\-B\-W/\-Image.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}\-New\-Hack\-Util.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}../../\-Debug.\-h\char`\"{}}\*
\-Include dependency graph for \-Resolution.\-cpp\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{Resolution_8cpp__incl}
\end{center}
\end{figure}
\subsection*{\-Defines}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{Resolution_8cpp_ab11aded00292d4693c2028fd4090cb8e}{\-D\-D\-C\-H\-E\-C\-K}(\hyperlink{Detours_8h_aea72dea2d265251bf7d417d17b1add4e}{x})~\{ \hyperlink{ChaosLauncherInjector_2source_2DLLMain_8cpp_ae8aa3b41b941c754d5e345fe842a85f8}{if} ( !(\hyperlink{Detours_8h_aea72dea2d265251bf7d417d17b1add4e}{x}) ) \hyperlink{MPQDraftInjector_2source_2DLLMain_8cpp_a8e221b107539fa338411deb1bb924eb9}{\-B\-W\-A\-P\-I\-Error}(\-Get\-Last\-Error(), \char`\"{}$\backslash$\char`\"{}\char`\"{} \#x \char`\"{}$\backslash$\char`\"{} failed on \%s\-:\%u.\char`\"{}, \-\_\-\-\_\-\-F\-I\-L\-E\-\_\-\-\_\-, \-\_\-\-\_\-\-L\-I\-N\-E\-\_\-\-\_\-); \}
\end{DoxyCompactItemize}
\subsection*{\-Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{Resolution_8cpp_a4a086f1a99a4e5441be2908a36b21550}{\-Set\-Bitmap} (\hyperlink{structBW_1_1bitmap}{\-B\-W\-::bitmap} $\ast$\-Bitmap, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} width, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} height, void $\ast$\hyperlink{Detours_8h_a23123639a9f14f532c3e2dd4149bc135}{data})
\item 
void \hyperlink{Resolution_8cpp_aa4a89e6cdcec4198fb052d8577026fc6}{\-Set\-Resolution} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} width, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} height)
\item 
void \hyperlink{Resolution_8cpp_a5ae460ddd9a7bc8b9b29e07fb73dde7e}{\-D\-Draw\-Destroy} ()
\item 
void \hyperlink{Resolution_8cpp_a5dbda05cd101443b243f7b7df47bfb16}{\-D\-Draw\-Initialize} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} width, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} height)
\item 
void \hyperlink{Resolution_8cpp_a1e6bc2330ba874cc88b53422dc77d034}{update\-Image\-Drawing\-Data} ()
\item 
void \hyperlink{Resolution_8cpp_ad79b173e4005f236ac1d3e5aca7308ed}{blit\-Game\-Text} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} line, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{Detours_8h_aea72dea2d265251bf7d417d17b1add4e}{x}, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{Detours_8h_a2e2ad199e293564b2c8eab0073490c88}{y})
\item 
void \hyperlink{Resolution_8cpp_af9a8007c7463a0f91dcc8d08ea13a16e}{draw\-Game\-Text} ()
\item 
void \hyperlink{Resolution_8cpp_a181e3bf2b7cc312bc260e9e6ccecd690}{\-Game\-Update} (\hyperlink{structBW_1_1bitmap}{\-B\-W\-::bitmap} $\ast$p\-Surface, \hyperlink{structBW_1_1bounds}{\-B\-W\-::bounds} $\ast$p\-Bounds)
\end{DoxyCompactItemize}
\subsection*{\-Variables}
\begin{DoxyCompactItemize}
\item 
\-H\-M\-O\-D\-U\-L\-E \hyperlink{Resolution_8cpp_a39b7970ff66ec9950147d8be29fa8a94}{dd\-Lib}
\end{DoxyCompactItemize}


\subsection{\-Define \-Documentation}
\hypertarget{Resolution_8cpp_ab11aded00292d4693c2028fd4090cb8e}{\index{\-Resolution.\-cpp@{\-Resolution.\-cpp}!\-D\-D\-C\-H\-E\-C\-K@{\-D\-D\-C\-H\-E\-C\-K}}
\index{\-D\-D\-C\-H\-E\-C\-K@{\-D\-D\-C\-H\-E\-C\-K}!Resolution.cpp@{\-Resolution.\-cpp}}
\subsubsection[{\-D\-D\-C\-H\-E\-C\-K}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-D\-D\-C\-H\-E\-C\-K}(
\begin{DoxyParamCaption}
\item[{}]{{\bf x}}
\end{DoxyParamCaption}
)~\{ {\bf if} ( !({\bf x}) ) {\bf \-B\-W\-A\-P\-I\-Error}(\-Get\-Last\-Error(), \char`\"{}$\backslash$\char`\"{}\char`\"{} \#x \char`\"{}$\backslash$\char`\"{} failed on \%s\-:\%u.\char`\"{}, \-\_\-\-\_\-\-F\-I\-L\-E\-\_\-\-\_\-, \-\_\-\-\_\-\-L\-I\-N\-E\-\_\-\-\_\-); \}}}\label{Resolution_8cpp_ab11aded00292d4693c2028fd4090cb8e}


\subsection{\-Function \-Documentation}
\hypertarget{Resolution_8cpp_ad79b173e4005f236ac1d3e5aca7308ed}{\index{\-Resolution.\-cpp@{\-Resolution.\-cpp}!blit\-Game\-Text@{blit\-Game\-Text}}
\index{blit\-Game\-Text@{blit\-Game\-Text}!Resolution.cpp@{\-Resolution.\-cpp}}
\subsubsection[{blit\-Game\-Text}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf blit\-Game\-Text} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{line, }
\item[{{\bf int}}]{x, }
\item[{{\bf int}}]{y}
\end{DoxyParamCaption}
)}}\label{Resolution_8cpp_ad79b173e4005f236ac1d3e5aca7308ed}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{Resolution_8cpp_ad79b173e4005f236ac1d3e5aca7308ed_cgraph}
\end{center}
\end{figure}




\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{Resolution_8cpp_ad79b173e4005f236ac1d3e5aca7308ed_icgraph}
\end{center}
\end{figure}


\hypertarget{Resolution_8cpp_a5ae460ddd9a7bc8b9b29e07fb73dde7e}{\index{\-Resolution.\-cpp@{\-Resolution.\-cpp}!\-D\-Draw\-Destroy@{\-D\-Draw\-Destroy}}
\index{\-D\-Draw\-Destroy@{\-D\-Draw\-Destroy}!Resolution.cpp@{\-Resolution.\-cpp}}
\subsubsection[{\-D\-Draw\-Destroy}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-D\-Draw\-Destroy} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{Resolution_8cpp_a5ae460ddd9a7bc8b9b29e07fb73dde7e}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=312pt]{Resolution_8cpp_a5ae460ddd9a7bc8b9b29e07fb73dde7e_cgraph}
\end{center}
\end{figure}




\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{Resolution_8cpp_a5ae460ddd9a7bc8b9b29e07fb73dde7e_icgraph}
\end{center}
\end{figure}


\hypertarget{Resolution_8cpp_a5dbda05cd101443b243f7b7df47bfb16}{\index{\-Resolution.\-cpp@{\-Resolution.\-cpp}!\-D\-Draw\-Initialize@{\-D\-Draw\-Initialize}}
\index{\-D\-Draw\-Initialize@{\-D\-Draw\-Initialize}!Resolution.cpp@{\-Resolution.\-cpp}}
\subsubsection[{\-D\-Draw\-Initialize}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-D\-Draw\-Initialize} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{width, }
\item[{{\bf int}}]{height}
\end{DoxyParamCaption}
)}}\label{Resolution_8cpp_a5dbda05cd101443b243f7b7df47bfb16}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=314pt]{Resolution_8cpp_a5dbda05cd101443b243f7b7df47bfb16_cgraph}
\end{center}
\end{figure}




\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{Resolution_8cpp_a5dbda05cd101443b243f7b7df47bfb16_icgraph}
\end{center}
\end{figure}


\hypertarget{Resolution_8cpp_af9a8007c7463a0f91dcc8d08ea13a16e}{\index{\-Resolution.\-cpp@{\-Resolution.\-cpp}!draw\-Game\-Text@{draw\-Game\-Text}}
\index{draw\-Game\-Text@{draw\-Game\-Text}!Resolution.cpp@{\-Resolution.\-cpp}}
\subsubsection[{draw\-Game\-Text}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf draw\-Game\-Text} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{Resolution_8cpp_af9a8007c7463a0f91dcc8d08ea13a16e}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{Resolution_8cpp_af9a8007c7463a0f91dcc8d08ea13a16e_cgraph}
\end{center}
\end{figure}




\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=274pt]{Resolution_8cpp_af9a8007c7463a0f91dcc8d08ea13a16e_icgraph}
\end{center}
\end{figure}


\hypertarget{Resolution_8cpp_a181e3bf2b7cc312bc260e9e6ccecd690}{\index{\-Resolution.\-cpp@{\-Resolution.\-cpp}!\-Game\-Update@{\-Game\-Update}}
\index{\-Game\-Update@{\-Game\-Update}!Resolution.cpp@{\-Resolution.\-cpp}}
\subsubsection[{\-Game\-Update}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Game\-Update} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-::bitmap} $\ast$}]{p\-Surface, }
\item[{{\bf \-B\-W\-::bounds} $\ast$}]{p\-Bounds}
\end{DoxyParamCaption}
)}}\label{Resolution_8cpp_a181e3bf2b7cc312bc260e9e6ccecd690}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{Resolution_8cpp_a181e3bf2b7cc312bc260e9e6ccecd690_cgraph}
\end{center}
\end{figure}


\hypertarget{Resolution_8cpp_a4a086f1a99a4e5441be2908a36b21550}{\index{\-Resolution.\-cpp@{\-Resolution.\-cpp}!\-Set\-Bitmap@{\-Set\-Bitmap}}
\index{\-Set\-Bitmap@{\-Set\-Bitmap}!Resolution.cpp@{\-Resolution.\-cpp}}
\subsubsection[{\-Set\-Bitmap}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Set\-Bitmap} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-::bitmap} $\ast$}]{\-Bitmap, }
\item[{{\bf int}}]{width, }
\item[{{\bf int}}]{height, }
\item[{void $\ast$}]{data}
\end{DoxyParamCaption}
)}}\label{Resolution_8cpp_a4a086f1a99a4e5441be2908a36b21550}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{Resolution_8cpp_a4a086f1a99a4e5441be2908a36b21550_icgraph}
\end{center}
\end{figure}


\hypertarget{Resolution_8cpp_aa4a89e6cdcec4198fb052d8577026fc6}{\index{\-Resolution.\-cpp@{\-Resolution.\-cpp}!\-Set\-Resolution@{\-Set\-Resolution}}
\index{\-Set\-Resolution@{\-Set\-Resolution}!Resolution.cpp@{\-Resolution.\-cpp}}
\subsubsection[{\-Set\-Resolution}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Set\-Resolution} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{width, }
\item[{{\bf int}}]{height}
\end{DoxyParamCaption}
)}}\label{Resolution_8cpp_aa4a89e6cdcec4198fb052d8577026fc6}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{Resolution_8cpp_aa4a89e6cdcec4198fb052d8577026fc6_cgraph}
\end{center}
\end{figure}




\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{Resolution_8cpp_aa4a89e6cdcec4198fb052d8577026fc6_icgraph}
\end{center}
\end{figure}


\hypertarget{Resolution_8cpp_a1e6bc2330ba874cc88b53422dc77d034}{\index{\-Resolution.\-cpp@{\-Resolution.\-cpp}!update\-Image\-Drawing\-Data@{update\-Image\-Drawing\-Data}}
\index{update\-Image\-Drawing\-Data@{update\-Image\-Drawing\-Data}!Resolution.cpp@{\-Resolution.\-cpp}}
\subsubsection[{update\-Image\-Drawing\-Data}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf update\-Image\-Drawing\-Data} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{Resolution_8cpp_a1e6bc2330ba874cc88b53422dc77d034}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=320pt]{Resolution_8cpp_a1e6bc2330ba874cc88b53422dc77d034_icgraph}
\end{center}
\end{figure}




\subsection{\-Variable \-Documentation}
\hypertarget{Resolution_8cpp_a39b7970ff66ec9950147d8be29fa8a94}{\index{\-Resolution.\-cpp@{\-Resolution.\-cpp}!dd\-Lib@{dd\-Lib}}
\index{dd\-Lib@{dd\-Lib}!Resolution.cpp@{\-Resolution.\-cpp}}
\subsubsection[{dd\-Lib}]{\setlength{\rightskip}{0pt plus 5cm}\-H\-M\-O\-D\-U\-L\-E {\bf dd\-Lib}}}\label{Resolution_8cpp_a39b7970ff66ec9950147d8be29fa8a94}
