2012-03-17 09:45:18 +00:00
|
|
|
#ifndef GAME_SOUND_SOUND_H
|
|
|
|
#define GAME_SOUND_SOUND_H
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2012-03-17 16:51:03 +00:00
|
|
|
#include "../mwworld/ptr.hpp"
|
|
|
|
|
2012-03-17 09:45:18 +00:00
|
|
|
namespace MWSound
|
|
|
|
{
|
|
|
|
class Sound
|
|
|
|
{
|
|
|
|
virtual void Stop() = 0;
|
|
|
|
virtual bool isPlaying() = 0;
|
2012-03-18 06:41:45 +00:00
|
|
|
virtual void Update(const float *pos) = 0;
|
2012-03-17 09:45:18 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
virtual ~Sound() { }
|
|
|
|
|
|
|
|
friend class OpenAL_Output;
|
|
|
|
friend class SoundManager;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|