\hypertarget{m__fileio_8cpp}{
\section{common/m\_\-fileio.cpp File Reference}
\label{d6/d64/m__fileio_8cpp}\index{common/m\_\-fileio.cpp@{common/m\_\-fileio.cpp}}
}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{doomtype_8h_a75bb2133b108e6f0587b7ccf88a85522}{SDWORD} \hyperlink{m__fileio_8cpp_afa0364c6a610f1102839812506144a4c}{M\_\-FileLength} (FILE $\ast$f)
\item 
\hyperlink{doomtype_8h_a050c65e107f0c828f856a231f4b4e788}{BOOL} \hyperlink{m__fileio_8cpp_a84fb94a3d12b747e24bcbd85138a7f0f}{M\_\-FileExists} (\hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} filename)
\item 
\hyperlink{doomtype_8h_a050c65e107f0c828f856a231f4b4e788}{BOOL} \hyperlink{m__fileio_8cpp_a7980aede2dee034877412eca551095a0}{M\_\-WriteFile} (\hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} filename, void $\ast$\hyperlink{client_2src_2s__sound_8cpp_a73481622668a30ed7983be7427fb1c2f}{source}, \hyperlink{doomtype_8h_ad6463c38322185120b9a683834b2d4eb}{QWORD} length)
\item 
\hyperlink{doomtype_8h_ad6463c38322185120b9a683834b2d4eb}{QWORD} \hyperlink{m__fileio_8cpp_ad8ddb867f069bdca7669d0523089ea68}{M\_\-ReadFile} (\hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} filename, \hyperlink{doomtype_8h_a4ae1dab0fb4b072a66584546209e7d58}{BYTE} $\ast$$\ast$buffer)
\item 
\hyperlink{doomtype_8h_a050c65e107f0c828f856a231f4b4e788}{BOOL} \hyperlink{m__fileio_8cpp_a915f8f35fb8d4deb6641dce96bd969db}{M\_\-AppendExtension} (\hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} \&filename, \hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} extension, bool if\_\-needed)
\item 
void \hyperlink{m__fileio_8cpp_a06f5073c0319b24e3e83e718a599b64d}{M\_\-ExtractFilePath} (\hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} filename, \hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} \&\hyperlink{minilzo_8cpp_ab0bede79c5f4cbed9c2cd932a0ace201}{dest})
\item 
\hyperlink{doomtype_8h_a050c65e107f0c828f856a231f4b4e788}{BOOL} \hyperlink{m__fileio_8cpp_ad431c9eca877c6cf4ae15771dc8acc31}{M\_\-ExtractFileExtension} (\hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} filename, \hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} \&\hyperlink{minilzo_8cpp_ab0bede79c5f4cbed9c2cd932a0ace201}{dest})
\item 
void \hyperlink{m__fileio_8cpp_a9ea1b3efe0bb5a6ce4c2e115b9c3aff3}{M\_\-ExtractFileBase} (\hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} filename, \hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} \&\hyperlink{minilzo_8cpp_ab0bede79c5f4cbed9c2cd932a0ace201}{dest})
\item 
void \hyperlink{m__fileio_8cpp_aab66e9318970c3bf2b233f4b4ed71403}{M\_\-ExtractFileName} (\hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} filename, \hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} \&\hyperlink{minilzo_8cpp_ab0bede79c5f4cbed9c2cd932a0ace201}{dest})
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
std::ofstream \hyperlink{m__fileio_8cpp_a6c07b38a2cc703af37b8eec76bdd980b}{LOG}
\item 
std::ifstream \hyperlink{m__fileio_8cpp_a6976f3592c090cc792e0aa2b16111323}{CON}
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{m__fileio_8cpp_a915f8f35fb8d4deb6641dce96bd969db}{
\index{m\_\-fileio.cpp@{m\_\-fileio.cpp}!M\_\-AppendExtension@{M\_\-AppendExtension}}
\index{M\_\-AppendExtension@{M\_\-AppendExtension}!m_fileio.cpp@{m\_\-fileio.cpp}}
\subsubsection[{M\_\-AppendExtension}]{\setlength{\rightskip}{0pt plus 5cm}{\bf BOOL} M\_\-AppendExtension (
\begin{DoxyParamCaption}
\item[{{\bf std::string} \&}]{filename, }
\item[{{\bf std::string}}]{extension, }
\item[{bool}]{if\_\-needed}
\end{DoxyParamCaption}
)}}
\label{d6/d64/m__fileio_8cpp_a915f8f35fb8d4deb6641dce96bd969db}
\hypertarget{m__fileio_8cpp_a9ea1b3efe0bb5a6ce4c2e115b9c3aff3}{
\index{m\_\-fileio.cpp@{m\_\-fileio.cpp}!M\_\-ExtractFileBase@{M\_\-ExtractFileBase}}
\index{M\_\-ExtractFileBase@{M\_\-ExtractFileBase}!m_fileio.cpp@{m\_\-fileio.cpp}}
\subsubsection[{M\_\-ExtractFileBase}]{\setlength{\rightskip}{0pt plus 5cm}void M\_\-ExtractFileBase (
\begin{DoxyParamCaption}
\item[{{\bf std::string}}]{filename, }
\item[{{\bf std::string} \&}]{dest}
\end{DoxyParamCaption}
)}}
\label{d6/d64/m__fileio_8cpp_a9ea1b3efe0bb5a6ce4c2e115b9c3aff3}
\hypertarget{m__fileio_8cpp_ad431c9eca877c6cf4ae15771dc8acc31}{
\index{m\_\-fileio.cpp@{m\_\-fileio.cpp}!M\_\-ExtractFileExtension@{M\_\-ExtractFileExtension}}
\index{M\_\-ExtractFileExtension@{M\_\-ExtractFileExtension}!m_fileio.cpp@{m\_\-fileio.cpp}}
\subsubsection[{M\_\-ExtractFileExtension}]{\setlength{\rightskip}{0pt plus 5cm}{\bf BOOL} M\_\-ExtractFileExtension (
\begin{DoxyParamCaption}
\item[{{\bf std::string}}]{filename, }
\item[{{\bf std::string} \&}]{dest}
\end{DoxyParamCaption}
)}}
\label{d6/d64/m__fileio_8cpp_ad431c9eca877c6cf4ae15771dc8acc31}
\hypertarget{m__fileio_8cpp_aab66e9318970c3bf2b233f4b4ed71403}{
\index{m\_\-fileio.cpp@{m\_\-fileio.cpp}!M\_\-ExtractFileName@{M\_\-ExtractFileName}}
\index{M\_\-ExtractFileName@{M\_\-ExtractFileName}!m_fileio.cpp@{m\_\-fileio.cpp}}
\subsubsection[{M\_\-ExtractFileName}]{\setlength{\rightskip}{0pt plus 5cm}void M\_\-ExtractFileName (
\begin{DoxyParamCaption}
\item[{{\bf std::string}}]{filename, }
\item[{{\bf std::string} \&}]{dest}
\end{DoxyParamCaption}
)}}
\label{d6/d64/m__fileio_8cpp_aab66e9318970c3bf2b233f4b4ed71403}
\hypertarget{m__fileio_8cpp_a06f5073c0319b24e3e83e718a599b64d}{
\index{m\_\-fileio.cpp@{m\_\-fileio.cpp}!M\_\-ExtractFilePath@{M\_\-ExtractFilePath}}
\index{M\_\-ExtractFilePath@{M\_\-ExtractFilePath}!m_fileio.cpp@{m\_\-fileio.cpp}}
\subsubsection[{M\_\-ExtractFilePath}]{\setlength{\rightskip}{0pt plus 5cm}void M\_\-ExtractFilePath (
\begin{DoxyParamCaption}
\item[{{\bf std::string}}]{filename, }
\item[{{\bf std::string} \&}]{dest}
\end{DoxyParamCaption}
)}}
\label{d6/d64/m__fileio_8cpp_a06f5073c0319b24e3e83e718a599b64d}
\hypertarget{m__fileio_8cpp_a84fb94a3d12b747e24bcbd85138a7f0f}{
\index{m\_\-fileio.cpp@{m\_\-fileio.cpp}!M\_\-FileExists@{M\_\-FileExists}}
\index{M\_\-FileExists@{M\_\-FileExists}!m_fileio.cpp@{m\_\-fileio.cpp}}
\subsubsection[{M\_\-FileExists}]{\setlength{\rightskip}{0pt plus 5cm}{\bf BOOL} M\_\-FileExists (
\begin{DoxyParamCaption}
\item[{{\bf std::string}}]{filename}
\end{DoxyParamCaption}
)}}
\label{d6/d64/m__fileio_8cpp_a84fb94a3d12b747e24bcbd85138a7f0f}
\hypertarget{m__fileio_8cpp_afa0364c6a610f1102839812506144a4c}{
\index{m\_\-fileio.cpp@{m\_\-fileio.cpp}!M\_\-FileLength@{M\_\-FileLength}}
\index{M\_\-FileLength@{M\_\-FileLength}!m_fileio.cpp@{m\_\-fileio.cpp}}
\subsubsection[{M\_\-FileLength}]{\setlength{\rightskip}{0pt plus 5cm}{\bf SDWORD} M\_\-FileLength (
\begin{DoxyParamCaption}
\item[{FILE $\ast$}]{f}
\end{DoxyParamCaption}
)}}
\label{d6/d64/m__fileio_8cpp_afa0364c6a610f1102839812506144a4c}
\hypertarget{m__fileio_8cpp_ad8ddb867f069bdca7669d0523089ea68}{
\index{m\_\-fileio.cpp@{m\_\-fileio.cpp}!M\_\-ReadFile@{M\_\-ReadFile}}
\index{M\_\-ReadFile@{M\_\-ReadFile}!m_fileio.cpp@{m\_\-fileio.cpp}}
\subsubsection[{M\_\-ReadFile}]{\setlength{\rightskip}{0pt plus 5cm}{\bf QWORD} M\_\-ReadFile (
\begin{DoxyParamCaption}
\item[{{\bf std::string}}]{filename, }
\item[{{\bf BYTE} $\ast$$\ast$}]{buffer}
\end{DoxyParamCaption}
)}}
\label{d6/d64/m__fileio_8cpp_ad8ddb867f069bdca7669d0523089ea68}
\hypertarget{m__fileio_8cpp_a7980aede2dee034877412eca551095a0}{
\index{m\_\-fileio.cpp@{m\_\-fileio.cpp}!M\_\-WriteFile@{M\_\-WriteFile}}
\index{M\_\-WriteFile@{M\_\-WriteFile}!m_fileio.cpp@{m\_\-fileio.cpp}}
\subsubsection[{M\_\-WriteFile}]{\setlength{\rightskip}{0pt plus 5cm}{\bf BOOL} M\_\-WriteFile (
\begin{DoxyParamCaption}
\item[{{\bf std::string}}]{filename, }
\item[{void $\ast$}]{source, }
\item[{{\bf QWORD}}]{length}
\end{DoxyParamCaption}
)}}
\label{d6/d64/m__fileio_8cpp_a7980aede2dee034877412eca551095a0}


\subsection{Variable Documentation}
\hypertarget{m__fileio_8cpp_a6976f3592c090cc792e0aa2b16111323}{
\index{m\_\-fileio.cpp@{m\_\-fileio.cpp}!CON@{CON}}
\index{CON@{CON}!m_fileio.cpp@{m\_\-fileio.cpp}}
\subsubsection[{CON}]{\setlength{\rightskip}{0pt plus 5cm}std::ifstream {\bf CON}}}
\label{d6/d64/m__fileio_8cpp_a6976f3592c090cc792e0aa2b16111323}
\hypertarget{m__fileio_8cpp_a6c07b38a2cc703af37b8eec76bdd980b}{
\index{m\_\-fileio.cpp@{m\_\-fileio.cpp}!LOG@{LOG}}
\index{LOG@{LOG}!m_fileio.cpp@{m\_\-fileio.cpp}}
\subsubsection[{LOG}]{\setlength{\rightskip}{0pt plus 5cm}std::ofstream {\bf LOG}}}
\label{d6/d64/m__fileio_8cpp_a6c07b38a2cc703af37b8eec76bdd980b}
