|
|
@ -6,6 +6,11 @@
|
|
|
|
entire engine depends on these headers.
|
|
|
|
entire engine depends on these headers.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
namespace ESM
|
|
|
|
namespace ESM
|
|
|
|
{
|
|
|
|
{
|
|
|
|
void NPC::load(ESMReader &esm, const std::string& id)
|
|
|
|
void NPC::load(ESMReader &esm, const std::string& id)
|
|
|
@ -154,4 +159,17 @@ namespace ESM
|
|
|
|
// Skip rest of record
|
|
|
|
// Skip rest of record
|
|
|
|
esm.skipRecord();
|
|
|
|
esm.skipRecord();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void Sound::load(ESMReader &esm)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
sound = esm.getHNString("FNAM");
|
|
|
|
|
|
|
|
esm.getHNT(data, "DATA", 3);
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
cout << "vol=" << (int)data.volume
|
|
|
|
|
|
|
|
<< " min=" << (int)data.minRange
|
|
|
|
|
|
|
|
<< " max=" << (int)data.maxRange
|
|
|
|
|
|
|
|
<< endl;
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|