1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 19:49:54 +00:00
openmw-tes3mp/components/esm/loadsoun.hpp
2013-09-24 13:17:28 +02:00

31 lines
467 B
C++

#ifndef OPENMW_ESM_SOUN_H
#define OPENMW_ESM_SOUN_H
#include <string>
namespace ESM
{
class ESMReader;
class ESMWriter;
struct SOUNstruct
{
unsigned char mVolume, mMinRange, mMaxRange;
};
struct Sound
{
static unsigned int sRecordId;
SOUNstruct mData;
std::string mId, mSound;
void load(ESMReader &esm);
void save(ESMWriter &esm) const;
void blank();
///< Set record to default state (does not touch the ID/index).
};
}
#endif