95 lines
4.5 KiB
TeX
95 lines
4.5 KiB
TeX
\hypertarget{game_basics_8cpp}{}\doxysection{src/game/game\+Basics.cpp File Reference}
|
|
\label{game_basics_8cpp}\index{src/game/gameBasics.cpp@{src/game/gameBasics.cpp}}
|
|
|
|
|
|
game basic mechanisms
|
|
|
|
|
|
{\ttfamily \#include $<$chrono$>$}\newline
|
|
{\ttfamily \#include $<$memory$>$}\newline
|
|
{\ttfamily \#include $<$thread$>$}\newline
|
|
{\ttfamily \#include \char`\"{}game.\+h\char`\"{}}\newline
|
|
{\ttfamily \#include \char`\"{}play\+Mode.\+h\char`\"{}}\newline
|
|
{\ttfamily \#include \char`\"{}pixel\+Manager/good\+Pixel\+Manager.\+h\char`\"{}}\newline
|
|
Include dependency graph for game\+Basics.\+cpp\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{d6/da4/game_basics_8cpp__incl}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Macros}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\#define \mbox{\hyperlink{game_basics_8cpp_ab3ae3d2c20c90e75f1ad88ba88227bb7}{WININIT}}~window(\char`\"{}SUPER Space Invader \+: Turbo Apocalypse DX -\/ VS GOD\char`\"{}, Position(1280, 720), \mbox{\hyperlink{utils_8h_aaa06d516441b519f8892f37adafeade2}{Position}}(128, 128), ns\+Graphics\+::\+KBlack)
|
|
\item
|
|
\#define \mbox{\hyperlink{game_basics_8cpp_aba14ffc4d97baf6395f7d4ff9757798b}{START\+\_\+\+TIMER}}()~\mbox{\hyperlink{utils_8h_ac9476fcfc18faf6d47d13b9774eea2a4}{DEBUG\+\_\+\+INSTR}}(debug\+Time = chrono\+::high\+\_\+resolution\+\_\+clock\+::now())
|
|
\item
|
|
\#define \mbox{\hyperlink{game_basics_8cpp_a2f666d6c16c142851b1e1ab009f2c4b5}{PRINT\+\_\+\+TIMER}}(X)~\mbox{\hyperlink{utils_8h_aa1bc11933ce4506010028d354b3364b4}{DEBUG\+\_\+\+MSG}}((X) $<$$<$ \char`\"{}\+: \char`\"{} $<$$<$ chrono\+::duration\+\_\+cast$<$chrono\+::nanoseconds$>$(chrono\+::high\+\_\+resolution\+\_\+clock\+::now()-\/debug\+Time).count())
|
|
\end{DoxyCompactItemize}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
game basic mechanisms
|
|
|
|
god\textquotesingle{}s implementation
|
|
|
|
\begin{DoxyAuthor}{Author}
|
|
RUBINI Thomas
|
|
|
|
SIMAILA Djalim
|
|
\end{DoxyAuthor}
|
|
\begin{DoxyDate}{Date}
|
|
January 2022
|
|
\end{DoxyDate}
|
|
\begin{DoxyVersion}{Version}
|
|
1.\+0
|
|
\end{DoxyVersion}
|
|
\begin{DoxyAuthor}{Author}
|
|
RUBINI Thomas
|
|
\end{DoxyAuthor}
|
|
\begin{DoxyDate}{Date}
|
|
January 2022
|
|
\end{DoxyDate}
|
|
\begin{DoxyVersion}{Version}
|
|
1.\+0
|
|
\end{DoxyVersion}
|
|
|
|
|
|
Definition in file \mbox{\hyperlink{game_basics_8cpp_source}{game\+Basics.\+cpp}}.
|
|
|
|
|
|
|
|
\doxysubsection{Macro Definition Documentation}
|
|
\mbox{\Hypertarget{game_basics_8cpp_a2f666d6c16c142851b1e1ab009f2c4b5}\label{game_basics_8cpp_a2f666d6c16c142851b1e1ab009f2c4b5}}
|
|
\index{gameBasics.cpp@{gameBasics.cpp}!PRINT\_TIMER@{PRINT\_TIMER}}
|
|
\index{PRINT\_TIMER@{PRINT\_TIMER}!gameBasics.cpp@{gameBasics.cpp}}
|
|
\doxysubsubsection{\texorpdfstring{PRINT\_TIMER}{PRINT\_TIMER}}
|
|
{\footnotesize\ttfamily \#define PRINT\+\_\+\+TIMER(\begin{DoxyParamCaption}\item[{}]{X }\end{DoxyParamCaption})~\mbox{\hyperlink{utils_8h_aa1bc11933ce4506010028d354b3364b4}{DEBUG\+\_\+\+MSG}}((X) $<$$<$ \char`\"{}\+: \char`\"{} $<$$<$ chrono\+::duration\+\_\+cast$<$chrono\+::nanoseconds$>$(chrono\+::high\+\_\+resolution\+\_\+clock\+::now()-\/debug\+Time).count())}
|
|
|
|
|
|
|
|
Definition at line \mbox{\hyperlink{game_basics_8cpp_source_l00114}{114}} of file \mbox{\hyperlink{game_basics_8cpp_source}{game\+Basics.\+cpp}}.
|
|
|
|
\mbox{\Hypertarget{game_basics_8cpp_aba14ffc4d97baf6395f7d4ff9757798b}\label{game_basics_8cpp_aba14ffc4d97baf6395f7d4ff9757798b}}
|
|
\index{gameBasics.cpp@{gameBasics.cpp}!START\_TIMER@{START\_TIMER}}
|
|
\index{START\_TIMER@{START\_TIMER}!gameBasics.cpp@{gameBasics.cpp}}
|
|
\doxysubsubsection{\texorpdfstring{START\_TIMER}{START\_TIMER}}
|
|
{\footnotesize\ttfamily \#define START\+\_\+\+TIMER(\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})~\mbox{\hyperlink{utils_8h_ac9476fcfc18faf6d47d13b9774eea2a4}{DEBUG\+\_\+\+INSTR}}(debug\+Time = chrono\+::high\+\_\+resolution\+\_\+clock\+::now())}
|
|
|
|
|
|
|
|
Definition at line \mbox{\hyperlink{game_basics_8cpp_source_l00113}{113}} of file \mbox{\hyperlink{game_basics_8cpp_source}{game\+Basics.\+cpp}}.
|
|
|
|
\mbox{\Hypertarget{game_basics_8cpp_ab3ae3d2c20c90e75f1ad88ba88227bb7}\label{game_basics_8cpp_ab3ae3d2c20c90e75f1ad88ba88227bb7}}
|
|
\index{gameBasics.cpp@{gameBasics.cpp}!WININIT@{WININIT}}
|
|
\index{WININIT@{WININIT}!gameBasics.cpp@{gameBasics.cpp}}
|
|
\doxysubsubsection{\texorpdfstring{WININIT}{WININIT}}
|
|
{\footnotesize\ttfamily \#define WININIT~window(\char`\"{}SUPER Space Invader \+: Turbo Apocalypse DX -\/ VS GOD\char`\"{}, Position(1280, 720), \mbox{\hyperlink{utils_8h_aaa06d516441b519f8892f37adafeade2}{Position}}(128, 128), ns\+Graphics\+::\+KBlack)}
|
|
|
|
|
|
|
|
Definition at line \mbox{\hyperlink{game_basics_8cpp_source_l00019}{19}} of file \mbox{\hyperlink{game_basics_8cpp_source}{game\+Basics.\+cpp}}.
|
|
|