ESSImport: add some missing subrecords

openmw-35
scrawl 10 years ago
parent b0c2aec374
commit bf90b86f73

@ -60,6 +60,10 @@ namespace ESSImport
if (esm.isNextSub("PWPS")) if (esm.isNextSub("PWPS"))
esm.skipHSub(); esm.skipHSub();
// unsure at which point between LSTN and CHRD
if (esm.isNextSub("APUD"))
esm.skipHSub(); // 40 bytes, starts with string "ancestor guardian"...
if (esm.isNextSub("WNAM")) if (esm.isNextSub("WNAM"))
{ {
esm.skipHSub(); // seen values: "ancestor guardian", "bound dagger_en". Summoned creature / bound weapons? esm.skipHSub(); // seen values: "ancestor guardian", "bound dagger_en". Summoned creature / bound weapons?

@ -63,8 +63,11 @@ namespace ESSImport
mFactions.push_back(fnam); mFactions.push_back(fnam);
} }
if (esm.isNextSub("AADT"))
esm.skipHSub(); // 44 bytes, no clue
if (esm.isNextSub("KNAM")) if (esm.isNextSub("KNAM"))
esm.skipHSub(); esm.skipHSub(); // assigned Quick Keys, I think
if (esm.isNextSub("WERE")) if (esm.isNextSub("WERE"))
{ {
@ -73,6 +76,10 @@ namespace ESSImport
esm.getSubHeader(); esm.getSubHeader();
esm.skip(152); esm.skip(152);
} }
// unsure if before or after WERE
if (esm.isNextSub("ANIS"))
esm.skipHSub();
} }
} }

Loading…
Cancel
Save