\hypertarget{i__music_8cpp}{
\section{client/sdl/i\_\-music.cpp File Reference}
\label{d8/de5/i__music_8cpp}\index{client/sdl/i\_\-music.cpp@{client/sdl/i\_\-music.cpp}}
}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structMusicHandler__t}{MusicHandler\_\-t}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{i__music_8cpp_aee5df3bdfda1eec0c99959491dacf54a}{EXTERN\_\-CVAR} (snd\_\-musicvolume) void I\_\-midiOutSetVolumes(int volume)
\item 
void \hyperlink{i__music_8cpp_a6a4108f5a869b857a566c9d5e1c1e803}{I\_\-SetMusicVolume} (float volume)
\item 
void \hyperlink{i__music_8cpp_a98917e00fe23ffeab03a97cbd68a15c9}{I\_\-InitMusic} (void)
\item 
void STACK\_\-ARGS \hyperlink{i__music_8cpp_a09b1512340bee802952d8f95bd71323b}{I\_\-ShutdownMusic} (void)
\item 
void \hyperlink{i__music_8cpp_a251b14061ee491e7e437e11c4cc4213e}{I\_\-PlaySong} (int handle, int \_\-looping)
\item 
void \hyperlink{i__music_8cpp_a335e4b8bc3e0ab718c45273982e02bb8}{I\_\-PauseSong} (int handle)
\item 
void \hyperlink{i__music_8cpp_ae5f3f5f7a56acc02c904e38b0645084e}{I\_\-ResumeSong} (int handle)
\item 
void \hyperlink{i__music_8cpp_a9c401f5404b6cfbfd928ed9bc5d52713}{I\_\-StopSong} (int handle)
\item 
void \hyperlink{i__music_8cpp_a1dd2c66ef7afd5538c980f904c4b4801}{I\_\-UnRegisterSong} (int handle)
\item 
int \hyperlink{i__music_8cpp_aac6e46d08e71d94a3cc00f8e9b43b1a1}{I\_\-RegisterSong} (char $\ast$data, size\_\-t musicLen)
\item 
bool \hyperlink{i__music_8cpp_a6c97bd365e2aca4fc2c220f83638ef62}{I\_\-QrySongPlaying} (int handle)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static AUNode \hyperlink{i__music_8cpp_a3dc7ab0d8501744f228220230cda4afa}{output}
\item 
\hyperlink{structMusicHandler__t}{MusicHandler\_\-t} \hyperlink{i__music_8cpp_af31a11d1c304b975e32392552fbc0816}{registered\_\-tracks} \mbox{[}MUSIC\_\-TRACKS\mbox{]}
\item 
int \hyperlink{i__music_8cpp_a7f87cabe7520a70ab78d23e0de80d137}{current\_\-track}
\item 
int \hyperlink{i__music_8cpp_a079685c88df9ed0dc01d3da77e0a9994}{curpause} = 0
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{i__music_8cpp_aee5df3bdfda1eec0c99959491dacf54a}{
\index{i\_\-music.cpp@{i\_\-music.cpp}!EXTERN\_\-CVAR@{EXTERN\_\-CVAR}}
\index{EXTERN\_\-CVAR@{EXTERN\_\-CVAR}!i_music.cpp@{i\_\-music.cpp}}
\subsubsection[{EXTERN\_\-CVAR}]{\setlength{\rightskip}{0pt plus 5cm}EXTERN\_\-CVAR (
\begin{DoxyParamCaption}
\item[{snd\_\-musicvolume}]{}
\end{DoxyParamCaption}
)}}
\label{d8/de5/i__music_8cpp_aee5df3bdfda1eec0c99959491dacf54a}
\hypertarget{i__music_8cpp_a98917e00fe23ffeab03a97cbd68a15c9}{
\index{i\_\-music.cpp@{i\_\-music.cpp}!I\_\-InitMusic@{I\_\-InitMusic}}
\index{I\_\-InitMusic@{I\_\-InitMusic}!i_music.cpp@{i\_\-music.cpp}}
\subsubsection[{I\_\-InitMusic}]{\setlength{\rightskip}{0pt plus 5cm}void I\_\-InitMusic (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{d8/de5/i__music_8cpp_a98917e00fe23ffeab03a97cbd68a15c9}
\hypertarget{i__music_8cpp_a335e4b8bc3e0ab718c45273982e02bb8}{
\index{i\_\-music.cpp@{i\_\-music.cpp}!I\_\-PauseSong@{I\_\-PauseSong}}
\index{I\_\-PauseSong@{I\_\-PauseSong}!i_music.cpp@{i\_\-music.cpp}}
\subsubsection[{I\_\-PauseSong}]{\setlength{\rightskip}{0pt plus 5cm}void I\_\-PauseSong (
\begin{DoxyParamCaption}
\item[{int}]{handle}
\end{DoxyParamCaption}
)}}
\label{d8/de5/i__music_8cpp_a335e4b8bc3e0ab718c45273982e02bb8}
\hypertarget{i__music_8cpp_a251b14061ee491e7e437e11c4cc4213e}{
\index{i\_\-music.cpp@{i\_\-music.cpp}!I\_\-PlaySong@{I\_\-PlaySong}}
\index{I\_\-PlaySong@{I\_\-PlaySong}!i_music.cpp@{i\_\-music.cpp}}
\subsubsection[{I\_\-PlaySong}]{\setlength{\rightskip}{0pt plus 5cm}void I\_\-PlaySong (
\begin{DoxyParamCaption}
\item[{int}]{handle, }
\item[{int}]{\_\-looping}
\end{DoxyParamCaption}
)}}
\label{d8/de5/i__music_8cpp_a251b14061ee491e7e437e11c4cc4213e}
\hypertarget{i__music_8cpp_a6c97bd365e2aca4fc2c220f83638ef62}{
\index{i\_\-music.cpp@{i\_\-music.cpp}!I\_\-QrySongPlaying@{I\_\-QrySongPlaying}}
\index{I\_\-QrySongPlaying@{I\_\-QrySongPlaying}!i_music.cpp@{i\_\-music.cpp}}
\subsubsection[{I\_\-QrySongPlaying}]{\setlength{\rightskip}{0pt plus 5cm}bool I\_\-QrySongPlaying (
\begin{DoxyParamCaption}
\item[{int}]{handle}
\end{DoxyParamCaption}
)}}
\label{d8/de5/i__music_8cpp_a6c97bd365e2aca4fc2c220f83638ef62}
\hypertarget{i__music_8cpp_aac6e46d08e71d94a3cc00f8e9b43b1a1}{
\index{i\_\-music.cpp@{i\_\-music.cpp}!I\_\-RegisterSong@{I\_\-RegisterSong}}
\index{I\_\-RegisterSong@{I\_\-RegisterSong}!i_music.cpp@{i\_\-music.cpp}}
\subsubsection[{I\_\-RegisterSong}]{\setlength{\rightskip}{0pt plus 5cm}int I\_\-RegisterSong (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{data, }
\item[{size\_\-t}]{musicLen}
\end{DoxyParamCaption}
)}}
\label{d8/de5/i__music_8cpp_aac6e46d08e71d94a3cc00f8e9b43b1a1}
\hypertarget{i__music_8cpp_ae5f3f5f7a56acc02c904e38b0645084e}{
\index{i\_\-music.cpp@{i\_\-music.cpp}!I\_\-ResumeSong@{I\_\-ResumeSong}}
\index{I\_\-ResumeSong@{I\_\-ResumeSong}!i_music.cpp@{i\_\-music.cpp}}
\subsubsection[{I\_\-ResumeSong}]{\setlength{\rightskip}{0pt plus 5cm}void I\_\-ResumeSong (
\begin{DoxyParamCaption}
\item[{int}]{handle}
\end{DoxyParamCaption}
)}}
\label{d8/de5/i__music_8cpp_ae5f3f5f7a56acc02c904e38b0645084e}
\hypertarget{i__music_8cpp_a6a4108f5a869b857a566c9d5e1c1e803}{
\index{i\_\-music.cpp@{i\_\-music.cpp}!I\_\-SetMusicVolume@{I\_\-SetMusicVolume}}
\index{I\_\-SetMusicVolume@{I\_\-SetMusicVolume}!i_music.cpp@{i\_\-music.cpp}}
\subsubsection[{I\_\-SetMusicVolume}]{\setlength{\rightskip}{0pt plus 5cm}void I\_\-SetMusicVolume (
\begin{DoxyParamCaption}
\item[{float}]{volume}
\end{DoxyParamCaption}
)}}
\label{d8/de5/i__music_8cpp_a6a4108f5a869b857a566c9d5e1c1e803}
\hypertarget{i__music_8cpp_a09b1512340bee802952d8f95bd71323b}{
\index{i\_\-music.cpp@{i\_\-music.cpp}!I\_\-ShutdownMusic@{I\_\-ShutdownMusic}}
\index{I\_\-ShutdownMusic@{I\_\-ShutdownMusic}!i_music.cpp@{i\_\-music.cpp}}
\subsubsection[{I\_\-ShutdownMusic}]{\setlength{\rightskip}{0pt plus 5cm}void STACK\_\-ARGS I\_\-ShutdownMusic (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{d8/de5/i__music_8cpp_a09b1512340bee802952d8f95bd71323b}
\hypertarget{i__music_8cpp_a9c401f5404b6cfbfd928ed9bc5d52713}{
\index{i\_\-music.cpp@{i\_\-music.cpp}!I\_\-StopSong@{I\_\-StopSong}}
\index{I\_\-StopSong@{I\_\-StopSong}!i_music.cpp@{i\_\-music.cpp}}
\subsubsection[{I\_\-StopSong}]{\setlength{\rightskip}{0pt plus 5cm}void I\_\-StopSong (
\begin{DoxyParamCaption}
\item[{int}]{handle}
\end{DoxyParamCaption}
)}}
\label{d8/de5/i__music_8cpp_a9c401f5404b6cfbfd928ed9bc5d52713}
\hypertarget{i__music_8cpp_a1dd2c66ef7afd5538c980f904c4b4801}{
\index{i\_\-music.cpp@{i\_\-music.cpp}!I\_\-UnRegisterSong@{I\_\-UnRegisterSong}}
\index{I\_\-UnRegisterSong@{I\_\-UnRegisterSong}!i_music.cpp@{i\_\-music.cpp}}
\subsubsection[{I\_\-UnRegisterSong}]{\setlength{\rightskip}{0pt plus 5cm}void I\_\-UnRegisterSong (
\begin{DoxyParamCaption}
\item[{int}]{handle}
\end{DoxyParamCaption}
)}}
\label{d8/de5/i__music_8cpp_a1dd2c66ef7afd5538c980f904c4b4801}


\subsection{Variable Documentation}
\hypertarget{i__music_8cpp_a079685c88df9ed0dc01d3da77e0a9994}{
\index{i\_\-music.cpp@{i\_\-music.cpp}!curpause@{curpause}}
\index{curpause@{curpause}!i_music.cpp@{i\_\-music.cpp}}
\subsubsection[{curpause}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf curpause} = 0}}
\label{d8/de5/i__music_8cpp_a079685c88df9ed0dc01d3da77e0a9994}
\hypertarget{i__music_8cpp_a7f87cabe7520a70ab78d23e0de80d137}{
\index{i\_\-music.cpp@{i\_\-music.cpp}!current\_\-track@{current\_\-track}}
\index{current\_\-track@{current\_\-track}!i_music.cpp@{i\_\-music.cpp}}
\subsubsection[{current\_\-track}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf current\_\-track}}}
\label{d8/de5/i__music_8cpp_a7f87cabe7520a70ab78d23e0de80d137}
\hypertarget{i__music_8cpp_a3dc7ab0d8501744f228220230cda4afa}{
\index{i\_\-music.cpp@{i\_\-music.cpp}!output@{output}}
\index{output@{output}!i_music.cpp@{i\_\-music.cpp}}
\subsubsection[{output}]{\setlength{\rightskip}{0pt plus 5cm}AUNode {\bf output}}}
\label{d8/de5/i__music_8cpp_a3dc7ab0d8501744f228220230cda4afa}
\hypertarget{i__music_8cpp_af31a11d1c304b975e32392552fbc0816}{
\index{i\_\-music.cpp@{i\_\-music.cpp}!registered\_\-tracks@{registered\_\-tracks}}
\index{registered\_\-tracks@{registered\_\-tracks}!i_music.cpp@{i\_\-music.cpp}}
\subsubsection[{registered\_\-tracks}]{\setlength{\rightskip}{0pt plus 5cm}{\bf MusicHandler\_\-t} {\bf registered\_\-tracks}\mbox{[}MUSIC\_\-TRACKS\mbox{]}}}
\label{d8/de5/i__music_8cpp_af31a11d1c304b975e32392552fbc0816}
