  % Handle batch mode
  % to overcome problems with too many open files
  \let\mypdfximage\pdfximage\def\pdfximage{\immediate\mypdfximage}
  \RequirePackage{iftex}
  \ifLuaTeX
    \directlua{pdf.setminorversion(7)}
  \fi
  \ifXeTeX
    \special{pdf:minorversion 7}
  \fi
  \ifPDFTeX
    \pdfminorversion=7
  \fi
  % Set document class depending on configuration
  \documentclass[twoside]{book}
  % Packages required by doxygen
  \makeatletter
  \providecommand\IfFormatAtLeastTF{\@ifl@t@r\fmtversion}
  % suppress package identification of infwarerr as it contains the word "warning"
  \let\@@protected@wlog\protected@wlog
  \def\protected@wlog#1{\wlog{package info suppressed}}
  \RequirePackage{infwarerr}
  \let\protected@wlog\@@protected@wlog
  \makeatother
  \IfFormatAtLeastTF{2016/01/01}{}{\usepackage{fixltx2e}} % for \textsubscript
  \ifPDFTeX
    \IfFormatAtLeastTF{2015/01/01}{\pdfsuppresswarningpagegroup=1}{}
  \fi
  \usepackage{doxygen}
  \usepackage{graphicx}
  \iftutex
    \usepackage{fontspec}
    \defaultfontfeatures{Ligatures={TeX}}
    \usepackage{unicode-math}
  \else
    \usepackage[utf8]{inputenc}
  \fi
  \usepackage{makeidx}
  \PassOptionsToPackage{warn}{textcomp}
  \usepackage{textcomp}
  \usepackage[nointegrals]{wasysym}
  \usepackage{ifxetex}
  % NLS support packages
  % Define default fonts
  % Font selection
  \iftutex
  \else
    \usepackage[T1]{fontenc}
  \fi
  % set main and monospaced font
  \usepackage[scaled=.90]{helvet}
\usepackage{courier}
\renewcommand{\familydefault}{\sfdefault}
  \doxyallsectionsfont{%
    \fontseries{bc}\selectfont%
    \color{darkgray}%
  }
  \renewcommand{\DoxyLabelFont}{%
    \fontseries{bc}\selectfont%
    \color{darkgray}%
  }
  \newcommand{\+}{\discretionary{\mbox{\scriptsize$\hookleftarrow$}}{}{}}
   % Arguments of doxygenemoji:
   % 1) ':<text>:' form of the emoji, already LaTeX-escaped
   % 2) file with the name of the emoji without the .png extension
   % in case image exist use this otherwise use the ':<text>:' form
   \newcommand{\doxygenemoji}[2]{%
     \IfFileExists{./#2.png}{\raisebox{-0.1em}{\includegraphics[height=0.9em]{./#2.png}}}{#1}%
   }
  % Page & text layout
  \usepackage{geometry}
  \geometry{%
    a4paper,%
    top=2.5cm,%
    bottom=2.5cm,%
    left=2.5cm,%
    right=2.5cm%
  }
  \usepackage{changepage}
  % Allow a bit of overflow to go unnoticed by other means
  \tolerance=750
  \hfuzz=15pt
  \hbadness=750
  \setlength{\emergencystretch}{15pt}
  \setlength{\parindent}{0cm}
  \newcommand{\doxynormalparskip}{\setlength{\parskip}{3ex plus 2ex minus 2ex}}
  \newcommand{\doxytocparskip}{\setlength{\parskip}{1ex plus 0ex minus 0ex}}
  \doxynormalparskip
  % Redefine paragraph/subparagraph environments, using sectsty fonts
  \makeatletter
  \renewcommand{\paragraph}{%
    \@startsection{paragraph}{4}{0ex}{-1.0ex}{1.0ex}{%
      \normalfont\normalsize\bfseries\SS@parafont%
    }%
  }
  \renewcommand{\subparagraph}{%
    \@startsection{subparagraph}{5}{0ex}{-1.0ex}{1.0ex}{%
      \normalfont\normalsize\bfseries\SS@subparafont%
    }%
  }
  \makeatother
  \makeatletter
  \newcommand\hrulefilll{\leavevmode\leaders\hrule\hskip 0pt plus 1filll\kern\z@}
  \makeatother
  % Headers & footers
  \usepackage{fancyhdr}
  \pagestyle{fancyplain}
  \renewcommand{\footrulewidth}{0.4pt}
  \fancypagestyle{fancyplain}{
    \fancyhf{}
    \fancyhead[LE, RO]{\bfseries\thepage}
    \fancyhead[LO]{\bfseries\rightmark}
    \fancyhead[RE]{\bfseries\leftmark}
    \fancyfoot[LO, RE]{\bfseries\scriptsize Generated by Doxygen }
  }
  \fancypagestyle{plain}{
    \fancyhf{}
    \fancyfoot[LO, RE]{\bfseries\scriptsize Generated by Doxygen }
    \renewcommand{\headrulewidth}{0pt}
  }
  \pagestyle{fancyplain}
  \renewcommand{\chaptermark}[1]{%
    \markboth{#1}{}%
  }
  \renewcommand{\sectionmark}[1]{%
    \markright{\thesection\ #1}%
  }
  % ToC, LoF, LoT, bibliography, and index
  % Indices & bibliography
  \usepackage[numbers]{natbib}
  \usepackage[titles]{tocloft}
  \setcounter{tocdepth}{3}
  \setcounter{secnumdepth}{5}
  % creating indexes
  \makeindex
  \ifPDFTeX
\usepackage{newunicodechar}
  \makeatletter
    \def\doxynewunicodechar#1#2{%
    \@tempswafalse
    \edef\nuc@tempa{\detokenize{#1}}%
    \if\relax\nuc@tempa\relax
      \nuc@emptyargerr
    \else
      \edef\@tempb{\expandafter\@car\nuc@tempa\@nil}%
      \nuc@check
      \if@tempswa
        \@namedef{u8:\nuc@tempa}{#2}%
      \fi
    \fi
  }
  \makeatother
  \doxynewunicodechar{⁻}{${}^{-}$}% Superscript minus
  \doxynewunicodechar{²}{${}^{2}$}% Superscript two
  \doxynewunicodechar{³}{${}^{3}$}% Superscript three
\fi
  % Hyperlinks
    % Hyperlinks (required, but should be loaded last)
    \ifPDFTeX
      \usepackage[pdftex,pagebackref=true]{hyperref}
    \else
      \ifXeTeX
        \usepackage[xetex,pagebackref=true]{hyperref}
      \else
        \ifLuaTeX
          \usepackage[luatex,pagebackref=true]{hyperref}
        \else
          \usepackage[ps2pdf,pagebackref=true]{hyperref}
        \fi
      \fi
    \fi
    \hypersetup{%
      colorlinks=true,%
      linkcolor=blue,%
      citecolor=blue,%
      unicode,%
      pdftitle={OOP A3 Board Games},%
      pdfsubject={a Board Game Project Made by Students at Cairo FCAI}%
    }
  % Custom commands used by the header
  % Custom commands
  \newcommand{\clearemptydoublepage}{%
    \newpage{\pagestyle{empty}\cleardoublepage}%
  }
  % caption style definition
  \usepackage{caption}
  \captionsetup{labelsep=space,justification=centering,font={bf},singlelinecheck=off,skip=4pt,position=top}
  % in page table of contents
  \IfFormatAtLeastTF{2023/05/01}{\usepackage[deeplevels]{etoc}}{\usepackage[deeplevels]{etoc_doxygen}}
  \etocsettocstyle{\doxytocparskip}{\doxynormalparskip}
  \etocsetlevel{subsubsubsection}{4}
  \etocsetlevel{subsubsubsubsection}{5}
  \etocsetlevel{subsubsubsubsubsection}{6}
  \etocsetlevel{subsubsubsubsubsubsection}{7}
  \etocsetlevel{paragraph}{8}
  \etocsetlevel{subparagraph}{9}
  % prevent numbers overlap the titles in toc
  \renewcommand{\numberline}[1]{#1~}
% End of preamble, now comes the document contents
%===== C O N T E N T S =====
\begin{document}
  \raggedbottom
  % Titlepage & ToC
    % To avoid duplicate page anchors due to reuse of same numbers for
    % the index (be it as roman numbers)
    \hypersetup{pageanchor=false,
                bookmarksnumbered=true,
                pdfencoding=unicode
               }
  \pagenumbering{alph}
  \begin{titlepage}
  \vspace*{7cm}
  \begin{center}%
  {\Large OOP A3 Board Games}\\
  [1ex]\large 35 \\
  \vspace*{1cm}
  {\large Generated by Doxygen 1.15.0}\\
  \end{center}
  \end{titlepage}
  \clearemptydoublepage
  \pagenumbering{roman}
  \tableofcontents
  \clearemptydoublepage
  \pagenumbering{arabic}
  % re-enable anchors again
  \hypersetup{pageanchor=true}
%--- Begin generated contents ---
\chapter{Hierarchical Index}
\input{hierarchy}
\chapter{Class Index}
\input{annotated}
\chapter{File Index}
\input{files}
\chapter{Class Documentation}
\input{class_board}
\input{class_diamond_tic_tac_toe___player}
\input{class_diamond_tic_tac_toe___random_player}
\input{class_diamond_tic_tac_toe___u_i}
\input{class_diamond_tic_tac_toe_board}
\input{class_four_board}
\input{class_four_in_a_row_board}
\input{class_four_in_a_row_player}
\input{class_four_in_a_row_random_player}
\input{class_four_in_a_row_u_i}
\input{class_four_u_i}
\input{class_game_manager}
\input{class_infinity_tic_tac_toe___player}
\input{class_infinity_tic_tac_toe___random_player}
\input{class_infinity_tic_tac_toe___u_i}
\input{class_infinity_tic_tac_toe_board}
\input{class_memory_tic_tac_toe___player}
\input{class_memory_tic_tac_toe___random_player}
\input{class_memory_tic_tac_toe___u_i}
\input{class_memory_tic_tac_toe_board}
\input{class_misere_tic_tac_toe___board}
\input{class_misere_tic_tac_toe___player}
\input{class_misere_tic_tac_toe___random_player}
\input{class_misere_tic_tac_toe___u_i}
\input{class_move}
\input{class_numerical___board}
\input{class_numerical___player}
\input{class_numerical___u_i}
\input{class_numerical_tic_tac_toe_board}
\input{class_numerical_tic_tac_toe_player}
\input{class_numerical_tic_tac_toe_random_player}
\input{class_numerical_tic_tac_toe_u_i}
\input{class_obstacles_tic_tac_toe___player}
\input{class_obstacles_tic_tac_toe___random_player}
\input{class_obstacles_tic_tac_toe___u_i}
\input{class_obstacles_tic_tac_toe_board}
\input{class_player}
\input{class_pyramic___x_o___board}
\input{class_pyramic___x_o___player}
\input{class_pyramic___x_o___random_player}
\input{class_pyramic___x_o___u_i}
\input{class_s_u_s___board}
\input{class_s_u_s___player}
\input{class_s_u_s___random___player}
\input{class_s_u_s___u_i}
\input{class_s_u_s_board}
\input{class_s_u_s_u_i}
\input{class_tic_tac_toe4x4___board}
\input{class_tic_tac_toe4x4___player}
\input{class_tic_tac_toe4x4___u_i}
\input{class_tic_tac_toe5x5___board}
\input{class_tic_tac_toe5x5___player}
\input{class_tic_tac_toe5x5___random_player}
\input{class_tic_tac_toe5x5___u_i}
\input{class_u_i}
\input{class_ultimate_tic_tac_toe___player}
\input{class_ultimate_tic_tac_toe___random_player}
\input{class_ultimate_tic_tac_toe___u_i}
\input{class_ultimate_tic_tac_toe_board}
\input{classword___board}
\input{classword___player}
\input{classword___random___player}
\input{classword___u_i}
\input{class_x_o___board}
\input{class_x_o___player}
\input{class_x_o___random___player}
\input{class_x_o___u_i}
\chapter{File Documentation}
\input{_board_game___classes_8h}
\input{_board_game___classes_8h_source}
\input{diamond_8cpp}
\input{diamond_8h}
\input{diamond_8h_source}
\input{_diamond_tic_tac_toe_8h}
\input{_diamond_tic_tac_toe_8h_source}
\input{_four_board_8h}
\input{_four_board_8h_source}
\input{_four_in_a_row_8h}
\input{_four_in_a_row_8h_source}
\input{_four_u_i_8h}
\input{_four_u_i_8h_source}
\input{hide_8cpp}
\input{hide_8h}
\input{hide_8h_source}
\input{_infinity_tic_tac_toe_8h}
\input{_infinity_tic_tac_toe_8h_source}
\input{inverse_8cpp}
\input{inverse_8h}
\input{inverse_8h_source}
\input{main_8cpp}
\input{_memory_tic_tac_toe_8h}
\input{_memory_tic_tac_toe_8h_source}
\input{_misere_tic_tac_toe_8h}
\input{_misere_tic_tac_toe_8h_source}
\input{_numerical___board_8h}
\input{_numerical___board_8h_source}
\input{_numerical___player_8h}
\input{_numerical___player_8h_source}
\input{_numerical___u_i_8h}
\input{_numerical___u_i_8h_source}
\input{_numerical_tic_tac_toe_8h}
\input{_numerical_tic_tac_toe_8h_source}
\input{_obstacles_tic_tac_toe_8h}
\input{_obstacles_tic_tac_toe_8h_source}
\input{_pyramic___x_o_8h}
\input{_pyramic___x_o_8h_source}
\input{_s_u_s_8h}
\input{_s_u_s_8h_source}
\input{_s_u_s_board_8h}
\input{_s_u_s_board_8h_source}
\input{_s_u_s_u_i_8h}
\input{_s_u_s_u_i_8h_source}
\input{_tic_tac_toe4x4_8h}
\input{_tic_tac_toe4x4_8h_source}
\input{_tic_tac_toe5x5_8h}
\input{_tic_tac_toe5x5_8h_source}
\input{_ultimate_tic_tac_toe_8h}
\input{_ultimate_tic_tac_toe_8h_source}
\input{word_tic__tac__toe_8h}
\input{word_tic__tac__toe_8h_source}
\input{_x_o_8h}
\input{_x_o_8h_source}
%--- End generated contents ---
% Index
  \backmatter
  \newpage
  \phantomsection
  \clearemptydoublepage
  \addcontentsline{toc}{chapter}{\indexname}
  \printindex
% Required for some languages (in combination with latexdocumentpre from the header)
\end{document}
