openmw-tes3coop/components/esm/loadsoun.hpp
2012-09-17 11:37:50 +04:00

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