Unuk/Docs/latex/main_8cpp.tex

175 lines
6.2 KiB
TeX

\hypertarget{main_8cpp}{
\section{src/Unuk/main.cpp File Reference}
\label{main_8cpp}\index{src/Unuk/main.cpp@{src/Unuk/main.cpp}}
}
{\ttfamily \#include $<$stdio.h$>$}\par
{\ttfamily \#include $<$stdlib.h$>$}\par
{\ttfamily \#include $<$GL/gl.h$>$}\par
{\ttfamily \#include $<$GL/glu.h$>$}\par
{\ttfamily \#include \char`\"{}SDL/SDL.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}Game.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}../libUnuk/Input.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}../libUnuk/Debug.h\char`\"{}}\par
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item
void \hyperlink{main_8cpp_ada2f56ab31a366e16a495936dd004184}{Quit} (int returnCode)
\item
int \hyperlink{main_8cpp_a4fb3c2550b72c4284dbe38ece28944e3}{ResizeWindow} (int \hyperlink{wglext_8h_ae6531b1788ca42a9ae8155b0c52e7630}{width}, int \hyperlink{wglext_8h_ab2e63df950c3789599e1e43f477bc9e3}{height})
\item
void \hyperlink{main_8cpp_a4f3df61842b2672d52d1fa27173bba45}{ProcessEvents} (SDL\_\-keysym $\ast$keysym)
\item
int \hyperlink{main_8cpp_a583c9b24e82b1015dd307199654d8488}{InitGL} (void)
\item
unsigned int \hyperlink{main_8cpp_aa17d85aacf437da3fe7e2cd86abf22c4}{GetTickCount} ()
\item
float \hyperlink{main_8cpp_a15fbb2a92b276cacefc25bb930101a9e}{GetElapsedSeconds} (void)
\item
int \hyperlink{main_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{main} ()
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item
const int \hyperlink{main_8cpp_a3482785bd2a4c8b307f9e0b6f54e2c36}{SCREEN\_\-WIDTH} = 640
\item
const int \hyperlink{main_8cpp_ab454541ae58bcf6555e8d723b1eb95e7}{SCREEN\_\-HEIGHT} = 480
\item
const int \hyperlink{main_8cpp_a8194731fdeea643e725e3a89d2f7ec59}{SCREEN\_\-BPP} = 16
\item
SDL\_\-Surface $\ast$ \hyperlink{main_8cpp_a2f5cac12e913bcfcff660305bf88dd3b}{surface}
\end{DoxyCompactItemize}
\subsection{Function Documentation}
\hypertarget{main_8cpp_a15fbb2a92b276cacefc25bb930101a9e}{
\index{main.cpp@{main.cpp}!GetElapsedSeconds@{GetElapsedSeconds}}
\index{GetElapsedSeconds@{GetElapsedSeconds}!main.cpp@{main.cpp}}
\subsubsection[{GetElapsedSeconds}]{\setlength{\rightskip}{0pt plus 5cm}float GetElapsedSeconds (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{main_8cpp_a15fbb2a92b276cacefc25bb930101a9e}
Definition at line 106 of file main.cpp.
\hypertarget{main_8cpp_aa17d85aacf437da3fe7e2cd86abf22c4}{
\index{main.cpp@{main.cpp}!GetTickCount@{GetTickCount}}
\index{GetTickCount@{GetTickCount}!main.cpp@{main.cpp}}
\subsubsection[{GetTickCount}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int GetTickCount (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{main_8cpp_aa17d85aacf437da3fe7e2cd86abf22c4}
Definition at line 97 of file main.cpp.
\hypertarget{main_8cpp_a583c9b24e82b1015dd307199654d8488}{
\index{main.cpp@{main.cpp}!InitGL@{InitGL}}
\index{InitGL@{InitGL}!main.cpp@{main.cpp}}
\subsubsection[{InitGL}]{\setlength{\rightskip}{0pt plus 5cm}int InitGL (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{main_8cpp_a583c9b24e82b1015dd307199654d8488}
Definition at line 78 of file main.cpp.
\hypertarget{main_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{
\index{main.cpp@{main.cpp}!main@{main}}
\index{main@{main}!main.cpp@{main.cpp}}
\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{main_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}
Definition at line 114 of file main.cpp.
\hypertarget{main_8cpp_a4f3df61842b2672d52d1fa27173bba45}{
\index{main.cpp@{main.cpp}!ProcessEvents@{ProcessEvents}}
\index{ProcessEvents@{ProcessEvents}!main.cpp@{main.cpp}}
\subsubsection[{ProcessEvents}]{\setlength{\rightskip}{0pt plus 5cm}void ProcessEvents (
\begin{DoxyParamCaption}
\item[{SDL\_\-keysym $\ast$}]{keysym}
\end{DoxyParamCaption}
)}}
\label{main_8cpp_a4f3df61842b2672d52d1fa27173bba45}
Definition at line 62 of file main.cpp.
\hypertarget{main_8cpp_ada2f56ab31a366e16a495936dd004184}{
\index{main.cpp@{main.cpp}!Quit@{Quit}}
\index{Quit@{Quit}!main.cpp@{main.cpp}}
\subsubsection[{Quit}]{\setlength{\rightskip}{0pt plus 5cm}void Quit (
\begin{DoxyParamCaption}
\item[{int}]{returnCode}
\end{DoxyParamCaption}
)}}
\label{main_8cpp_ada2f56ab31a366e16a495936dd004184}
Definition at line 22 of file main.cpp.
\hypertarget{main_8cpp_a4fb3c2550b72c4284dbe38ece28944e3}{
\index{main.cpp@{main.cpp}!ResizeWindow@{ResizeWindow}}
\index{ResizeWindow@{ResizeWindow}!main.cpp@{main.cpp}}
\subsubsection[{ResizeWindow}]{\setlength{\rightskip}{0pt plus 5cm}int ResizeWindow (
\begin{DoxyParamCaption}
\item[{int}]{width, }
\item[{int}]{height}
\end{DoxyParamCaption}
)}}
\label{main_8cpp_a4fb3c2550b72c4284dbe38ece28944e3}
Definition at line 33 of file main.cpp.
\subsection{Variable Documentation}
\hypertarget{main_8cpp_a8194731fdeea643e725e3a89d2f7ec59}{
\index{main.cpp@{main.cpp}!SCREEN\_\-BPP@{SCREEN\_\-BPP}}
\index{SCREEN\_\-BPP@{SCREEN\_\-BPP}!main.cpp@{main.cpp}}
\subsubsection[{SCREEN\_\-BPP}]{\setlength{\rightskip}{0pt plus 5cm}const int {\bf SCREEN\_\-BPP} = 16}}
\label{main_8cpp_a8194731fdeea643e725e3a89d2f7ec59}
Definition at line 17 of file main.cpp.
\hypertarget{main_8cpp_ab454541ae58bcf6555e8d723b1eb95e7}{
\index{main.cpp@{main.cpp}!SCREEN\_\-HEIGHT@{SCREEN\_\-HEIGHT}}
\index{SCREEN\_\-HEIGHT@{SCREEN\_\-HEIGHT}!main.cpp@{main.cpp}}
\subsubsection[{SCREEN\_\-HEIGHT}]{\setlength{\rightskip}{0pt plus 5cm}const int {\bf SCREEN\_\-HEIGHT} = 480}}
\label{main_8cpp_ab454541ae58bcf6555e8d723b1eb95e7}
Definition at line 16 of file main.cpp.
\hypertarget{main_8cpp_a3482785bd2a4c8b307f9e0b6f54e2c36}{
\index{main.cpp@{main.cpp}!SCREEN\_\-WIDTH@{SCREEN\_\-WIDTH}}
\index{SCREEN\_\-WIDTH@{SCREEN\_\-WIDTH}!main.cpp@{main.cpp}}
\subsubsection[{SCREEN\_\-WIDTH}]{\setlength{\rightskip}{0pt plus 5cm}const int {\bf SCREEN\_\-WIDTH} = 640}}
\label{main_8cpp_a3482785bd2a4c8b307f9e0b6f54e2c36}
Definition at line 15 of file main.cpp.
\hypertarget{main_8cpp_a2f5cac12e913bcfcff660305bf88dd3b}{
\index{main.cpp@{main.cpp}!surface@{surface}}
\index{surface@{surface}!main.cpp@{main.cpp}}
\subsubsection[{surface}]{\setlength{\rightskip}{0pt plus 5cm}SDL\_\-Surface$\ast$ {\bf surface}}}
\label{main_8cpp_a2f5cac12e913bcfcff660305bf88dd3b}
Definition at line 20 of file main.cpp.