|
|
@ -31,8 +31,6 @@
|
|
|
|
//#include <iostream> // FIXME: for debugging only
|
|
|
|
//#include <iostream> // FIXME: for debugging only
|
|
|
|
//#include <iomanip> // FIXME: for debugging only
|
|
|
|
//#include <iomanip> // FIXME: for debugging only
|
|
|
|
|
|
|
|
|
|
|
|
//#include <boost/scoped_array.hpp> // FIXME
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//#include "formid.hpp" // FIXME:
|
|
|
|
//#include "formid.hpp" // FIXME:
|
|
|
|
|
|
|
|
|
|
|
|
#include "reader.hpp"
|
|
|
|
#include "reader.hpp"
|
|
|
@ -131,8 +129,8 @@ void ESM4::MediaLocationController::load(ESM4::Reader& reader)
|
|
|
|
case ESM4::SUB_FNAM: // always 0? 4 bytes
|
|
|
|
case ESM4::SUB_FNAM: // always 0? 4 bytes
|
|
|
|
{
|
|
|
|
{
|
|
|
|
#if 0
|
|
|
|
#if 0
|
|
|
|
boost::scoped_array<unsigned char> mDataBuf(new unsigned char[subHdr.dataSize]);
|
|
|
|
std::vector<unsigned char> mDataBuf(subHdr.dataSize);
|
|
|
|
reader.get(mDataBuf.get(), subHdr.dataSize);
|
|
|
|
reader.get(mDataBuf.data(), subHdr.dataSize);
|
|
|
|
|
|
|
|
|
|
|
|
std::ostringstream ss;
|
|
|
|
std::ostringstream ss;
|
|
|
|
ss << mEditorId << " " << ESM::printName(subHdr.typeId) << ":size " << subHdr.dataSize << "\n";
|
|
|
|
ss << mEditorId << " " << ESM::printName(subHdr.typeId) << ":size " << subHdr.dataSize << "\n";
|
|
|
|