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

Audio.cpp File Reference

#include "Audio.h"
#include "State.h"
#include "common.h"
#include "SDL_mixer.h"
#include <string>
#include <map>
#include <fstream>

Defines

#define SELF   (*m_poPriv)
#define CHECKOK   if ( ! m_poPriv->m_bAudioOk ) return;

Typedefs

typedef std::map< std::string,
Mix_Chunk * > 
CSampleMap
typedef std::map< std::string,
Mix_Music * > 
CMusicMap
typedef CSampleMap::iterator CSampleMapIterator
typedef CMusicMap::iterator CMusicMapIterator

Variables

COpenMortalAudioAudio = NULL

Define Documentation

#define CHECKOK   if ( ! m_poPriv->m_bAudioOk ) return;
 

#define SELF   (*m_poPriv)
 


Typedef Documentation

typedef std::map<std::string,Mix_Music*> CMusicMap
 

typedef CMusicMap::iterator CMusicMapIterator
 

typedef std::map<std::string,Mix_Chunk*> CSampleMap
 

typedef CSampleMap::iterator CSampleMapIterator
 


Variable Documentation

COpenMortalAudio* Audio = NULL