1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-23 17:23:58 +00:00
openmw/esm/loadsoun.hpp
2010-02-18 14:58:50 +01:00

22 lines
316 B
C++

#ifndef _ESM_SOUN_H
#define _ESM_SOUN_H
#include "esm_reader.hpp"
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