Some Windows-help to cmake/FindAudiere.cmake + non-important changes.

This commit is contained in:
Nicolay Korslund 2010-09-10 10:45:16 +02:00
parent 93ef530c93
commit f55362cbdc
3 changed files with 23 additions and 5 deletions

View file

@ -6,6 +6,11 @@
entire engine depends on these headers.
*/
/*
#include <iostream>
using namespace std;
*/
namespace ESM
{
void NPC::load(ESMReader &esm, const std::string& id)
@ -154,4 +159,17 @@ namespace ESM
// Skip rest of record
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;
*/
}
}