OpenMortal Apocalypse mirror
Sourceforge mirror
SourceForge.net Logo
      News | Info | Characters | Arenas | Screenshots | Forums | Download  
Developer: Making of | Character-HOWTO | AI Design | Submit a Character
Documentation: Main Page | Modules | Class Hierarchy | Class List | File List

COpenMortalAudio Class Reference
[Sound and graphics]

Audio services for OpenMortal (sound and music). More...

#include <Audio.h>

List of all members.

Public Member Functions

 COpenMortalAudio ()
 ~COpenMortalAudio ()
void LoadSampleMap ()
void LoadSample (const char *a_pcFilename, const char *a_pcSampleName=NULL)
void UnloadSample (const char *a_pcSampleName)
void PlaySample (const char *a_pcSampleName)
void PlayFile (const char *a_pcFilename)
void LoadMusic (const char *a_pcFilename, const char *a_pcMusicName=NULL)
void UnloadMusic (const char *a_pcMusicName)
void PlayMusic (const char *a_pcMusicName)
void FadeMusic (int a_iMilliSec)
void SetMusicVolume (int a_iVolume)
void StopMusic ()
bool IsMusicPlaying ()

Protected Attributes

COpenMortalAudioPrivm_poPriv


Detailed Description

Audio services for OpenMortal (sound and music).

This class is a wrapper around SDL_Mixer


Constructor & Destructor Documentation

COpenMortalAudio::COpenMortalAudio  ) 
 

COpenMortalAudio::~COpenMortalAudio  ) 
 


Member Function Documentation

void COpenMortalAudio::FadeMusic int  a_iMilliSec  ) 
 

bool COpenMortalAudio::IsMusicPlaying  ) 
 

void COpenMortalAudio::LoadMusic const char *  a_pcFilename,
const char *  a_pcMusicName = NULL
 

void COpenMortalAudio::LoadSample const char *  a_pcFilename,
const char *  a_pcSampleName = NULL
 

void COpenMortalAudio::LoadSampleMap  ) 
 

void COpenMortalAudio::PlayFile const char *  a_pcFilename  ) 
 

void COpenMortalAudio::PlayMusic const char *  a_pcMusicName  ) 
 

void COpenMortalAudio::PlaySample const char *  a_pcSampleName  ) 
 

void COpenMortalAudio::SetMusicVolume int  a_iVolume  ) 
 

void COpenMortalAudio::StopMusic  ) 
 

void COpenMortalAudio::UnloadMusic const char *  a_pcMusicName  ) 
 

void COpenMortalAudio::UnloadSample const char *  a_pcSampleName  ) 
 


Member Data Documentation

COpenMortalAudioPriv* COpenMortalAudio::m_poPriv [protected]
 


The documentation for this class was generated from the following files: