mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-24 08:23:52 +00:00
27 lines
393 B
C++
27 lines
393 B
C++
#ifndef _ESM_SOUN_H
|
|
#define _ESM_SOUN_H
|
|
|
|
#include "record.hpp"
|
|
#include "esm_reader.hpp"
|
|
#include "esm_writer.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
|
|
struct SOUNstruct
|
|
{
|
|
unsigned char volume, minRange, maxRange;
|
|
};
|
|
|
|
struct Sound : public Record
|
|
{
|
|
SOUNstruct data;
|
|
std::string sound;
|
|
|
|
void load(ESMReader &esm);
|
|
void save(ESMWriter &esm);
|
|
|
|
int getName() { return REC_SOUN; }
|
|
};
|
|
}
|
|
#endif
|