From de50f3064567f172cb7ca001d70b43982c2e3115 Mon Sep 17 00:00:00 2001 From: Alexei Dobrohotov Date: Thu, 10 Aug 2023 01:50:16 +0300 Subject: [PATCH] Read a couple of Bethesda-specific controller records BSMaterialEmittanceMultController BSRefractionFirePeriodController BSRefractionStrengthController --- components/nif/niffile.cpp | 6 ++++++ components/nif/record.hpp | 3 +++ 2 files changed, 9 insertions(+) diff --git a/components/nif/niffile.cpp b/components/nif/niffile.cpp index c75d3f059f..2bdb1f7dab 100644 --- a/components/nif/niffile.cpp +++ b/components/nif/niffile.cpp @@ -149,6 +149,12 @@ namespace Nif { "BSBlastNode", &construct }, { "BSDamageStage", &construct }, { "bhkBlendController", &construct }, + { "BSMaterialEmittanceMultController", + &construct }, + { "BSRefractionFirePeriodController", + &construct }, + { "BSRefractionStrengthController", + &construct }, { "NiFloatInterpolator", &construct }, { "NiBoolInterpolator", &construct }, { "NiBoolTimelineInterpolator", &construct }, diff --git a/components/nif/record.hpp b/components/nif/record.hpp index 0650dfebf9..dc4fab8e2e 100644 --- a/components/nif/record.hpp +++ b/components/nif/record.hpp @@ -118,6 +118,9 @@ namespace Nif RC_BSXFlags, RC_BSBound, RC_bhkBlendController, + RC_BSMaterialEmittanceMultController, + RC_BSRefractionFirePeriodController, + RC_BSRefractionStrengthController, RC_NiFloatInterpolator, RC_NiPoint3Interpolator, RC_NiBoolInterpolator,