1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 09:23:54 +00:00

Remove some unnecessary methods

This commit is contained in:
Chris Robinson 2012-03-17 09:27:31 -07:00
parent e49a090af7
commit cac07d0fbf
4 changed files with 2 additions and 13 deletions

View file

@ -92,7 +92,7 @@ public:
OpenAL_SoundStream(std::auto_ptr<Sound_Decoder> decoder);
virtual ~OpenAL_SoundStream();
virtual void Play();
void Play();
virtual void Stop();
virtual bool isPlaying();
};
@ -106,7 +106,6 @@ public:
OpenAL_Sound(ALuint src, ALuint buf);
virtual ~OpenAL_Sound();
virtual void Play();
virtual void Stop();
virtual bool isPlaying();
};
@ -242,10 +241,6 @@ OpenAL_Sound::~OpenAL_Sound()
alGetError();
}
void OpenAL_Sound::Play()
{
}
void OpenAL_Sound::Stop()
{
alSourceStop(Source);

View file

@ -7,7 +7,6 @@ namespace MWSound
{
class Sound
{
virtual void Play() = 0;
virtual void Stop() = 0;
virtual bool isPlaying() = 0;

View file

@ -186,10 +186,6 @@ namespace MWSound
}
}
void SoundManager::updatePositions(MWWorld::Ptr ptr)
{
}
void SoundManager::stopMusic()
{
if(mMusic)
@ -365,7 +361,7 @@ namespace MWSound
void SoundManager::updateObject(MWWorld::Ptr ptr)
{
updatePositions(ptr);
// FIXME: Update tracked sounds that are using this ptr
}
void SoundManager::updateRegionSound(float duration)

View file

@ -67,7 +67,6 @@ namespace MWSound
void remove(MWWorld::Ptr ptr, const std::string &id = "");
bool isPlaying(MWWorld::Ptr ptr, const std::string &id) const;
void removeCell(const MWWorld::Ptr::CellStore *cell);
void updatePositions(MWWorld::Ptr ptr);
void updateRegionSound(float duration);
public: