1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-03 12:15:33 +00:00
openmw-tes3mp/components/esm/loadsoun.hpp

28 lines
393 B
C++
Raw Normal View History

2010-02-18 13:58:50 +00:00
#ifndef _ESM_SOUN_H
#define _ESM_SOUN_H
#include "record.hpp"
2010-02-18 13:58:50 +00:00
#include "esm_reader.hpp"
#include "esm_writer.hpp"
2010-02-18 13:58:50 +00:00
namespace ESM
{
2010-02-19 13:23:22 +00:00
2010-02-18 13:58:50 +00:00
struct SOUNstruct
{
unsigned char volume, minRange, maxRange;
2010-02-18 13:58:50 +00:00
};
struct Sound : public Record
2010-02-18 13:58:50 +00:00
{
SOUNstruct data;
std::string sound;
2010-02-18 13:58:50 +00:00
void load(ESMReader &esm);
void save(ESMWriter &esm);
int getName() { return REC_SOUN; }
2010-02-18 13:58:50 +00:00
};
2010-02-19 13:23:22 +00:00
}
2010-02-18 13:58:50 +00:00
#endif