ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <poolsound.h>

Inheritance diagram for Grim::PoolSound:
Collaboration diagram for Grim::PoolSound:

List of all members.

Public Member Functions

 PoolSound ()
 PoolSound (const Common::String &filename)
 ~PoolSound ()
void openFile (const Common::String &filename)
void play (bool looping)
void playFrom (const Math::Vector3d &pos, bool looping)
void setVolume (int volume)
void setBalance (int balance)
void setPosition (Math::Vector3d &pos)
void stop ()
int getVolume ()
bool isPlaying ()
void saveState (SaveGame *state)
void restoreState (SaveGame *state)

Static Public Member Functions

static int32 getStaticTag ()

Private Attributes

Common::String _filename
int _soundId
bool _loaded

Detailed Description

Definition at line 31 of file poolsound.h.

Constructor & Destructor Documentation

Grim::PoolSound::PoolSound (  ) 

Definition at line 31 of file poolsound.cpp.

Grim::PoolSound::PoolSound ( const Common::String filename  ) 

Definition at line 34 of file poolsound.cpp.

Grim::PoolSound::~PoolSound (  ) 

Definition at line 39 of file poolsound.cpp.

Member Function Documentation

static int32 Grim::PoolSound::getStaticTag (  )  [inline, static]

Definition at line 49 of file poolsound.h.

int Grim::PoolSound::getVolume (  ) 

Definition at line 81 of file poolsound.cpp.

bool Grim::PoolSound::isPlaying (  ) 

Definition at line 88 of file poolsound.cpp.

void Grim::PoolSound::openFile ( const Common::String filename  ) 

Definition at line 95 of file poolsound.cpp.

void Grim::PoolSound::play ( bool  looping  ) 

Definition at line 63 of file poolsound.cpp.

void Grim::PoolSound::playFrom ( const Math::Vector3d pos,
bool  looping 

Definition at line 69 of file poolsound.cpp.

void Grim::PoolSound::restoreState ( SaveGame state  ) 

Definition at line 108 of file poolsound.cpp.

void Grim::PoolSound::saveState ( SaveGame state  ) 

Definition at line 103 of file poolsound.cpp.

void Grim::PoolSound::setBalance ( int  balance  ) 

Definition at line 51 of file poolsound.cpp.

void Grim::PoolSound::setPosition ( Math::Vector3d pos  ) 

Definition at line 57 of file poolsound.cpp.

void Grim::PoolSound::setVolume ( int  volume  ) 

Definition at line 45 of file poolsound.cpp.

void Grim::PoolSound::stop (  ) 

Definition at line 75 of file poolsound.cpp.

Member Data Documentation

Definition at line 52 of file poolsound.h.

bool Grim::PoolSound::_loaded [private]

Definition at line 54 of file poolsound.h.

Definition at line 53 of file poolsound.h.

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

Generated on Sat Aug 15 2020 05:06:10 for ResidualVM by doxygen 1.7.1
curved edge   curved edge