- fixing last commit, which didn't seem to work correctly

This commit is contained in:
Jonathan Russell 2018-01-04 23:09:48 +00:00
parent 7f7c720883
commit 254501d3e8
4 changed files with 157 additions and 0 deletions

View file

@ -502,6 +502,8 @@ xx(Roll)
xx(Scale)
xx(ScaleX)
xx(ScaleY)
xx(SpotInnerAngle)
xx(SpotOuterAngle)
xx(Floatbobphase)
xx(Floatbobstrength)
xx(Target)

View file

@ -799,6 +799,14 @@ public:
th->Scale.X = th->Scale.Y = CheckFloat(key);
break;
case NAME_SpotInnerAngle:
th->SpotInnerAngle = CheckFloat(key);
break;
case NAME_SpotOuterAngle:
th->SpotOuterAngle = CheckFloat(key);
break;
default:
CHECK_N(Zd | Zdt)
if (0 == strnicmp("user_", key.GetChars(), 5))

View file

@ -114,6 +114,27 @@ DoomEdNums
9842 = SpotLightFlicker
9843 = SectorSpotLight
9844 = SpotLightFlickerRandom
<<<<<<< Updated upstream
=======
<<<<<<< HEAD
9850 = SpotLightAdditive
9851 = SpotLightPulseAdditive
9852 = SpotLightFlickerAdditive
9853 = SectorSpotLightAdditive
9854 = SpotLightFlickerRandomSubtractive
9860 = SpotLightSubtractive
9861 = SpotLightPulseSubtractive
9862 = SpotLightFlickerSubtractive
9863 = SectorSpotLightSubtractive
9864 = SpotLightFlickerRandomSubtractive
9870 = SpotLightAttenuated
9871 = SpotLightPulseAttenuated
9872 = SpotLightFlickerAttenuated
9873 = SectorSpotLightAttenuated
9874 = SpotLightFlickerRandomAttenuated
=======
>>>>>>> 7f7c720883e6841ced9c5e66cdae5e6b531872ad
>>>>>>> Stashed changes
9982 = SecActEyesAboveC
9983 = SecActEyesBelowC
9988 = CustomSprite

View file

@ -245,6 +245,132 @@ class SpotLightFlickerRandom : SpotLight
DynamicLight.Type "RandomFlicker";
}
}
<<<<<<< Updated upstream
=======
<<<<<<< HEAD
class SpotLightAdditive : SpotLight
{
Default
{
+DYNAMICLIGHT.ADDITIVE
}
}
class SpotLightPulseAdditive : SpotLightPulse
{
Default
{
+DYNAMICLIGHT.ADDITIVE
}
}
class SpotLightFlickerAdditive : SpotLightFlicker
{
Default
{
+DYNAMICLIGHT.ADDITIVE
}
}
class SectorSpotLightAdditive : SectorSpotLight
{
Default
{
+DYNAMICLIGHT.ADDITIVE
}
}
class SpotLightFlickerRandomAdditive : SpotLightFlickerRandom
{
Default
{
+DYNAMICLIGHT.ADDITIVE
}
}
class SpotLightSubtractive : SpotLight
{
Default
{
+DYNAMICLIGHT.SUBTRACTIVE
}
}
class SpotLightPulseSubtractive : SpotLightPulse
{
Default
{
+DYNAMICLIGHT.SUBTRACTIVE
}
}
class SpotLightFlickerSubtractive : SpotLightFlicker
{
Default
{
+DYNAMICLIGHT.SUBTRACTIVE
}
}
class SectorSpotLightSubtractive : SectorSpotLight
{
Default
{
+DYNAMICLIGHT.SUBTRACTIVE
}
}
class SpotLightFlickerRandomSubtractive : SpotLightFlickerRandom
{
Default
{
+DYNAMICLIGHT.SUBTRACTIVE
}
}
class SpotLightAttenuated : SpotLight
{
Default
{
+DYNAMICLIGHT.ATTENUATE
}
}
class SpotLightPulseAttenuated : SpotLightPulse
{
Default
{
+DYNAMICLIGHT.ATTENUATE
}
}
class SpotLightFlickerAttenuated : SpotLightFlicker
{
Default
{
+DYNAMICLIGHT.ATTENUATE
}
}
class SectorSpotLightAttenuated : SectorSpotLight
{
Default
{
+DYNAMICLIGHT.ATTENUATE
}
}
class SpotLightFlickerRandomAttenuated : SpotLightFlickerRandom
{
Default
{
+DYNAMICLIGHT.ATTENUATE
}
}
=======
>>>>>>> 7f7c720883e6841ced9c5e66cdae5e6b531872ad
>>>>>>> Stashed changes
class VavoomLight : DynamicLight
{