GLDEFS light intensity and A_AttachLight intensity, VKDoom edition
This commit is contained in:
parent
60baa0fdaa
commit
af7c9db9c5
7 changed files with 38 additions and 3 deletions
|
|
@ -81,6 +81,7 @@ FSerializer &Serialize(FSerializer &arc, const char *key, FLightDefaults &value,
|
|||
("spotinner", value.m_spotInnerAngle)
|
||||
("spotouter", value.m_spotOuterAngle)
|
||||
("pitch", value.m_pitch)
|
||||
("lightdefintensity", value.m_LightDefIntensity)
|
||||
.EndObject();
|
||||
}
|
||||
return arc;
|
||||
|
|
@ -127,6 +128,7 @@ void FLightDefaults::ApplyProperties(FDynamicLight * light) const
|
|||
light->m_active = true;
|
||||
light->lighttype = m_type;
|
||||
light->specialf1 = m_Param;
|
||||
light->lightDefIntensity = m_LightDefIntensity;
|
||||
light->pArgs = m_Args;
|
||||
light->pSoftShadowRadius = &SoftShadowRadius;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue