\hypertarget{r__bsp_8cpp}{
\section{client/src/r\_\-bsp.cpp File Reference}
\label{d6/dc5/r__bsp_8cpp}\index{client/src/r\_\-bsp.cpp@{client/src/r\_\-bsp.cpp}}
}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structcliprange__t}{cliprange\_\-t}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{r__bsp_8cpp_aa7106001bcd06b14b5ea68dd171d75aa}{EXTERN\_\-CVAR} (r\_\-drawflat) void R\_\-StoreWallRange(int start
\item 
void \hyperlink{r__bsp_8cpp_aaf7f982918c088ec78137358886f97dc}{R\_\-ClearDrawSegs} (void)
\item 
void \hyperlink{r__bsp_8cpp_a929ad05f7f2d2af93245cc5081a0ba8c}{R\_\-ClipSolidWallSegment} (int first, int last)
\item 
void \hyperlink{r__bsp_8cpp_a8eece53511f6079d614c6431a0924e42}{R\_\-ClipPassWallSegment} (int first, int last)
\item 
void \hyperlink{r__bsp_8cpp_aa908a5e77f66e4d4148db2cf924c6e10}{R\_\-ClearClipSegs} (void)
\item 
int \hyperlink{r__bsp_8cpp_a495edbf8e906e63653afd5160940c949}{R\_\-DoorClosed} (void)
\item 
\hyperlink{structsector__s}{sector\_\-t} $\ast$ \hyperlink{r__bsp_8cpp_a4d97d2cbcc10d75c77412055588cea51}{R\_\-FakeFlat} (\hyperlink{structsector__s}{sector\_\-t} $\ast$sec, \hyperlink{structsector__s}{sector\_\-t} $\ast$tempsec, int $\ast$floorlightlevel, int $\ast$ceilinglightlevel, \hyperlink{doomtype_8h_a050c65e107f0c828f856a231f4b4e788}{BOOL} back)
\item 
void \hyperlink{r__bsp_8cpp_ab66e1e5972ec3bffaee4141d7fc18f22}{R\_\-AddLine} (\hyperlink{structseg__s}{seg\_\-t} $\ast$line)
\item 
void \hyperlink{r__bsp_8cpp_ac1ae798d20a050b40c51acd9d24ca771}{R\_\-Subsector} (int num)
\item 
void \hyperlink{r__bsp_8cpp_ae2035b8bd9fe9786a0e7dd791cdce745}{R\_\-RenderBSPNode} (int bspnum)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structseg__s}{seg\_\-t} $\ast$ \hyperlink{r__bsp_8cpp_ab9d2ef7bd799496e2235238e60e1c78c}{curline}
\item 
\hyperlink{structside__s}{side\_\-t} $\ast$ \hyperlink{r__bsp_8cpp_a1d31694a23072efc818fb2d23172cb3f}{sidedef}
\item 
\hyperlink{structline__s}{line\_\-t} $\ast$ \hyperlink{r__bsp_8cpp_a5586512fb059f4f5b6a109e0b5273754}{linedef}
\item 
\hyperlink{structsector__s}{sector\_\-t} $\ast$ \hyperlink{r__bsp_8cpp_a79ce05d093811f51011c4119ec32abb2}{frontsector}
\item 
\hyperlink{structsector__s}{sector\_\-t} $\ast$ \hyperlink{r__bsp_8cpp_a6e0e02696c49d7c87b7443c7da40d688}{backsector}
\item 
int \hyperlink{r__bsp_8cpp_a19aa677c3cceb83a2bfee0cad24b0212}{doorclosed}
\item 
int \hyperlink{r__bsp_8cpp_af1ab896ddfd3b4b115756a1194f0e6b0}{MaxDrawSegs}
\item 
\hyperlink{structdrawseg__s}{drawseg\_\-t} $\ast$ \hyperlink{r__bsp_8cpp_ab1088bad3a11805d9a6b7669204c31c9}{drawsegs}
\item 
\hyperlink{structdrawseg__s}{drawseg\_\-t} $\ast$ \hyperlink{r__bsp_8cpp_ab6f1dc029079d730e9bc12e7b0e8f4b9}{ds\_\-p}
\item 
int \hyperlink{r__bsp_8cpp_a6c0af9f2e97842405fb15ed952ef2976}{stop}
\item 
int \hyperlink{r__bsp_8cpp_a560e476db4a674629ecee0db021fe5b6}{MaxSegs}
\item 
\hyperlink{structcliprange__t}{cliprange\_\-t} $\ast$ \hyperlink{r__bsp_8cpp_a6291133c4c964c9751bacba5f8eafc5f}{newend}
\item 
\hyperlink{structcliprange__t}{cliprange\_\-t} $\ast$ \hyperlink{r__bsp_8cpp_af249dc45ebcc7d40dced215429cc3f2d}{solidsegs}
\item 
\hyperlink{structcliprange__t}{cliprange\_\-t} $\ast$ \hyperlink{r__bsp_8cpp_ab1ad1c3805c5dbe77b0809e036b4b051}{lastsolidseg}
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{r__bsp_8cpp_aa7106001bcd06b14b5ea68dd171d75aa}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!EXTERN\_\-CVAR@{EXTERN\_\-CVAR}}
\index{EXTERN\_\-CVAR@{EXTERN\_\-CVAR}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{EXTERN\_\-CVAR}]{\setlength{\rightskip}{0pt plus 5cm}EXTERN\_\-CVAR (
\begin{DoxyParamCaption}
\item[{r\_\-drawflat}]{}
\end{DoxyParamCaption}
)}}
\label{d6/dc5/r__bsp_8cpp_aa7106001bcd06b14b5ea68dd171d75aa}
\hypertarget{r__bsp_8cpp_ab66e1e5972ec3bffaee4141d7fc18f22}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!R\_\-AddLine@{R\_\-AddLine}}
\index{R\_\-AddLine@{R\_\-AddLine}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{R\_\-AddLine}]{\setlength{\rightskip}{0pt plus 5cm}void R\_\-AddLine (
\begin{DoxyParamCaption}
\item[{{\bf seg\_\-t} $\ast$}]{line}
\end{DoxyParamCaption}
)}}
\label{d6/dc5/r__bsp_8cpp_ab66e1e5972ec3bffaee4141d7fc18f22}
\hypertarget{r__bsp_8cpp_aa908a5e77f66e4d4148db2cf924c6e10}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!R\_\-ClearClipSegs@{R\_\-ClearClipSegs}}
\index{R\_\-ClearClipSegs@{R\_\-ClearClipSegs}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{R\_\-ClearClipSegs}]{\setlength{\rightskip}{0pt plus 5cm}void R\_\-ClearClipSegs (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{d6/dc5/r__bsp_8cpp_aa908a5e77f66e4d4148db2cf924c6e10}
\hypertarget{r__bsp_8cpp_aaf7f982918c088ec78137358886f97dc}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!R\_\-ClearDrawSegs@{R\_\-ClearDrawSegs}}
\index{R\_\-ClearDrawSegs@{R\_\-ClearDrawSegs}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{R\_\-ClearDrawSegs}]{\setlength{\rightskip}{0pt plus 5cm}void R\_\-ClearDrawSegs (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{d6/dc5/r__bsp_8cpp_aaf7f982918c088ec78137358886f97dc}
\hypertarget{r__bsp_8cpp_a8eece53511f6079d614c6431a0924e42}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!R\_\-ClipPassWallSegment@{R\_\-ClipPassWallSegment}}
\index{R\_\-ClipPassWallSegment@{R\_\-ClipPassWallSegment}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{R\_\-ClipPassWallSegment}]{\setlength{\rightskip}{0pt plus 5cm}void R\_\-ClipPassWallSegment (
\begin{DoxyParamCaption}
\item[{int}]{first, }
\item[{int}]{last}
\end{DoxyParamCaption}
)}}
\label{d6/dc5/r__bsp_8cpp_a8eece53511f6079d614c6431a0924e42}
\hypertarget{r__bsp_8cpp_a929ad05f7f2d2af93245cc5081a0ba8c}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!R\_\-ClipSolidWallSegment@{R\_\-ClipSolidWallSegment}}
\index{R\_\-ClipSolidWallSegment@{R\_\-ClipSolidWallSegment}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{R\_\-ClipSolidWallSegment}]{\setlength{\rightskip}{0pt plus 5cm}void R\_\-ClipSolidWallSegment (
\begin{DoxyParamCaption}
\item[{int}]{first, }
\item[{int}]{last}
\end{DoxyParamCaption}
)}}
\label{d6/dc5/r__bsp_8cpp_a929ad05f7f2d2af93245cc5081a0ba8c}
\hypertarget{r__bsp_8cpp_a495edbf8e906e63653afd5160940c949}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!R\_\-DoorClosed@{R\_\-DoorClosed}}
\index{R\_\-DoorClosed@{R\_\-DoorClosed}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{R\_\-DoorClosed}]{\setlength{\rightskip}{0pt plus 5cm}int R\_\-DoorClosed (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{d6/dc5/r__bsp_8cpp_a495edbf8e906e63653afd5160940c949}
\hypertarget{r__bsp_8cpp_a4d97d2cbcc10d75c77412055588cea51}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!R\_\-FakeFlat@{R\_\-FakeFlat}}
\index{R\_\-FakeFlat@{R\_\-FakeFlat}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{R\_\-FakeFlat}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sector\_\-t}$\ast$ R\_\-FakeFlat (
\begin{DoxyParamCaption}
\item[{{\bf sector\_\-t} $\ast$}]{sec, }
\item[{{\bf sector\_\-t} $\ast$}]{tempsec, }
\item[{int $\ast$}]{floorlightlevel, }
\item[{int $\ast$}]{ceilinglightlevel, }
\item[{{\bf BOOL}}]{back}
\end{DoxyParamCaption}
)}}
\label{d6/dc5/r__bsp_8cpp_a4d97d2cbcc10d75c77412055588cea51}
\hypertarget{r__bsp_8cpp_ae2035b8bd9fe9786a0e7dd791cdce745}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!R\_\-RenderBSPNode@{R\_\-RenderBSPNode}}
\index{R\_\-RenderBSPNode@{R\_\-RenderBSPNode}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{R\_\-RenderBSPNode}]{\setlength{\rightskip}{0pt plus 5cm}void R\_\-RenderBSPNode (
\begin{DoxyParamCaption}
\item[{int}]{bspnum}
\end{DoxyParamCaption}
)}}
\label{d6/dc5/r__bsp_8cpp_ae2035b8bd9fe9786a0e7dd791cdce745}
\hypertarget{r__bsp_8cpp_ac1ae798d20a050b40c51acd9d24ca771}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!R\_\-Subsector@{R\_\-Subsector}}
\index{R\_\-Subsector@{R\_\-Subsector}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{R\_\-Subsector}]{\setlength{\rightskip}{0pt plus 5cm}void R\_\-Subsector (
\begin{DoxyParamCaption}
\item[{int}]{num}
\end{DoxyParamCaption}
)}}
\label{d6/dc5/r__bsp_8cpp_ac1ae798d20a050b40c51acd9d24ca771}


\subsection{Variable Documentation}
\hypertarget{r__bsp_8cpp_a6e0e02696c49d7c87b7443c7da40d688}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!backsector@{backsector}}
\index{backsector@{backsector}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{backsector}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sector\_\-t}$\ast$ {\bf backsector}}}
\label{d6/dc5/r__bsp_8cpp_a6e0e02696c49d7c87b7443c7da40d688}
\hypertarget{r__bsp_8cpp_ab9d2ef7bd799496e2235238e60e1c78c}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!curline@{curline}}
\index{curline@{curline}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{curline}]{\setlength{\rightskip}{0pt plus 5cm}{\bf seg\_\-t}$\ast$ {\bf curline}}}
\label{d6/dc5/r__bsp_8cpp_ab9d2ef7bd799496e2235238e60e1c78c}
\hypertarget{r__bsp_8cpp_a19aa677c3cceb83a2bfee0cad24b0212}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!doorclosed@{doorclosed}}
\index{doorclosed@{doorclosed}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{doorclosed}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf doorclosed}}}
\label{d6/dc5/r__bsp_8cpp_a19aa677c3cceb83a2bfee0cad24b0212}
\hypertarget{r__bsp_8cpp_ab1088bad3a11805d9a6b7669204c31c9}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!drawsegs@{drawsegs}}
\index{drawsegs@{drawsegs}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{drawsegs}]{\setlength{\rightskip}{0pt plus 5cm}{\bf drawseg\_\-t}$\ast$ {\bf drawsegs}}}
\label{d6/dc5/r__bsp_8cpp_ab1088bad3a11805d9a6b7669204c31c9}
\hypertarget{r__bsp_8cpp_ab6f1dc029079d730e9bc12e7b0e8f4b9}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!ds\_\-p@{ds\_\-p}}
\index{ds\_\-p@{ds\_\-p}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{ds\_\-p}]{\setlength{\rightskip}{0pt plus 5cm}{\bf drawseg\_\-t}$\ast$ {\bf ds\_\-p}}}
\label{d6/dc5/r__bsp_8cpp_ab6f1dc029079d730e9bc12e7b0e8f4b9}
\hypertarget{r__bsp_8cpp_a79ce05d093811f51011c4119ec32abb2}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!frontsector@{frontsector}}
\index{frontsector@{frontsector}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{frontsector}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sector\_\-t}$\ast$ {\bf frontsector}}}
\label{d6/dc5/r__bsp_8cpp_a79ce05d093811f51011c4119ec32abb2}
\hypertarget{r__bsp_8cpp_ab1ad1c3805c5dbe77b0809e036b4b051}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!lastsolidseg@{lastsolidseg}}
\index{lastsolidseg@{lastsolidseg}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{lastsolidseg}]{\setlength{\rightskip}{0pt plus 5cm}{\bf cliprange\_\-t}$\ast$ {\bf lastsolidseg}}}
\label{d6/dc5/r__bsp_8cpp_ab1ad1c3805c5dbe77b0809e036b4b051}
\hypertarget{r__bsp_8cpp_a5586512fb059f4f5b6a109e0b5273754}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!linedef@{linedef}}
\index{linedef@{linedef}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{linedef}]{\setlength{\rightskip}{0pt plus 5cm}{\bf line\_\-t}$\ast$ {\bf linedef}}}
\label{d6/dc5/r__bsp_8cpp_a5586512fb059f4f5b6a109e0b5273754}
\hypertarget{r__bsp_8cpp_af1ab896ddfd3b4b115756a1194f0e6b0}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!MaxDrawSegs@{MaxDrawSegs}}
\index{MaxDrawSegs@{MaxDrawSegs}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{MaxDrawSegs}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf MaxDrawSegs}}}
\label{d6/dc5/r__bsp_8cpp_af1ab896ddfd3b4b115756a1194f0e6b0}
\hypertarget{r__bsp_8cpp_a560e476db4a674629ecee0db021fe5b6}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!MaxSegs@{MaxSegs}}
\index{MaxSegs@{MaxSegs}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{MaxSegs}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf MaxSegs}}}
\label{d6/dc5/r__bsp_8cpp_a560e476db4a674629ecee0db021fe5b6}
\hypertarget{r__bsp_8cpp_a6291133c4c964c9751bacba5f8eafc5f}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!newend@{newend}}
\index{newend@{newend}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{newend}]{\setlength{\rightskip}{0pt plus 5cm}{\bf cliprange\_\-t}$\ast$ {\bf newend}}}
\label{d6/dc5/r__bsp_8cpp_a6291133c4c964c9751bacba5f8eafc5f}
\hypertarget{r__bsp_8cpp_a1d31694a23072efc818fb2d23172cb3f}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!sidedef@{sidedef}}
\index{sidedef@{sidedef}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{sidedef}]{\setlength{\rightskip}{0pt plus 5cm}{\bf side\_\-t}$\ast$ {\bf sidedef}}}
\label{d6/dc5/r__bsp_8cpp_a1d31694a23072efc818fb2d23172cb3f}
\hypertarget{r__bsp_8cpp_af249dc45ebcc7d40dced215429cc3f2d}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!solidsegs@{solidsegs}}
\index{solidsegs@{solidsegs}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{solidsegs}]{\setlength{\rightskip}{0pt plus 5cm}{\bf cliprange\_\-t}$\ast$ {\bf solidsegs}}}
\label{d6/dc5/r__bsp_8cpp_af249dc45ebcc7d40dced215429cc3f2d}
\hypertarget{r__bsp_8cpp_a6c0af9f2e97842405fb15ed952ef2976}{
\index{r\_\-bsp.cpp@{r\_\-bsp.cpp}!stop@{stop}}
\index{stop@{stop}!r_bsp.cpp@{r\_\-bsp.cpp}}
\subsubsection[{stop}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf stop}}}
\label{d6/dc5/r__bsp_8cpp_a6c0af9f2e97842405fb15ed952ef2976}
