1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-04 21:40:03 +00:00
OpenMW/components/esm/loadsoun.hpp

28 lines
393 B
C++
Raw Normal View History

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