\documentclass[twoside]{book}

% Packages required by doxygen
\usepackage{fixltx2e}
\usepackage{calc}
\usepackage{doxygen}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{makeidx}
\usepackage{multicol}
\usepackage{multirow}
\PassOptionsToPackage{warn}{textcomp}
\usepackage{textcomp}
\usepackage[nointegrals]{wasysym}
\usepackage[table]{xcolor}

% Font selection
\usepackage[T1]{fontenc}
\usepackage{mathptmx}
\usepackage[scaled=.90]{helvet}
\usepackage{courier}
\usepackage{amssymb}
\usepackage{sectsty}
\renewcommand{\familydefault}{\sfdefault}
\allsectionsfont{%
  \fontseries{bc}\selectfont%
  \color{darkgray}%
}
\renewcommand{\DoxyLabelFont}{%
  \fontseries{bc}\selectfont%
  \color{darkgray}%
}
\newcommand{\+}{\discretionary{\mbox{\scriptsize$\hookleftarrow$}}{}{}}

% Page & text layout
\usepackage{geometry}
\geometry{%
  a4paper,%
  top=2.5cm,%
  bottom=2.5cm,%
  left=2.5cm,%
  right=2.5cm%
}
\tolerance=750
\hfuzz=15pt
\hbadness=750
\setlength{\emergencystretch}{15pt}
\setlength{\parindent}{0cm}
\setlength{\parskip}{0.2cm}
\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

% Headers & footers
\usepackage{fancyhdr}
\pagestyle{fancyplain}
\fancyhead[LE]{\fancyplain{}{\bfseries\thepage}}
\fancyhead[CE]{\fancyplain{}{}}
\fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}}
\fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}}
\fancyhead[CO]{\fancyplain{}{}}
\fancyhead[RO]{\fancyplain{}{\bfseries\thepage}}
\fancyfoot[LE]{\fancyplain{}{}}
\fancyfoot[CE]{\fancyplain{}{}}
\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generated on Thu Nov 20 2014 11\+:38\+:08 for Tokiwa Battle Royale by Doxygen }}
\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated on Thu Nov 20 2014 11\+:38\+:08 for Tokiwa Battle Royale by Doxygen }}
\fancyfoot[CO]{\fancyplain{}{}}
\fancyfoot[RO]{\fancyplain{}{}}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\chaptermark}[1]{%
  \markboth{#1}{}%
}
\renewcommand{\sectionmark}[1]{%
  \markright{\thesection\ #1}%
}

% Indices & bibliography
\usepackage{natbib}
\usepackage[titles]{tocloft}
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{5}
\makeindex

% Hyperlinks (required, but should be loaded last)
\usepackage{ifpdf}
\ifpdf
  \usepackage[pdftex,pagebackref=true]{hyperref}
\else
  \usepackage[ps2pdf,pagebackref=true]{hyperref}
\fi
\hypersetup{%
  colorlinks=true,%
  linkcolor=blue,%
  citecolor=blue,%
  unicode%
}

% Custom commands
\newcommand{\clearemptydoublepage}{%
  \newpage{\pagestyle{empty}\cleardoublepage}%
}


%===== C O N T E N T S =====

\begin{document}

% Titlepage & ToC
\hypersetup{pageanchor=false,
             bookmarks=true,
             bookmarksnumbered=true,
             pdfencoding=unicode
            }
\pagenumbering{roman}
\begin{titlepage}
\vspace*{7cm}
\begin{center}%
{\Large Tokiwa Battle Royale \\[1ex]\large G\+E777 }\\
\vspace*{1cm}
{\large Generated by Doxygen 1.8.8}\\
\vspace*{0.5cm}
{\small Thu Nov 20 2014 11:38:08}\\
\end{center}
\end{titlepage}
\clearemptydoublepage
\tableofcontents
\clearemptydoublepage
\pagenumbering{arabic}
\hypersetup{pageanchor=true}

%--- Begin generated contents ---
\chapter{Todo List}
\label{todo}
\hypertarget{todo}{}
\input{todo}
\chapter{Namespace Index}
\input{namespaces}
\chapter{Data Structure Index}
\input{annotated}
\chapter{File Index}
\input{files}
\chapter{Namespace Documentation}
\input{namespace_services___j_s_o_n}
\chapter{Data Structure Documentation}
\input{classdbstuff}
\input{class_services___j_s_o_n}
\chapter{File Documentation}
\input{admin_8php}
\input{alive_8php}
\input{announce_8php}
\input{botservice_8php}
\input{chat_8php}
\input{chmod_8php}
\input{clear_8php}
\input{command_8php}
\input{config_8inc_8php}
\input{dbup_8php}
\input{end_8php}
\input{error_8php}
\input{errorpage_8php}
\input{gambling_8php}
\input{game_8php}
\input{admincfg_8php}
\input{adminlog_8php}
\input{banlist_8php}
\input{addnpc__1_8php}
\input{box__1_8php}
\input{combatcfg__1_8php}
\input{evonpc__1_8php}
\input{fy__1_8php}
\input{gamecfg__1_8php}
\input{gamedata_2cache_2item_8func_8php}
\input{include_2game_2item_8func_8php}
\input{cache_2mapitem__1_8php}
\input{mapitem__1_8php}
\input{mapitem__10_8php}
\input{cache_2mixitem__1_8php}
\input{mixitem__1_8php}
\input{mixitem__10_8php}
\input{npc__1_8php}
\input{cache_2overlay__1_8php}
\input{overlay__1_8php}
\input{present__1_8php}
\input{present__10_8php}
\input{randomitem__1_8php}
\input{cache_2resources__1_8php}
\input{resources__1_8php}
\input{cache_2shopitem__1_8php}
\input{shopitem__1_8php}
\input{stitem__1_8php}
\input{stwep__1_8php}
\input{cache_2synitem__1_8php}
\input{synitem__1_8php}
\input{cache_2wepchange__1_8php}
\input{wepchange__1_8php}
\input{clearlog_8php}
\input{combatinfo_8php}
\input{gamedata_2gameinfo_8php}
\input{install_2gameinfo_8php}
\input{templates_2install_2gameinfo_8php}
\input{0mapitem_8php}
\input{10mapitem_8php}
\input{11mapitem_8php}
\input{12mapitem_8php}
\input{13mapitem_8php}
\input{14mapitem_8php}
\input{15mapitem_8php}
\input{16mapitem_8php}
\input{17mapitem_8php}
\input{18mapitem_8php}
\input{19mapitem_8php}
\input{1mapitem_8php}
\input{20mapitem_8php}
\input{21mapitem_8php}
\input{22mapitem_8php}
\input{23mapitem_8php}
\input{24mapitem_8php}
\input{25mapitem_8php}
\input{26mapitem_8php}
\input{27mapitem_8php}
\input{28mapitem_8php}
\input{29mapitem_8php}
\input{2mapitem_8php}
\input{3mapitem_8php}
\input{4mapitem_8php}
\input{5mapitem_8php}
\input{6mapitem_8php}
\input{7mapitem_8php}
\input{8mapitem_8php}
\input{9mapitem_8php}
\input{newsinfo_8php}
\input{resources_8php}
\input{10shopitem_8php}
\input{11shopitem_8php}
\input{12shopitem_8php}
\input{1shopitem_8php}
\input{2shopitem_8php}
\input{3shopitem_8php}
\input{4shopitem_8php}
\input{5shopitem_8php}
\input{6shopitem_8php}
\input{7shopitem_8php}
\input{8shopitem_8php}
\input{9shopitem_8php}
\input{system_8php}
\input{1__achievement__0_8tpl_8php}
\input{1__achievement__1_8tpl_8php}
\input{1__achievement__13_8tpl_8php}
\input{1__achievement__14_8tpl_8php}
\input{1__achievement__15_8tpl_8php}
\input{1__achievement__16_8tpl_8php}
\input{1__achievement__17_8tpl_8php}
\input{1__achievement__18_8tpl_8php}
\input{1__achievement__19_8tpl_8php}
\input{1__achievement__2_8tpl_8php}
\input{1__achievement__20_8tpl_8php}
\input{1__achievement__21_8tpl_8php}
\input{1__achievement__22_8tpl_8php}
\input{1__achievement__23_8tpl_8php}
\input{1__achievement__24_8tpl_8php}
\input{1__achievement__25_8tpl_8php}
\input{1__achievement__26_8tpl_8php}
\input{1__achievement__27_8tpl_8php}
\input{1__achievement__28_8tpl_8php}
\input{1__achievement__29_8tpl_8php}
\input{1__achievement__3_8tpl_8php}
\input{1__achievement__30_8tpl_8php}
\input{1__achievement__31_8tpl_8php}
\input{1__achievement__32_8tpl_8php}
\input{1__achievement__33_8tpl_8php}
\input{1__achievement__4_8tpl_8php}
\input{1__admin_8tpl_8php}
\input{1__admin__banlistmng_8tpl_8php}
\input{1__admin__configmng_8tpl_8php}
\input{1__admin__gamecfg_8tpl_8php}
\input{1__admin__gameinfomng_8tpl_8php}
\input{1__admin__gmlist_8tpl_8php}
\input{1__admin__menu_8tpl_8php}
\input{1__admin__npcmng_8tpl_8php}
\input{1__admin__pcmng_8tpl_8php}
\input{1__admin__systemmng_8tpl_8php}
\input{1__admin__urlist_8tpl_8php}
\input{1__alive_8tpl_8php}
\input{1__alivelist_8tpl_8php}
\input{1__announce_8tpl_8php}
\input{1__areainfo_8tpl_8php}
\input{1__battle_8tpl_8php}
\input{1__battlecmd_8tpl_8php}
\input{1__battleresult_8tpl_8php}
\input{1__chat_8tpl_8php}
\input{1__command_8tpl_8php}
\input{1__corpse_8tpl_8php}
\input{1__css_8tpl_8php}
\input{1__death_8tpl_8php}
\input{1__deathnote_8tpl_8php}
\input{1__end_8tpl_8php}
\input{1__error_8tpl_8php}
\input{1__findteam_8tpl_8php}
\input{1__footer_8tpl_8php}
\input{1__gambling_8tpl_8php}
\input{1__game_8tpl_8php}
\input{1__gbresult_8tpl_8php}
\input{1__header_8tpl_8php}
\input{1__help_8tpl_8php}
\input{1__index_8tpl_8php}
\input{1__itemdrop_8tpl_8php}
\input{1__itemdrop0_8tpl_8php}
\input{1__itemfind_8tpl_8php}
\input{1__itemhelp_8tpl_8php}
\input{1__itemhelpmain_8tpl_8php}
\input{1__itemmerge_8tpl_8php}
\input{1__itemmerge0_8tpl_8php}
\input{1__itemmix_8tpl_8php}
\input{1__itemmove_8tpl_8php}
\input{1__lastgb_8tpl_8php}
\input{1__lastnews_8tpl_8php}
\input{1__map_8tpl_8php}
\input{1__mixhelp_8tpl_8php}
\input{1__move_8tpl_8php}
\input{1__news_8tpl_8php}
\input{1__newsinfo_8tpl_8php}
\input{1__notice_8tpl_8php}
\input{1__npchelp_8tpl_8php}
\input{1__npcinfohelp_8tpl_8php}
\input{1__poison_8tpl_8php}
\input{1__profile_8tpl_8php}
\input{1__radar_8tpl_8php}
\input{1__radarcmd_8tpl_8php}
\input{1__rank_8tpl_8php}
\input{1__rankinfo_8tpl_8php}
\input{1__register_8tpl_8php}
\input{1__rest_8tpl_8php}
\input{1__shop_8tpl_8php}
\input{1__sp__pbomb_8tpl_8php}
\input{1__sp__poison_8tpl_8php}
\input{1__sp__pswd_8tpl_8php}
\input{1__sp__shop_8tpl_8php}
\input{1__sp__skpts_8tpl_8php}
\input{1__sp__word_8tpl_8php}
\input{1__special_8tpl_8php}
\input{1__team_8tpl_8php}
\input{1__tutorial_8tpl_8php}
\input{1__user_8tpl_8php}
\input{1__user__battle__achievement_8tpl_8php}
\input{1__user__end__achievement_8tpl_8php}
\input{1__user__mixitem__achievement_8tpl_8php}
\input{1__user__other__achievement_8tpl_8php}
\input{1__user__profile_8tpl_8php}
\input{1__user__profile__basicdata_8tpl_8php}
\input{1__useradvdata_8tpl_8php}
\input{1__userbasicdata_8tpl_8php}
\input{1__usercrdtsdata_8tpl_8php}
\input{1__usergdicon_8tpl_8php}
\input{1__userwords_8tpl_8php}
\input{1__valid_8tpl_8php}
\input{1__validover_8tpl_8php}
\input{1__winner_8tpl_8php}
\input{1__winnerinfo_8tpl_8php}
\input{1__winnerlist_8tpl_8php}
\input{getmix_8php}
\input{help_8php}
\input{admin_8lang_8php}
\input{anti_a_f_kmng_8php}
\input{banlistmng_8php}
\input{configmng_8php}
\input{gamecfgmng_8php}
\input{gamecheck_8php}
\input{gameinfomng_8php}
\input{gamemng_8php}
\input{gmlist_8php}
\input{infomng_8php}
\input{mapitemmng_8php}
\input{npcmng_8php}
\input{pcmng_8php}
\input{sttimemng_8php}
\input{systemmng_8php}
\input{urlist_8php}
\input{validlimitmng_8php}
\input{wthmng_8php}
\input{common_8inc_8php}
\input{common_8js}
\input{db__mysql_8class_8php}
\input{db__mysql__error_8inc_8php}
\input{game_8func_8php}
\input{game_8js}
\input{achievement_8func_8php}
\input{aievent_8func_8php}
\input{amarillo_8func_8php}
\input{attr_8func_8php}
\input{battle_8func_8php}
\input{battle_8func__bak_8php}
\input{clubskills_8func_8php}
\input{clubslct_8func_8php}
\input{combat_8func_8php}
\input{event_8func_8php}
\input{item2_8func_8php}
\input{itemmain_8func_8php}
\input{itemplace_8func_8php}
\input{game_2news_8func_8php}
\input{news_8func_8php}
\input{search_8func_8php}
\input{song_8inc_8php}
\input{special_8func_8php}
\input{team_8func_8php}
\input{titles_8func_8php}
\input{viridian_8func_8php}
\input{game20130526_8js}
\input{gameencrypt_8php}
\input{global_8func_8php}
\input{include_2index_8php}
\input{index_8php}
\input{json_8js}
\input{_j_s_o_n_8php}
\input{state_8func_8php}
\input{system_8func_8php}
\input{template_8func_8php}
\input{user_8func_8php}
\input{weibolog_8func_8php}
\input{install_8php}
\input{templates_2install_8php}
\input{install_2simplified__chinese__utf8_8lang_8php}
\input{templates_2install_2simplified__chinese__utf8_8lang_8php}
\input{install_2traditional__chinese__utf8_8lang_8php}
\input{templates_2install_2traditional__chinese__utf8_8lang_8php}
\input{itemhelp_8php}
\input{login_8php}
\input{login__old_8php}
\input{map_8php}
\input{news_8php}
\input{phpinfo_8php}
\input{rank_8php}
\input{register_8php}
\input{stat_8php}
\input{templates_8lang_8php}
\input{user_8php}
\input{user__profile_8php}
\input{valid_8php}
\input{winner_8php}
%--- End generated contents ---

% Index
\newpage
\phantomsection
\addcontentsline{toc}{chapter}{Index}
\printindex

\end{document}
