forked from mirror/openmw-tes3mp
27 lines
365 B
C++
27 lines
365 B
C++
#ifndef _ESM_SOUN_H
|
|
#define _ESM_SOUN_H
|
|
|
|
#include <string>
|
|
|
|
#include "record.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
|
|
struct SOUNstruct
|
|
{
|
|
unsigned char mVolume, mMinRange, mMaxRange;
|
|
};
|
|
|
|
struct Sound : public Record
|
|
{
|
|
SOUNstruct mData;
|
|
std::string mSound;
|
|
|
|
void load(ESMReader &esm);
|
|
void save(ESMWriter &esm);
|
|
|
|
int getName() { return REC_SOUN; }
|
|
};
|
|
}
|
|
#endif
|