|
|
|
@ -464,12 +464,17 @@ void Record<ESM::Book>::print()
|
|
|
|
|
std::cout << " IsScroll: " << mData.mData.mIsScroll << std::endl;
|
|
|
|
|
std::cout << " SkillID: " << mData.mData.mSkillID << std::endl;
|
|
|
|
|
std::cout << " Enchantment Points: " << mData.mData.mEnchant << std::endl;
|
|
|
|
|
std::cout << " Text: [skipped]" << std::endl;
|
|
|
|
|
// Skip until multi-line fields is controllable by a command line option.
|
|
|
|
|
// Mildly problematic because there are no parameter to print() currently.
|
|
|
|
|
// std::cout << "-------------------------------------------" << std::endl;
|
|
|
|
|
// std::cout << mData.mText << std::endl;
|
|
|
|
|
// std::cout << "-------------------------------------------" << std::endl;
|
|
|
|
|
if (mPrintPlain)
|
|
|
|
|
{
|
|
|
|
|
std::cout << " Text:" << std::endl;
|
|
|
|
|
std::cout << "START--------------------------------------" << std::endl;
|
|
|
|
|
std::cout << mData.mText << std::endl;
|
|
|
|
|
std::cout << "END----------------------------------------" << std::endl;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
std::cout << " Text: [skipped]" << std::endl;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
template<>
|
|
|
|
@ -755,12 +760,17 @@ void Record<ESM::DialInfo>::print()
|
|
|
|
|
|
|
|
|
|
if (mData.mResultScript != "")
|
|
|
|
|
{
|
|
|
|
|
std::cout << " Result Script: [skipped]" << std::endl;
|
|
|
|
|
// Skip until multi-line fields is controllable by a command line option.
|
|
|
|
|
// Mildly problematic because there are no parameter to print() currently.
|
|
|
|
|
// std::cout << "-------------------------------------------" << std::endl;
|
|
|
|
|
// std::cout << mData.mResultScript << std::endl;
|
|
|
|
|
// std::cout << "-------------------------------------------" << std::endl;
|
|
|
|
|
if (mPrintPlain)
|
|
|
|
|
{
|
|
|
|
|
std::cout << " Result Script:" << std::endl;
|
|
|
|
|
std::cout << "START--------------------------------------" << std::endl;
|
|
|
|
|
std::cout << mData.mResultScript << std::endl;
|
|
|
|
|
std::cout << "END----------------------------------------" << std::endl;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
std::cout << " Result Script: [skipped]" << std::endl;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
std::cout << " Quest Status: " << questStatusLabel(mData.mQuestStatus)
|
|
|
|
@ -1171,12 +1181,18 @@ void Record<ESM::Script>::print()
|
|
|
|
|
std::cout << " Script Data Size: " << mData.mData.mScriptDataSize << std::endl;
|
|
|
|
|
std::cout << " Table Size: " << mData.mData.mStringTableSize << std::endl;
|
|
|
|
|
|
|
|
|
|
std::cout << " Script: [skipped]" << std::endl;
|
|
|
|
|
// Skip until multi-line fields is controllable by a command line option.
|
|
|
|
|
// Mildly problematic because there are no parameter to print() currently.
|
|
|
|
|
// std::cout << "-------------------------------------------" << std::endl;
|
|
|
|
|
// std::cout << s->scriptText << std::endl;
|
|
|
|
|
// std::cout << "-------------------------------------------" << std::endl;
|
|
|
|
|
if (mPrintPlain)
|
|
|
|
|
{
|
|
|
|
|
std::cout << " Script:" << std::endl;
|
|
|
|
|
std::cout << "START--------------------------------------" << std::endl;
|
|
|
|
|
std::cout << mData.mScriptText << std::endl;
|
|
|
|
|
std::cout << "END----------------------------------------" << std::endl;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
std::cout << " Script: [skipped]" << std::endl;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
std::vector<std::string>::iterator vit;
|
|
|
|
|
for (vit = mData.mVarNames.begin(); vit != mData.mVarNames.end(); vit++)
|
|
|
|
|
std::cout << " Variable: " << *vit << std::endl;
|
|
|
|
|