\hypertarget{screen_8c}{
\section{screen.c File Reference}
\label{screen_8c}\index{screen.c@{screen.c}}
}
\subsection*{Functions}
\begin{CompactItemize}
\item 
\hyperlink{screen_8c_735ec48c10b6f850f12034ae464e43a0}{tocolor} (lua\_\-State $\ast$L, int a)
\item 
$\ast$ \hyperlink{screen_8c_f5f6659c1cb22d712cec2e660b5e4a6e}{toImage} (lua\_\-State $\ast$L, int arg)
\item 
static int \hyperlink{screen_8c_0787586c52cbcc082909b5f3a63a0f8b}{print} (lua\_\-State $\ast$L)
\item 
static int \hyperlink{screen_8c_372a99ad51a5e8b6af0a78c82b419d64}{startDraw} (lua\_\-State $\ast$L)
\item 
static int \hyperlink{screen_8c_21edf1ce24ff70874ee59835b45e1b4a}{endDraw} (lua\_\-State $\ast$L)
\item 
static int \hyperlink{screen_8c_52a2924c992db779d5a6b48fe2de6f03}{flipscreen} (lua\_\-State $\ast$L)
\item 
static int \hyperlink{screen_8c_cb3cae23e5cce4fae9909795c0aedba6}{clear} (lua\_\-State $\ast$L)
\item 
static int \hyperlink{screen_8c_2983ce5c994cd69b05dde640fc9c2b6c}{screen\_\-transparent} (lua\_\-State $\ast$L)
\item 
static int \hyperlink{screen_8c_d6cc5bd972fdcd7500ffde4935b07e2d}{screen\_\-toImage} (lua\_\-State $\ast$L)
\item 
static int \hyperlink{screen_8c_622ace13d5df3ce5fa015a55f81b2149}{screen\_\-waitVblankStart} (lua\_\-State $\ast$L)
\item 
static int \hyperlink{screen_8c_7e95dec4fb5770c9492f935ed182eb51}{screen\_\-alpha} (lua\_\-State $\ast$L)
\item 
static void \hyperlink{screen_8c_66a726599d55f4356d63cb43ed7702d6}{initscreen} (void)
\item 
void \hyperlink{screen_8c_af1b6a4ef2509564fd9bf2eb1f31e739}{screen\_\-init} (lua\_\-State $\ast$L)
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
intraFont $\ast$ \hyperlink{screen_8c_655215f7f2801b2024e3251117d5282d}{font}
\item 
static const luaL\_\-Reg \hyperlink{screen_8c_5aeaf9a235b96ae1b2a59edc264f373e}{screen} \mbox{[}$\,$\mbox{]}
\end{CompactItemize}


\subsection{Function Documentation}
\hypertarget{screen_8c_cb3cae23e5cce4fae9909795c0aedba6}{
\index{screen.c@{screen.c}!clear@{clear}}
\index{clear@{clear}!screen.c@{screen.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int clear (lua\_\-State $\ast$ {\em L})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{screen_8c_cb3cae23e5cce4fae9909795c0aedba6}


\hypertarget{screen_8c_21edf1ce24ff70874ee59835b45e1b4a}{
\index{screen.c@{screen.c}!endDraw@{endDraw}}
\index{endDraw@{endDraw}!screen.c@{screen.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int endDraw (lua\_\-State $\ast$ {\em L})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{screen_8c_21edf1ce24ff70874ee59835b45e1b4a}


\hypertarget{screen_8c_52a2924c992db779d5a6b48fe2de6f03}{
\index{screen.c@{screen.c}!flipscreen@{flipscreen}}
\index{flipscreen@{flipscreen}!screen.c@{screen.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int flipscreen (lua\_\-State $\ast$ {\em L})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{screen_8c_52a2924c992db779d5a6b48fe2de6f03}


\hypertarget{screen_8c_66a726599d55f4356d63cb43ed7702d6}{
\index{screen.c@{screen.c}!initscreen@{initscreen}}
\index{initscreen@{initscreen}!screen.c@{screen.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void initscreen (void)\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{screen_8c_66a726599d55f4356d63cb43ed7702d6}


\hypertarget{screen_8c_0787586c52cbcc082909b5f3a63a0f8b}{
\index{screen.c@{screen.c}!print@{print}}
\index{print@{print}!screen.c@{screen.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int print (lua\_\-State $\ast$ {\em L})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{screen_8c_0787586c52cbcc082909b5f3a63a0f8b}


\hypertarget{screen_8c_7e95dec4fb5770c9492f935ed182eb51}{
\index{screen.c@{screen.c}!screen\_\-alpha@{screen\_\-alpha}}
\index{screen\_\-alpha@{screen\_\-alpha}!screen.c@{screen.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int screen\_\-alpha (lua\_\-State $\ast$ {\em L})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{screen_8c_7e95dec4fb5770c9492f935ed182eb51}


\hypertarget{screen_8c_af1b6a4ef2509564fd9bf2eb1f31e739}{
\index{screen.c@{screen.c}!screen\_\-init@{screen\_\-init}}
\index{screen\_\-init@{screen\_\-init}!screen.c@{screen.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void screen\_\-init (lua\_\-State $\ast$ {\em L})}}
\label{screen_8c_af1b6a4ef2509564fd9bf2eb1f31e739}


\hypertarget{screen_8c_d6cc5bd972fdcd7500ffde4935b07e2d}{
\index{screen.c@{screen.c}!screen\_\-toImage@{screen\_\-toImage}}
\index{screen\_\-toImage@{screen\_\-toImage}!screen.c@{screen.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int screen\_\-toImage (lua\_\-State $\ast$ {\em L})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{screen_8c_d6cc5bd972fdcd7500ffde4935b07e2d}


\hypertarget{screen_8c_2983ce5c994cd69b05dde640fc9c2b6c}{
\index{screen.c@{screen.c}!screen\_\-transparent@{screen\_\-transparent}}
\index{screen\_\-transparent@{screen\_\-transparent}!screen.c@{screen.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int screen\_\-transparent (lua\_\-State $\ast$ {\em L})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{screen_8c_2983ce5c994cd69b05dde640fc9c2b6c}


\hypertarget{screen_8c_622ace13d5df3ce5fa015a55f81b2149}{
\index{screen.c@{screen.c}!screen\_\-waitVblankStart@{screen\_\-waitVblankStart}}
\index{screen\_\-waitVblankStart@{screen\_\-waitVblankStart}!screen.c@{screen.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int screen\_\-waitVblankStart (lua\_\-State $\ast$ {\em L})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{screen_8c_622ace13d5df3ce5fa015a55f81b2149}


\hypertarget{screen_8c_372a99ad51a5e8b6af0a78c82b419d64}{
\index{screen.c@{screen.c}!startDraw@{startDraw}}
\index{startDraw@{startDraw}!screen.c@{screen.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int startDraw (lua\_\-State $\ast$ {\em L})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{screen_8c_372a99ad51a5e8b6af0a78c82b419d64}


\hypertarget{screen_8c_735ec48c10b6f850f12034ae464e43a0}{
\index{screen.c@{screen.c}!tocolor@{tocolor}}
\index{tocolor@{tocolor}!screen.c@{screen.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}tocolor (lua\_\-State $\ast$ {\em L}, \/  int {\em a})}}
\label{screen_8c_735ec48c10b6f850f12034ae464e43a0}


\hypertarget{screen_8c_f5f6659c1cb22d712cec2e660b5e4a6e}{
\index{screen.c@{screen.c}!toImage@{toImage}}
\index{toImage@{toImage}!screen.c@{screen.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}$\ast$ toImage (lua\_\-State $\ast$ {\em L}, \/  int {\em arg})}}
\label{screen_8c_f5f6659c1cb22d712cec2e660b5e4a6e}




\subsection{Variable Documentation}
\hypertarget{screen_8c_655215f7f2801b2024e3251117d5282d}{
\index{screen.c@{screen.c}!font@{font}}
\index{font@{font}!screen.c@{screen.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}intraFont$\ast$ {\bf font}}}
\label{screen_8c_655215f7f2801b2024e3251117d5282d}


\hypertarget{screen_8c_5aeaf9a235b96ae1b2a59edc264f373e}{
\index{screen.c@{screen.c}!screen@{screen}}
\index{screen@{screen}!screen.c@{screen.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const luaL\_\-Reg {\bf screen}\mbox{[}$\,$\mbox{]}\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{screen_8c_5aeaf9a235b96ae1b2a59edc264f373e}


\textbf{Initial value:}

\begin{Code}\begin{verbatim} {
  {"print",   print},
  {"startDraw",   startDraw},
  {"endDraw",   endDraw},
  {"flipscreen",   flipscreen},
  {"clear",   clear},
  {"waitVblankStart",   screen_waitVblankStart},
  {"toImage",   screen_toImage},
  {"transparentColor",  screen_transparent},
  {"setAlpha",  screen_alpha},
  {NULL, NULL}
}
\end{verbatim}
\end{Code}
