mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 20:49:56 +00:00
25 lines
335 B
C++
25 lines
335 B
C++
#ifndef _ESM_SOUN_H
|
|
#define _ESM_SOUN_H
|
|
|
|
#include "esm_reader.hpp"
|
|
|
|
namespace ESM {
|
|
|
|
struct SOUNstruct
|
|
{
|
|
unsigned char volume, minRange, maxRange;
|
|
};
|
|
|
|
struct Sound
|
|
{
|
|
SOUNstruct data;
|
|
std::string sound;
|
|
|
|
void load(ESMReader &esm)
|
|
{
|
|
sound = esm.getHNString("FNAM");
|
|
esm.getHNT(data, "DATA", 3);
|
|
}
|
|
};
|
|
}
|
|
#endif
|