mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-30 18:45:38 +00:00
Load FO4 acoustic space records
This commit is contained in:
parent
5bce6d8d44
commit
d74df61ce5
1 changed files with 9 additions and 3 deletions
|
@ -56,10 +56,16 @@ void ESM4::AcousticSpace::load(ESM4::Reader& reader)
|
||||||
case ESM4::SUB_INAM:
|
case ESM4::SUB_INAM:
|
||||||
reader.get(mIsInterior);
|
reader.get(mIsInterior);
|
||||||
break;
|
break;
|
||||||
case ESM4::SUB_WNAM: // usually 0 for FONV (maybe # of close Actors for Walla to trigger)
|
case ESM4::SUB_XTRI:
|
||||||
|
std::uint8_t isInterior;
|
||||||
|
reader.get(isInterior);
|
||||||
|
mIsInterior = isInterior;
|
||||||
|
break;
|
||||||
|
case ESM4::SUB_WNAM:
|
||||||
{
|
{
|
||||||
std::uint32_t dummy;
|
// usually 0 for FONV (maybe # of close Actors for Walla to trigger) (4 bytes)
|
||||||
reader.get(dummy);
|
// Weather attenuation in FO4 (2 bytes)
|
||||||
|
reader.skipSubRecordData();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case ESM4::SUB_BNAM: // TES5 reverb formid
|
case ESM4::SUB_BNAM: // TES5 reverb formid
|
||||||
|
|
Loading…
Reference in a new issue