\hypertarget{w__wad_8cpp}{
\section{common/w\_\-wad.cpp File Reference}
\label{db/ded/w__wad_8cpp}\index{common/w\_\-wad.cpp@{common/w\_\-wad.cpp}}
}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structgamewadinfo__t}{gamewadinfo\_\-t}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{w__wad_8cpp_a3c6fec49133bdd98959e3d148123ff57}{W\_\-VC6Init} (void)
\item 
\hyperlink{doomtype_8h_a050c65e107f0c828f856a231f4b4e788}{BOOL} \hyperlink{w__wad_8cpp_a4f29b6b47b40728de374285b7df85a41}{W\_\-IsIWAD} (\hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} filename, \hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} hash)
\item 
void \hyperlink{w__wad_8cpp_ad9a80ceabef5c0cb8c629ed631625358}{uppercopy} (char $\ast$\hyperlink{sv__main_8cpp_a5bafda9519252aa2d0fd038153f77dca}{to}, const char $\ast$from)
\item 
\hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} \hyperlink{w__wad_8cpp_a3f431d2dc17e6cc343c3ac7a176e0d98}{W\_\-MD5} (\hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} filename)
\item 
\hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} \hyperlink{w__wad_8cpp_ad85fd6fc60d54017b7e5e13bf10981db}{W\_\-AddFile} (\hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} filename)
\item 
void \hyperlink{w__wad_8cpp_ad8d149d3f3b2f0a7f575ee9784c4c0b1}{W\_\-MergeLumps} (const char $\ast$start, const char $\ast$end, int space)
\item 
std::vector$<$ \hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} $>$ \hyperlink{w__wad_8cpp_aa69a5766e1416278b4c62338acd9a1e3}{W\_\-InitMultipleFiles} (std::vector$<$ \hyperlink{sv__main_8cpp_a77792b18743abf1ff3aeeffa24aa45ec}{std::string} $>$ \&filenames)
\item 
int \hyperlink{w__wad_8cpp_aef15fcc3485dc1746044734a41f443ad}{W\_\-CheckNumForName} (const char $\ast$\hyperlink{txt__io_8cpp_a8f8f80d37794cde9472343e4487ba3eb}{name}, int namespc)
\item 
int \hyperlink{w__wad_8cpp_a178df178c0c9e6549d1062abcb7426cb}{W\_\-GetNumForName} (const char $\ast$\hyperlink{txt__io_8cpp_a8f8f80d37794cde9472343e4487ba3eb}{name})
\item 
unsigned \hyperlink{w__wad_8cpp_ae2f84eceffb04bfd63233fa56016ddb7}{W\_\-LumpLength} (unsigned lump)
\item 
void \hyperlink{w__wad_8cpp_ab3cb44966c0cbb53f97fb20519ec20c4}{W\_\-ReadLump} (unsigned lump, void $\ast$\hyperlink{minilzo_8cpp_ab0bede79c5f4cbed9c2cd932a0ace201}{dest})
\item 
unsigned \hyperlink{w__wad_8cpp_ab4dd8924ac34b563b6028ab8915e4e65}{W\_\-ReadChunk} (const char $\ast$file, unsigned offs, unsigned len, void $\ast$\hyperlink{minilzo_8cpp_ab0bede79c5f4cbed9c2cd932a0ace201}{dest}, unsigned \&filelen)
\item 
bool \hyperlink{w__wad_8cpp_a7cc5923d469c4ccf2877378e3c0a048b}{W\_\-CheckLumpName} (unsigned lump, const char $\ast$\hyperlink{txt__io_8cpp_a8f8f80d37794cde9472343e4487ba3eb}{name})
\item 
void \hyperlink{w__wad_8cpp_aeb2d3f0e64d532ee61b08ad4db4f02c8}{W\_\-GetLumpName} (char $\ast$\hyperlink{sv__main_8cpp_a5bafda9519252aa2d0fd038153f77dca}{to}, unsigned lump)
\item 
void $\ast$ \hyperlink{w__wad_8cpp_ae7626521cf23e19b74194cf16ffe33d6}{W\_\-CacheLumpNum} (unsigned lump, int tag)
\item 
void $\ast$ \hyperlink{w__wad_8cpp_a1e13433c40dd4c685814d2981e5a710c}{W\_\-CacheLumpName} (const char $\ast$\hyperlink{txt__io_8cpp_a8f8f80d37794cde9472343e4487ba3eb}{name}, int tag)
\item 
\hyperlink{structpatch__s}{patch\_\-t} $\ast$ \hyperlink{w__wad_8cpp_a44f5459dae003de68f7744fe5d686bbd}{W\_\-CachePatch} (unsigned lump, int tag)
\item 
\hyperlink{structpatch__s}{patch\_\-t} $\ast$ \hyperlink{w__wad_8cpp_a256e4b8f6cad5735194b5a9d8f643b7f}{W\_\-CachePatch} (const char $\ast$\hyperlink{txt__io_8cpp_a8f8f80d37794cde9472343e4487ba3eb}{name}, int tag)
\item 
int \hyperlink{w__wad_8cpp_a073e2e34d0d3728905a264d192d09374}{W\_\-FindLump} (const char $\ast$\hyperlink{txt__io_8cpp_a8f8f80d37794cde9472343e4487ba3eb}{name}, int $\ast$lastlump)
\item 
void \hyperlink{w__wad_8cpp_a59326b00872e9d7ea55764aa41c711eb}{W\_\-Close} ()
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structlumpinfo__s}{lumpinfo\_\-t} $\ast$ \hyperlink{w__wad_8cpp_a03d658baf63cca865213ab58e57f3c60}{lumpinfo}
\item 
size\_\-t \hyperlink{w__wad_8cpp_a3f29827be16416ae351ebb91f3ae7e86}{numlumps}
\item 
void $\ast$$\ast$ \hyperlink{w__wad_8cpp_a4f1627f3fcd445677f6fec337eb28e6b}{lumpcache}
\item 
bool \hyperlink{w__wad_8cpp_aa6b2c2fc6c17c4a57a46456ce60d0e13}{WasVC6Inited} = false
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{w__wad_8cpp_ad9a80ceabef5c0cb8c629ed631625358}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!uppercopy@{uppercopy}}
\index{uppercopy@{uppercopy}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{uppercopy}]{\setlength{\rightskip}{0pt plus 5cm}void uppercopy (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{to, }
\item[{const char $\ast$}]{from}
\end{DoxyParamCaption}
)}}
\label{db/ded/w__wad_8cpp_ad9a80ceabef5c0cb8c629ed631625358}
\hypertarget{w__wad_8cpp_ad85fd6fc60d54017b7e5e13bf10981db}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!W\_\-AddFile@{W\_\-AddFile}}
\index{W\_\-AddFile@{W\_\-AddFile}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{W\_\-AddFile}]{\setlength{\rightskip}{0pt plus 5cm}{\bf std::string} W\_\-AddFile (
\begin{DoxyParamCaption}
\item[{{\bf std::string}}]{filename}
\end{DoxyParamCaption}
)}}
\label{db/ded/w__wad_8cpp_ad85fd6fc60d54017b7e5e13bf10981db}
\hypertarget{w__wad_8cpp_a1e13433c40dd4c685814d2981e5a710c}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!W\_\-CacheLumpName@{W\_\-CacheLumpName}}
\index{W\_\-CacheLumpName@{W\_\-CacheLumpName}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{W\_\-CacheLumpName}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ W\_\-CacheLumpName (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name, }
\item[{int}]{tag}
\end{DoxyParamCaption}
)}}
\label{db/ded/w__wad_8cpp_a1e13433c40dd4c685814d2981e5a710c}
\hypertarget{w__wad_8cpp_ae7626521cf23e19b74194cf16ffe33d6}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!W\_\-CacheLumpNum@{W\_\-CacheLumpNum}}
\index{W\_\-CacheLumpNum@{W\_\-CacheLumpNum}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{W\_\-CacheLumpNum}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ W\_\-CacheLumpNum (
\begin{DoxyParamCaption}
\item[{unsigned}]{lump, }
\item[{int}]{tag}
\end{DoxyParamCaption}
)}}
\label{db/ded/w__wad_8cpp_ae7626521cf23e19b74194cf16ffe33d6}
\hypertarget{w__wad_8cpp_a256e4b8f6cad5735194b5a9d8f643b7f}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!W\_\-CachePatch@{W\_\-CachePatch}}
\index{W\_\-CachePatch@{W\_\-CachePatch}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{W\_\-CachePatch}]{\setlength{\rightskip}{0pt plus 5cm}{\bf patch\_\-t}$\ast$ W\_\-CachePatch (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name, }
\item[{int}]{tag}
\end{DoxyParamCaption}
)}}
\label{db/ded/w__wad_8cpp_a256e4b8f6cad5735194b5a9d8f643b7f}
\hypertarget{w__wad_8cpp_a44f5459dae003de68f7744fe5d686bbd}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!W\_\-CachePatch@{W\_\-CachePatch}}
\index{W\_\-CachePatch@{W\_\-CachePatch}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{W\_\-CachePatch}]{\setlength{\rightskip}{0pt plus 5cm}{\bf patch\_\-t}$\ast$ W\_\-CachePatch (
\begin{DoxyParamCaption}
\item[{unsigned}]{lump, }
\item[{int}]{tag}
\end{DoxyParamCaption}
)}}
\label{db/ded/w__wad_8cpp_a44f5459dae003de68f7744fe5d686bbd}
\hypertarget{w__wad_8cpp_a7cc5923d469c4ccf2877378e3c0a048b}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!W\_\-CheckLumpName@{W\_\-CheckLumpName}}
\index{W\_\-CheckLumpName@{W\_\-CheckLumpName}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{W\_\-CheckLumpName}]{\setlength{\rightskip}{0pt plus 5cm}bool W\_\-CheckLumpName (
\begin{DoxyParamCaption}
\item[{unsigned}]{lump, }
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}}
\label{db/ded/w__wad_8cpp_a7cc5923d469c4ccf2877378e3c0a048b}
\hypertarget{w__wad_8cpp_aef15fcc3485dc1746044734a41f443ad}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!W\_\-CheckNumForName@{W\_\-CheckNumForName}}
\index{W\_\-CheckNumForName@{W\_\-CheckNumForName}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{W\_\-CheckNumForName}]{\setlength{\rightskip}{0pt plus 5cm}int W\_\-CheckNumForName (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name, }
\item[{int}]{namespc}
\end{DoxyParamCaption}
)}}
\label{db/ded/w__wad_8cpp_aef15fcc3485dc1746044734a41f443ad}
\hypertarget{w__wad_8cpp_a59326b00872e9d7ea55764aa41c711eb}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!W\_\-Close@{W\_\-Close}}
\index{W\_\-Close@{W\_\-Close}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{W\_\-Close}]{\setlength{\rightskip}{0pt plus 5cm}void W\_\-Close (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{db/ded/w__wad_8cpp_a59326b00872e9d7ea55764aa41c711eb}
\hypertarget{w__wad_8cpp_a073e2e34d0d3728905a264d192d09374}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!W\_\-FindLump@{W\_\-FindLump}}
\index{W\_\-FindLump@{W\_\-FindLump}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{W\_\-FindLump}]{\setlength{\rightskip}{0pt plus 5cm}int W\_\-FindLump (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name, }
\item[{int $\ast$}]{lastlump}
\end{DoxyParamCaption}
)}}
\label{db/ded/w__wad_8cpp_a073e2e34d0d3728905a264d192d09374}
\hypertarget{w__wad_8cpp_aeb2d3f0e64d532ee61b08ad4db4f02c8}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!W\_\-GetLumpName@{W\_\-GetLumpName}}
\index{W\_\-GetLumpName@{W\_\-GetLumpName}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{W\_\-GetLumpName}]{\setlength{\rightskip}{0pt plus 5cm}void W\_\-GetLumpName (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{to, }
\item[{unsigned}]{lump}
\end{DoxyParamCaption}
)}}
\label{db/ded/w__wad_8cpp_aeb2d3f0e64d532ee61b08ad4db4f02c8}
\hypertarget{w__wad_8cpp_a178df178c0c9e6549d1062abcb7426cb}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!W\_\-GetNumForName@{W\_\-GetNumForName}}
\index{W\_\-GetNumForName@{W\_\-GetNumForName}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{W\_\-GetNumForName}]{\setlength{\rightskip}{0pt plus 5cm}int W\_\-GetNumForName (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}}
\label{db/ded/w__wad_8cpp_a178df178c0c9e6549d1062abcb7426cb}
\hypertarget{w__wad_8cpp_aa69a5766e1416278b4c62338acd9a1e3}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!W\_\-InitMultipleFiles@{W\_\-InitMultipleFiles}}
\index{W\_\-InitMultipleFiles@{W\_\-InitMultipleFiles}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{W\_\-InitMultipleFiles}]{\setlength{\rightskip}{0pt plus 5cm}std::vector$<${\bf std::string}$>$ W\_\-InitMultipleFiles (
\begin{DoxyParamCaption}
\item[{std::vector$<$ {\bf std::string} $>$ \&}]{filenames}
\end{DoxyParamCaption}
)}}
\label{db/ded/w__wad_8cpp_aa69a5766e1416278b4c62338acd9a1e3}
\hypertarget{w__wad_8cpp_a4f29b6b47b40728de374285b7df85a41}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!W\_\-IsIWAD@{W\_\-IsIWAD}}
\index{W\_\-IsIWAD@{W\_\-IsIWAD}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{W\_\-IsIWAD}]{\setlength{\rightskip}{0pt plus 5cm}{\bf BOOL} W\_\-IsIWAD (
\begin{DoxyParamCaption}
\item[{{\bf std::string}}]{filename, }
\item[{{\bf std::string}}]{hash}
\end{DoxyParamCaption}
)}}
\label{db/ded/w__wad_8cpp_a4f29b6b47b40728de374285b7df85a41}
\hypertarget{w__wad_8cpp_ae2f84eceffb04bfd63233fa56016ddb7}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!W\_\-LumpLength@{W\_\-LumpLength}}
\index{W\_\-LumpLength@{W\_\-LumpLength}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{W\_\-LumpLength}]{\setlength{\rightskip}{0pt plus 5cm}unsigned W\_\-LumpLength (
\begin{DoxyParamCaption}
\item[{unsigned}]{lump}
\end{DoxyParamCaption}
)}}
\label{db/ded/w__wad_8cpp_ae2f84eceffb04bfd63233fa56016ddb7}
\hypertarget{w__wad_8cpp_a3f431d2dc17e6cc343c3ac7a176e0d98}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!W\_\-MD5@{W\_\-MD5}}
\index{W\_\-MD5@{W\_\-MD5}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{W\_\-MD5}]{\setlength{\rightskip}{0pt plus 5cm}{\bf std::string} W\_\-MD5 (
\begin{DoxyParamCaption}
\item[{{\bf std::string}}]{filename}
\end{DoxyParamCaption}
)}}
\label{db/ded/w__wad_8cpp_a3f431d2dc17e6cc343c3ac7a176e0d98}
\hypertarget{w__wad_8cpp_ad8d149d3f3b2f0a7f575ee9784c4c0b1}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!W\_\-MergeLumps@{W\_\-MergeLumps}}
\index{W\_\-MergeLumps@{W\_\-MergeLumps}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{W\_\-MergeLumps}]{\setlength{\rightskip}{0pt plus 5cm}void W\_\-MergeLumps (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{start, }
\item[{const char $\ast$}]{end, }
\item[{int}]{space}
\end{DoxyParamCaption}
)}}
\label{db/ded/w__wad_8cpp_ad8d149d3f3b2f0a7f575ee9784c4c0b1}
\hypertarget{w__wad_8cpp_ab4dd8924ac34b563b6028ab8915e4e65}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!W\_\-ReadChunk@{W\_\-ReadChunk}}
\index{W\_\-ReadChunk@{W\_\-ReadChunk}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{W\_\-ReadChunk}]{\setlength{\rightskip}{0pt plus 5cm}unsigned W\_\-ReadChunk (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{file, }
\item[{unsigned}]{offs, }
\item[{unsigned}]{len, }
\item[{void $\ast$}]{dest, }
\item[{unsigned \&}]{filelen}
\end{DoxyParamCaption}
)}}
\label{db/ded/w__wad_8cpp_ab4dd8924ac34b563b6028ab8915e4e65}
\hypertarget{w__wad_8cpp_ab3cb44966c0cbb53f97fb20519ec20c4}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!W\_\-ReadLump@{W\_\-ReadLump}}
\index{W\_\-ReadLump@{W\_\-ReadLump}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{W\_\-ReadLump}]{\setlength{\rightskip}{0pt plus 5cm}void W\_\-ReadLump (
\begin{DoxyParamCaption}
\item[{unsigned}]{lump, }
\item[{void $\ast$}]{dest}
\end{DoxyParamCaption}
)}}
\label{db/ded/w__wad_8cpp_ab3cb44966c0cbb53f97fb20519ec20c4}
\hypertarget{w__wad_8cpp_a3c6fec49133bdd98959e3d148123ff57}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!W\_\-VC6Init@{W\_\-VC6Init}}
\index{W\_\-VC6Init@{W\_\-VC6Init}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{W\_\-VC6Init}]{\setlength{\rightskip}{0pt plus 5cm}void W\_\-VC6Init (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{db/ded/w__wad_8cpp_a3c6fec49133bdd98959e3d148123ff57}


\subsection{Variable Documentation}
\hypertarget{w__wad_8cpp_a4f1627f3fcd445677f6fec337eb28e6b}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!lumpcache@{lumpcache}}
\index{lumpcache@{lumpcache}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{lumpcache}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$$\ast$ {\bf lumpcache}}}
\label{db/ded/w__wad_8cpp_a4f1627f3fcd445677f6fec337eb28e6b}
\hypertarget{w__wad_8cpp_a03d658baf63cca865213ab58e57f3c60}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!lumpinfo@{lumpinfo}}
\index{lumpinfo@{lumpinfo}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{lumpinfo}]{\setlength{\rightskip}{0pt plus 5cm}{\bf lumpinfo\_\-t}$\ast$ {\bf lumpinfo}}}
\label{db/ded/w__wad_8cpp_a03d658baf63cca865213ab58e57f3c60}
\hypertarget{w__wad_8cpp_a3f29827be16416ae351ebb91f3ae7e86}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!numlumps@{numlumps}}
\index{numlumps@{numlumps}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{numlumps}]{\setlength{\rightskip}{0pt plus 5cm}size\_\-t {\bf numlumps}}}
\label{db/ded/w__wad_8cpp_a3f29827be16416ae351ebb91f3ae7e86}
\hypertarget{w__wad_8cpp_aa6b2c2fc6c17c4a57a46456ce60d0e13}{
\index{w\_\-wad.cpp@{w\_\-wad.cpp}!WasVC6Inited@{WasVC6Inited}}
\index{WasVC6Inited@{WasVC6Inited}!w_wad.cpp@{w\_\-wad.cpp}}
\subsubsection[{WasVC6Inited}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf WasVC6Inited} = false}}
\label{db/ded/w__wad_8cpp_aa6b2c2fc6c17c4a57a46456ce60d0e13}
