% \subsection{The \texttt{wargame} package}
% \label{sec:impl:sty}
%
%   \iffalse
%<*package>
% \fi
%
% First, package identification
%
%    \begin{macrocode}
\ProvidesPackage{wargame}
%    \end{macrocode}
%
% Then needed packages
%
%    \begin{macrocode}
\RequirePackage[svgnames]{xcolor}
\RequirePackage{tikz}
%    \end{macrocode}
%    
% A switch to include terrain pictures (which take a lot of memory for
% some reason).
% 
%    \begin{macrocode}
\@ifundefined{ifhex@terrain@pic}{%
  \newif\ifhex@terrain@pic
  \hex@terrain@picfalse}{}
%    \end{macrocode}
%
% Options
%
%    \begin{macrocode}
\DeclareOption{noterrainpic}{%
  \hex@terrain@picfalse}
\DeclareOption{terrainpic}{%
  \hex@terrain@pictrue}
\ProcessOptions\relax
%    \end{macrocode}
%    
% Finally, the used \TikZ{} libraries
%
%    \begin{macrocode}
\usetikzlibrary{wargame.hex,wargame.natoapp6c,wargame.chit}
%    \end{macrocode}
%
% \iffalse
%</package>
% \fi