You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
543 B
C++
27 lines
543 B
C++
9 years ago
|
#ifndef GAME_SOUND_SOUND_BUFFER_H
|
||
|
#define GAME_SOUND_SOUND_BUFFER_H
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
#include "soundmanagerimp.hpp"
|
||
|
|
||
|
#include "../mwworld/ptr.hpp"
|
||
|
|
||
|
namespace MWSound
|
||
|
{
|
||
|
class Sound_Buffer
|
||
|
{
|
||
|
public:
|
||
|
std::string mResourceName;
|
||
|
|
||
|
float mVolume;
|
||
|
float mMinDist, mMaxDist;
|
||
|
|
||
|
Sound_Buffer(std::string resname, float volume, float mindist, float maxdist)
|
||
|
: mResourceName(resname), mVolume(volume), mMinDist(mindist), mMaxDist(maxdist)
|
||
|
{ }
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif /* GAME_SOUND_SOUND_BUFFER_H */
|