You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
|