Enchanting table fully ready

revert-6246b479
alekulyn 1 year ago
parent ed532b5aca
commit 589726d4f8

@ -643,4 +643,10 @@ namespace Nif
NiFloatInterpController::read(nif);
nif->read(mControlledVariable);
}
void BSEffectShaderPropertyColorController::read(NIFStream* nif)
{
NiPoint3InterpController::read(nif);
nif->read(mControlledColor);
}
}

@ -412,5 +412,12 @@ namespace Nif
void read(NIFStream* nif) override;
};
struct BSEffectShaderPropertyColorController : public NiPoint3InterpController
{
unsigned int mControlledColor;
void read(NIFStream* nif) override;
};
} // Namespace
#endif

@ -200,6 +200,10 @@ namespace Nif
{ "BSTriShape", &construct<BSTriShape, RC_BSTriShape> },
{ "BSEffectShaderPropertyFloatController",
&construct<BSEffectShaderPropertyFloatController, RC_BSEffectShaderPropertyFloatController> },
{ "BSLightingShaderPropertyFloatController",
&construct<BSEffectShaderPropertyFloatController, RC_BSEffectShaderPropertyFloatController> },
{ "BSEffectShaderPropertyColorController",
&construct<BSEffectShaderPropertyColorController, RC_BSEffectShaderPropertyColorController> },
};
}

@ -166,6 +166,7 @@ namespace Nif
RC_BSInvMarker,
RC_BSTriShape,
RC_BSEffectShaderPropertyFloatController,
RC_BSEffectShaderPropertyColorController,
};
/// Base class for all records

Loading…
Cancel
Save