2010-02-18 13:58:50 +00:00
|
|
|
#ifndef _ESM_SOUN_H
|
|
|
|
#define _ESM_SOUN_H
|
|
|
|
|
|
|
|
#include "esm_reader.hpp"
|
|
|
|
|
2011-04-08 13:58:21 +00:00
|
|
|
namespace ESM
|
|
|
|
{
|
2010-02-19 13:23:22 +00:00
|
|
|
|
2010-02-18 13:58:50 +00:00
|
|
|
struct SOUNstruct
|
|
|
|
{
|
2011-04-08 13:58:21 +00:00
|
|
|
unsigned char volume, minRange, maxRange;
|
2010-02-18 13:58:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct Sound
|
|
|
|
{
|
2011-04-08 13:58:21 +00:00
|
|
|
SOUNstruct data;
|
|
|
|
std::string sound;
|
2010-02-18 13:58:50 +00:00
|
|
|
|
2011-04-08 13:58:21 +00:00
|
|
|
void load(ESMReader &esm);
|
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
|