\hypertarget{DevAIModule_8h}{\section{trunk/bwapi/\-Dev\-A\-I\-Module/\-Source/\-Dev\-A\-I\-Module.h \-File \-Reference}
\label{DevAIModule_8h}\index{trunk/bwapi/\-Dev\-A\-I\-Module/\-Source/\-Dev\-A\-I\-Module.\-h@{trunk/bwapi/\-Dev\-A\-I\-Module/\-Source/\-Dev\-A\-I\-Module.\-h}}
}
{\ttfamily \#include $<$\-B\-W\-A\-P\-I.\-h$>$}\*
{\ttfamily \#include $<$windows.\-h$>$}\*
{\ttfamily \#include $<$algorithm$>$}\*
{\ttfamily \#include \char`\"{}\-Wiki.\-h\char`\"{}}\*
\-Include dependency graph for \-Dev\-A\-I\-Module.\-h\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{DevAIModule_8h__incl}
\end{center}
\end{figure}
\-This graph shows which files directly or indirectly include this file\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{DevAIModule_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{\-Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classDevAIModule}{\-Dev\-A\-I\-Module}
\end{DoxyCompactItemize}
\subsection*{\-Defines}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{DevAIModule_8h_ae5aa6f79993d4fd45391423282cf97be}{bw}~\hyperlink{namespaceBWAPI_a734117433f2919ca501804ebe0050afb}{\-B\-W\-A\-P\-I\-::\-Broodwar}
\item 
\#define \hyperlink{DevAIModule_8h_a610a6ffe86c3b34f3fcb626845cba5c5}{\-S\-E\-A\-R\-C\-H\-\_\-\-U\-N\-E\-X\-P\-L\-O\-R\-E\-D}~0
\item 
\#define \hyperlink{DevAIModule_8h_a24d36e31e9d121b8cf8d51c781697c06}{\-S\-E\-A\-R\-C\-H\-\_\-\-E\-X\-P\-L\-O\-R\-E\-D}~1
\item 
\#define \hyperlink{DevAIModule_8h_acdbe8d431039d61583ba782007ef1f20}{\-S\-E\-A\-R\-C\-H\-\_\-\-N\-O\-T\-V\-I\-S\-I\-B\-L\-E}~2
\item 
\#define \hyperlink{DevAIModule_8h_a0197a53d90d1347e24a128d9e51abb89}{\-S\-E\-A\-R\-C\-H\-\_\-\-C\-O\-N\-S\-T\-R\-U\-C\-T}~3
\end{DoxyCompactItemize}
\subsection*{\-Functions}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{DevAIModule_8h_af182b6f5e809ed2adf8c0c0eea7e6575}{point\-Search} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} dw\-Type, \hyperlink{classBWAPI_1_1TilePosition}{\-B\-W\-A\-P\-I\-::\-Tile\-Position} pt, \hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit=\hyperlink{Types_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{\-N\-U\-L\-L}, \hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} type=\hyperlink{namespaceBWAPI_1_1UnitTypes_aed86265448183e399e175695a97ec800}{\-B\-W\-A\-P\-I\-::\-Unit\-Types\-::\-None}, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} width=1, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} height=1)
\item 
\hyperlink{classBWAPI_1_1TilePosition}{\-B\-W\-A\-P\-I\-::\-Tile\-Position} \hyperlink{DevAIModule_8h_af4c4bf986518c26e69d3f6721441495e}{spiral\-Search} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} dw\-Type, \hyperlink{classBWAPI_1_1TilePosition}{\-B\-W\-A\-P\-I\-::\-Tile\-Position} start, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} radius, \hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit=\hyperlink{Types_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{\-N\-U\-L\-L}, \hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} type=\hyperlink{namespaceBWAPI_1_1UnitTypes_aed86265448183e399e175695a97ec800}{\-B\-W\-A\-P\-I\-::\-Unit\-Types\-::\-None}, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} width=1, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} height=1)
\end{DoxyCompactItemize}


\subsection{\-Define \-Documentation}
\hypertarget{DevAIModule_8h_ae5aa6f79993d4fd45391423282cf97be}{\index{\-Dev\-A\-I\-Module.\-h@{\-Dev\-A\-I\-Module.\-h}!bw@{bw}}
\index{bw@{bw}!DevAIModule.h@{\-Dev\-A\-I\-Module.\-h}}
\subsubsection[{bw}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf bw}~{\bf \-B\-W\-A\-P\-I\-::\-Broodwar}}}\label{DevAIModule_8h_ae5aa6f79993d4fd45391423282cf97be}
\hypertarget{DevAIModule_8h_a0197a53d90d1347e24a128d9e51abb89}{\index{\-Dev\-A\-I\-Module.\-h@{\-Dev\-A\-I\-Module.\-h}!\-S\-E\-A\-R\-C\-H\-\_\-\-C\-O\-N\-S\-T\-R\-U\-C\-T@{\-S\-E\-A\-R\-C\-H\-\_\-\-C\-O\-N\-S\-T\-R\-U\-C\-T}}
\index{\-S\-E\-A\-R\-C\-H\-\_\-\-C\-O\-N\-S\-T\-R\-U\-C\-T@{\-S\-E\-A\-R\-C\-H\-\_\-\-C\-O\-N\-S\-T\-R\-U\-C\-T}!DevAIModule.h@{\-Dev\-A\-I\-Module.\-h}}
\subsubsection[{\-S\-E\-A\-R\-C\-H\-\_\-\-C\-O\-N\-S\-T\-R\-U\-C\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-S\-E\-A\-R\-C\-H\-\_\-\-C\-O\-N\-S\-T\-R\-U\-C\-T}~3}}\label{DevAIModule_8h_a0197a53d90d1347e24a128d9e51abb89}
\hypertarget{DevAIModule_8h_a24d36e31e9d121b8cf8d51c781697c06}{\index{\-Dev\-A\-I\-Module.\-h@{\-Dev\-A\-I\-Module.\-h}!\-S\-E\-A\-R\-C\-H\-\_\-\-E\-X\-P\-L\-O\-R\-E\-D@{\-S\-E\-A\-R\-C\-H\-\_\-\-E\-X\-P\-L\-O\-R\-E\-D}}
\index{\-S\-E\-A\-R\-C\-H\-\_\-\-E\-X\-P\-L\-O\-R\-E\-D@{\-S\-E\-A\-R\-C\-H\-\_\-\-E\-X\-P\-L\-O\-R\-E\-D}!DevAIModule.h@{\-Dev\-A\-I\-Module.\-h}}
\subsubsection[{\-S\-E\-A\-R\-C\-H\-\_\-\-E\-X\-P\-L\-O\-R\-E\-D}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-S\-E\-A\-R\-C\-H\-\_\-\-E\-X\-P\-L\-O\-R\-E\-D}~1}}\label{DevAIModule_8h_a24d36e31e9d121b8cf8d51c781697c06}
\hypertarget{DevAIModule_8h_acdbe8d431039d61583ba782007ef1f20}{\index{\-Dev\-A\-I\-Module.\-h@{\-Dev\-A\-I\-Module.\-h}!\-S\-E\-A\-R\-C\-H\-\_\-\-N\-O\-T\-V\-I\-S\-I\-B\-L\-E@{\-S\-E\-A\-R\-C\-H\-\_\-\-N\-O\-T\-V\-I\-S\-I\-B\-L\-E}}
\index{\-S\-E\-A\-R\-C\-H\-\_\-\-N\-O\-T\-V\-I\-S\-I\-B\-L\-E@{\-S\-E\-A\-R\-C\-H\-\_\-\-N\-O\-T\-V\-I\-S\-I\-B\-L\-E}!DevAIModule.h@{\-Dev\-A\-I\-Module.\-h}}
\subsubsection[{\-S\-E\-A\-R\-C\-H\-\_\-\-N\-O\-T\-V\-I\-S\-I\-B\-L\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-S\-E\-A\-R\-C\-H\-\_\-\-N\-O\-T\-V\-I\-S\-I\-B\-L\-E}~2}}\label{DevAIModule_8h_acdbe8d431039d61583ba782007ef1f20}
\hypertarget{DevAIModule_8h_a610a6ffe86c3b34f3fcb626845cba5c5}{\index{\-Dev\-A\-I\-Module.\-h@{\-Dev\-A\-I\-Module.\-h}!\-S\-E\-A\-R\-C\-H\-\_\-\-U\-N\-E\-X\-P\-L\-O\-R\-E\-D@{\-S\-E\-A\-R\-C\-H\-\_\-\-U\-N\-E\-X\-P\-L\-O\-R\-E\-D}}
\index{\-S\-E\-A\-R\-C\-H\-\_\-\-U\-N\-E\-X\-P\-L\-O\-R\-E\-D@{\-S\-E\-A\-R\-C\-H\-\_\-\-U\-N\-E\-X\-P\-L\-O\-R\-E\-D}!DevAIModule.h@{\-Dev\-A\-I\-Module.\-h}}
\subsubsection[{\-S\-E\-A\-R\-C\-H\-\_\-\-U\-N\-E\-X\-P\-L\-O\-R\-E\-D}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-S\-E\-A\-R\-C\-H\-\_\-\-U\-N\-E\-X\-P\-L\-O\-R\-E\-D}~0}}\label{DevAIModule_8h_a610a6ffe86c3b34f3fcb626845cba5c5}


\subsection{\-Function \-Documentation}
\hypertarget{DevAIModule_8h_af182b6f5e809ed2adf8c0c0eea7e6575}{\index{\-Dev\-A\-I\-Module.\-h@{\-Dev\-A\-I\-Module.\-h}!point\-Search@{point\-Search}}
\index{point\-Search@{point\-Search}!DevAIModule.h@{\-Dev\-A\-I\-Module.\-h}}
\subsubsection[{point\-Search}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf point\-Search} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{dw\-Type, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position}}]{pt, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit = {\ttfamily {\bf \-N\-U\-L\-L}}, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type}}]{type = {\ttfamily {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Types\-::\-None}}, }
\item[{{\bf int}}]{width = {\ttfamily 1}, }
\item[{{\bf int}}]{height = {\ttfamily 1}}
\end{DoxyParamCaption}
)}}\label{DevAIModule_8h_af182b6f5e809ed2adf8c0c0eea7e6575}
\hypertarget{DevAIModule_8h_af4c4bf986518c26e69d3f6721441495e}{\index{\-Dev\-A\-I\-Module.\-h@{\-Dev\-A\-I\-Module.\-h}!spiral\-Search@{spiral\-Search}}
\index{spiral\-Search@{spiral\-Search}!DevAIModule.h@{\-Dev\-A\-I\-Module.\-h}}
\subsubsection[{spiral\-Search}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position} {\bf spiral\-Search} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{dw\-Type, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position}}]{start, }
\item[{{\bf int}}]{radius, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit = {\ttfamily {\bf \-N\-U\-L\-L}}, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type}}]{type = {\ttfamily {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Types\-::\-None}}, }
\item[{{\bf int}}]{width = {\ttfamily 1}, }
\item[{{\bf int}}]{height = {\ttfamily 1}}
\end{DoxyParamCaption}
)}}\label{DevAIModule_8h_af4c4bf986518c26e69d3f6721441495e}
