Skip PRPS object property subrecords

macos_ci_fix
Alexei Kotov 1 year ago
parent 84d693324b
commit 22fb744751

@ -657,6 +657,8 @@ namespace ESM4
SUB_WNM7 = fourCC("WNM7"), // FONV
SUB_JNAM = fourCC("JNAM"), // FONV
SUB_EFSD = fourCC("EFSD"), // FONV DeadMoney
SUB_PRPS = fourCC("PRPS"), // FO4
};
// Based on http://www.uesp.net/wiki/Tes5Mod:Mod_File_Format#Records

@ -87,6 +87,7 @@ void ESM4::Activator::load(ESM4::Reader& reader)
case ESM4::SUB_PNAM:
case ESM4::SUB_VMAD:
case ESM4::SUB_WNAM:
case ESM4::SUB_PRPS:
reader.skipSubRecordData();
break;
default:

@ -55,6 +55,7 @@ void ESM4::Class::load(ESM4::Reader& reader)
break;
case ESM4::SUB_DATA:
case ESM4::SUB_ATTR:
case ESM4::SUB_PRPS:
reader.skipSubRecordData();
break;
default:

@ -86,6 +86,7 @@ void ESM4::Container::load(ESM4::Reader& reader)
case ESM4::SUB_DMDL: // FONV
case ESM4::SUB_DMDT: // FONV
case ESM4::SUB_RNAM: // FONV
case ESM4::SUB_PRPS: // FO4
reader.skipSubRecordData();
break;
default:

@ -72,6 +72,7 @@ void ESM4::Flora::load(ESM4::Reader& reader)
case ESM4::SUB_PNAM:
case ESM4::SUB_RNAM:
case ESM4::SUB_VMAD:
case ESM4::SUB_PRPS:
reader.skipSubRecordData();
break;
default:

@ -77,6 +77,7 @@ void ESM4::Furniture::load(ESM4::Reader& reader)
case ESM4::SUB_VMAD:
case ESM4::SUB_WBDT:
case ESM4::SUB_XMRK:
case ESM4::SUB_PRPS:
reader.skipSubRecordData();
break;
default:

@ -108,6 +108,7 @@ void ESM4::Light::load(ESM4::Reader& reader)
case ESM4::SUB_DMDT:
case ESM4::SUB_DMDS:
case ESM4::SUB_DSTF: // Destruction data end
case ESM4::SUB_PRPS:
reader.skipSubRecordData();
break;
default:

@ -63,6 +63,7 @@ void ESM4::MovableStatic::load(ESM4::Reader& reader)
case ESM4::SUB_MODS:
case ESM4::SUB_FULL:
case ESM4::SUB_MODB:
case ESM4::SUB_PRPS:
reader.skipSubRecordData();
break;
default:

@ -295,6 +295,7 @@ void ESM4::Npc::load(ESM4::Reader& reader)
case ESM4::SUB_EAMT: // FO3
case ESM4::SUB_NAM4: // FO3
case ESM4::SUB_COED: // FO3
case ESM4::SUB_PRPS: // FO4
reader.skipSubRecordData();
break;
default:

@ -675,6 +675,7 @@ void ESM4::Race::load(ESM4::Reader& reader)
case ESM4::SUB_MODT: // FO3
case ESM4::SUB_MODD: // FO3
case ESM4::SUB_ONAM: // FO3
case ESM4::SUB_PRPS: // FO4
reader.skipSubRecordData();
break;
default:

@ -86,6 +86,7 @@ void ESM4::Static::load(ESM4::Reader& reader)
case ESM4::SUB_DNAM:
case ESM4::SUB_BRUS: // FONV
case ESM4::SUB_RNAM: // FONV
case ESM4::SUB_PRPS:
reader.skipSubRecordData();
break;
default:

@ -81,6 +81,7 @@ void ESM4::Terminal::load(ESM4::Reader& reader)
case ESM4::SUB_TNAM:
case ESM4::SUB_OBND:
case ESM4::SUB_MODS: // FONV
case ESM4::SUB_PRPS: // FO4
reader.skipSubRecordData();
break;
default:

Loading…
Cancel
Save