|
|
@ -3,7 +3,7 @@
|
|
|
|
namespace ESSImport
|
|
|
|
namespace ESSImport
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
void convertPCDT(const PCDT& pcdt, ESM::Player& out, std::vector<std::string>& outDialogueTopics)
|
|
|
|
void convertPCDT(const PCDT& pcdt, ESM::Player& out, std::vector<std::string>& outDialogueTopics, bool& firstPersonCam)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
out.mBirthsign = pcdt.mBirthsign;
|
|
|
|
out.mBirthsign = pcdt.mBirthsign;
|
|
|
|
out.mObject.mNpcStats.mBounty = pcdt.mBounty;
|
|
|
|
out.mObject.mNpcStats.mBounty = pcdt.mBounty;
|
|
|
@ -24,6 +24,8 @@ namespace ESSImport
|
|
|
|
if (pcdt.mPNAM.mDrawState & PCDT::DrawState_Spell)
|
|
|
|
if (pcdt.mPNAM.mDrawState & PCDT::DrawState_Spell)
|
|
|
|
out.mObject.mCreatureStats.mDrawState = 2;
|
|
|
|
out.mObject.mCreatureStats.mDrawState = 2;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
firstPersonCam = (pcdt.mPNAM.mCameraState == PCDT::CameraState_FirstPerson);
|
|
|
|
|
|
|
|
|
|
|
|
for (std::vector<std::string>::const_iterator it = pcdt.mKnownDialogueTopics.begin();
|
|
|
|
for (std::vector<std::string>::const_iterator it = pcdt.mKnownDialogueTopics.begin();
|
|
|
|
it != pcdt.mKnownDialogueTopics.end(); ++it)
|
|
|
|
it != pcdt.mKnownDialogueTopics.end(); ++it)
|
|
|
|
{
|
|
|
|
{
|
|
|
|