ESM4: Acknowledge all model data records

macos_ci_fix
Alexei Kotov 1 year ago
parent d9ebdc6e41
commit 60813345ae

@ -71,8 +71,10 @@ void ESM4::Activator::load(ESM4::Reader& reader)
case ESM4::SUB_XATO:
reader.getZString(mActivationPrompt);
break; // FONV
case ESM4::SUB_MODT:
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_DAMC: // Destructible
case ESM4::SUB_DEST:
case ESM4::SUB_DMDC:

@ -88,13 +88,15 @@ void ESM4::Potion::load(ESM4::Reader& reader)
case ESM4::SUB_ZNAM:
reader.getFormId(mDropSound);
break;
case ESM4::SUB_MODT:
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_EFID:
case ESM4::SUB_EFIT:
case ESM4::SUB_CTDA:
case ESM4::SUB_KSIZ:
case ESM4::SUB_KWDA:
case ESM4::SUB_MODS:
case ESM4::SUB_OBND:
case ESM4::SUB_ETYP: // FO3
case ESM4::SUB_DESC:

@ -133,7 +133,10 @@ void ESM4::Ammunition::load(ESM4::Reader& reader)
case ESM4::SUB_SCRI:
reader.getFormId(mScript);
break;
case ESM4::SUB_MODT:
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_OBND:
case ESM4::SUB_KSIZ:
case ESM4::SUB_KWDA:

@ -56,8 +56,10 @@ void ESM4::AnimObject::load(ESM4::Reader& reader)
case ESM4::SUB_MODB:
reader.get(mBoundRadius);
break;
case ESM4::SUB_MODT: // TES5 only
case ESM4::SUB_MODS: // TES5 only
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
reader.skipSubRecordData();
break;
default:

@ -90,8 +90,10 @@ void ESM4::BodyPartData::load(ESM4::Reader& reader)
break;
case ESM4::SUB_NAM5:
case ESM4::SUB_RAGA: // ragdoll
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODT:
case ESM4::SUB_MODF: // Model data end
reader.skipSubRecordData();
break;
default:

@ -74,8 +74,10 @@ void ESM4::Container::load(ESM4::Reader& reader)
case ESM4::SUB_MODB:
reader.get(mBoundRadius);
break;
case ESM4::SUB_MODT:
case ESM4::SUB_MODS: // TES5 only
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_VMAD: // TES5 only
case ESM4::SUB_OBND: // TES5 only
case ESM4::SUB_COCT: // TES5 only

@ -71,8 +71,10 @@ void ESM4::Door::load(ESM4::Reader& reader)
case ESM4::SUB_MODB:
reader.get(mBoundRadius);
break;
case ESM4::SUB_MODT:
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_OBND:
case ESM4::SUB_VMAD:
case ESM4::SUB_DAMC: // Destructible

@ -65,8 +65,10 @@ void ESM4::Flora::load(ESM4::Reader& reader)
case ESM4::SUB_MODB:
reader.get(mBoundRadius);
break;
case ESM4::SUB_MODT:
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_FNAM:
case ESM4::SUB_OBND:
case ESM4::SUB_PNAM:

@ -59,7 +59,10 @@ void ESM4::Furniture::load(ESM4::Reader& reader)
case ESM4::SUB_MODB:
reader.get(mBoundRadius);
break;
case ESM4::SUB_MODT:
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_DAMC: // Destructible
case ESM4::SUB_DEST:
case ESM4::SUB_DMDC:
@ -76,7 +79,6 @@ void ESM4::Furniture::load(ESM4::Reader& reader)
case ESM4::SUB_KNAM:
case ESM4::SUB_KSIZ:
case ESM4::SUB_KWDA:
case ESM4::SUB_MODS:
case ESM4::SUB_NAM0:
case ESM4::SUB_OBND:
case ESM4::SUB_PNAM:

@ -53,7 +53,10 @@ void ESM4::Grass::load(ESM4::Reader& reader)
case ESM4::SUB_MODB:
reader.get(mBoundRadius);
break;
case ESM4::SUB_MODT:
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_OBND:
reader.skipSubRecordData();
break;

@ -88,8 +88,10 @@ void ESM4::HeadPart::load(ESM4::Reader& reader)
reader.getFormId(mBaseTexture);
break;
case ESM4::SUB_PNAM:
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODT:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_RNAM:
case ESM4::SUB_CNAM:
case ESM4::SUB_CTDA:

@ -79,8 +79,10 @@ void ESM4::IdleMarker::load(ESM4::Reader& reader)
reader.getZString(mModel);
break;
case ESM4::SUB_OBND: // object bounds
case ESM4::SUB_MODT:
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
reader.skipSubRecordData();
break;
default:

@ -95,8 +95,10 @@ void ESM4::Ingredient::load(ESM4::Reader& reader)
reader.adjustFormId(mEffect.formId);
break;
}
case ESM4::SUB_MODT:
case ESM4::SUB_MODS: // Dragonborn only?
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_EFID:
case ESM4::SUB_EFIT:
case ESM4::SUB_OBND:

@ -71,7 +71,10 @@ void ESM4::Key::load(ESM4::Reader& reader)
case ESM4::SUB_ZNAM:
reader.getFormId(mDropSound);
break;
case ESM4::SUB_MODT:
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_KSIZ:
case ESM4::SUB_KWDA:
case ESM4::SUB_OBND:

@ -99,7 +99,10 @@ void ESM4::Light::load(ESM4::Reader& reader)
case ESM4::SUB_FNAM:
reader.get(mFade);
break;
case ESM4::SUB_MODT:
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_OBND:
case ESM4::SUB_VMAD: // Dragonborn only?
case ESM4::SUB_DAMC: // Destructible

@ -91,7 +91,10 @@ void ESM4::LevelledNpc::load(ESM4::Reader& reader)
}
case ESM4::SUB_COED: // owner
case ESM4::SUB_OBND: // object bounds
case ESM4::SUB_MODT: // model texture data
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
reader.skipSubRecordData();
break;
default:

@ -49,6 +49,10 @@ void ESM4::Material::load(ESM4::Reader& reader)
break;
case ESM4::SUB_DNAM:
case ESM4::SUB_DATA:
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
reader.skipSubRecordData();
break;
default:

@ -71,10 +71,12 @@ void ESM4::MiscItem::load(ESM4::Reader& reader)
case ESM4::SUB_ZNAM:
reader.getFormId(mDropSound);
break;
case ESM4::SUB_MODT:
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_KSIZ:
case ESM4::SUB_KWDA:
case ESM4::SUB_MODS:
case ESM4::SUB_OBND:
case ESM4::SUB_VMAD:
case ESM4::SUB_RNAM: // FONV

@ -63,8 +63,10 @@ void ESM4::MovableStatic::load(ESM4::Reader& reader)
case ESM4::SUB_DSTD:
case ESM4::SUB_DSTF: // Destructible end
case ESM4::SUB_OBND: // object bounds
case ESM4::SUB_MODT: // model texture data
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_FULL:
case ESM4::SUB_MODB:
case ESM4::SUB_PRPS:

@ -55,6 +55,10 @@ void ESM4::Note::load(ESM4::Reader& reader)
break;
case ESM4::SUB_DATA:
case ESM4::SUB_MODB:
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_ONAM:
case ESM4::SUB_SNAM:
case ESM4::SUB_TNAM:

@ -705,11 +705,14 @@ void ESM4::Race::load(ESM4::Reader& reader)
case ESM4::SUB_CTDA:
case ESM4::SUB_CIS1:
case ESM4::SUB_CIS2:
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
//
case ESM4::SUB_YNAM: // FO3
case ESM4::SUB_NAM2: // FO3
case ESM4::SUB_VTCK: // FO3
case ESM4::SUB_MODT: // FO3
case ESM4::SUB_MODD: // FO3
case ESM4::SUB_ONAM: // FO3
case ESM4::SUB_APPR: // FO4

@ -47,8 +47,11 @@ void ESM4::StaticCollection::load(ESM4::Reader& reader)
reader.getZString(mEditorId);
break;
case ESM4::SUB_OBND:
case ESM4::SUB_MODL:
case ESM4::SUB_MODL: // Model data start
case ESM4::SUB_MODT:
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_ONAM:
case ESM4::SUB_DATA:
case ESM4::SUB_PTRN: // FO4

@ -84,7 +84,9 @@ void ESM4::Static::load(ESM4::Reader& reader)
}
break;
}
case ESM4::SUB_MODC: // More model data
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_OBND:
case ESM4::SUB_DNAM:
case ESM4::SUB_BRUS: // FONV

@ -73,10 +73,12 @@ void ESM4::TalkingActivator::load(ESM4::Reader& reader)
case ESM4::SUB_DSTF: // Destructible end
case ESM4::SUB_FNAM:
case ESM4::SUB_PNAM:
case ESM4::SUB_MODT: // texture file hash?
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_OBND:
case ESM4::SUB_VMAD:
case ESM4::SUB_MODS:
reader.skipSubRecordData();
break;
default:

@ -70,7 +70,10 @@ void ESM4::Terminal::load(ESM4::Reader& reader)
case ESM4::SUB_CTDA:
case ESM4::SUB_INAM:
case ESM4::SUB_ITXT: // Menu Item
case ESM4::SUB_MODT: // texture hash?
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_SCDA:
case ESM4::SUB_SCHR:
case ESM4::SUB_SCRO:
@ -80,7 +83,6 @@ void ESM4::Terminal::load(ESM4::Reader& reader)
case ESM4::SUB_SLSD:
case ESM4::SUB_TNAM:
case ESM4::SUB_OBND:
case ESM4::SUB_MODS: // FONV
case ESM4::SUB_PRPS: // FO4
case ESM4::SUB_PTRN: // FO4
reader.skipSubRecordData();

@ -53,7 +53,10 @@ void ESM4::Tree::load(ESM4::Reader& reader)
case ESM4::SUB_MODB:
reader.get(mBoundRadius);
break;
case ESM4::SUB_MODT:
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_CNAM:
case ESM4::SUB_BNAM:
case ESM4::SUB_SNAM:

@ -109,7 +109,10 @@ void ESM4::Weapon::load(ESM4::Reader& reader)
case ESM4::SUB_ZNAM:
reader.getFormId(mDropSound);
break;
case ESM4::SUB_MODT:
case ESM4::SUB_MODT: // Model data
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_BAMT:
case ESM4::SUB_BIDS:
case ESM4::SUB_INAM:
@ -132,7 +135,6 @@ void ESM4::Weapon::load(ESM4::Reader& reader)
case ESM4::SUB_WNAM:
case ESM4::SUB_XNAM: // Dawnguard only?
case ESM4::SUB_NNAM:
case ESM4::SUB_MODS:
case ESM4::SUB_NAM0: // FO3
case ESM4::SUB_REPL: // FO3
case ESM4::SUB_MOD2: // FO3

@ -164,13 +164,16 @@ void ESM4::World::load(ESM4::Reader& reader)
case ESM4::SUB_XLCN:
case ESM4::SUB_NAM3:
case ESM4::SUB_NAM4:
case ESM4::SUB_MODL:
case ESM4::SUB_NAMA:
case ESM4::SUB_ONAM:
case ESM4::SUB_TNAM:
case ESM4::SUB_UNAM:
case ESM4::SUB_XWEM:
case ESM4::SUB_MODT: // from Dragonborn onwards?
case ESM4::SUB_MODL: // Model data start
case ESM4::SUB_MODT:
case ESM4::SUB_MODC:
case ESM4::SUB_MODS:
case ESM4::SUB_MODF: // Model data end
case ESM4::SUB_INAM: // FO3
case ESM4::SUB_NNAM: // FO3
case ESM4::SUB_XNAM: // FO3

Loading…
Cancel
Save