mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
26 lines
335 B
C++
26 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
|