mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 05:31:00 +00:00
- fixing last commit, which didn't seem to work correctly
This commit is contained in:
parent
7f7c720883
commit
254501d3e8
4 changed files with 157 additions and 0 deletions
|
@ -502,6 +502,8 @@ xx(Roll)
|
||||||
xx(Scale)
|
xx(Scale)
|
||||||
xx(ScaleX)
|
xx(ScaleX)
|
||||||
xx(ScaleY)
|
xx(ScaleY)
|
||||||
|
xx(SpotInnerAngle)
|
||||||
|
xx(SpotOuterAngle)
|
||||||
xx(Floatbobphase)
|
xx(Floatbobphase)
|
||||||
xx(Floatbobstrength)
|
xx(Floatbobstrength)
|
||||||
xx(Target)
|
xx(Target)
|
||||||
|
|
|
@ -799,6 +799,14 @@ public:
|
||||||
th->Scale.X = th->Scale.Y = CheckFloat(key);
|
th->Scale.X = th->Scale.Y = CheckFloat(key);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case NAME_SpotInnerAngle:
|
||||||
|
th->SpotInnerAngle = CheckFloat(key);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case NAME_SpotOuterAngle:
|
||||||
|
th->SpotOuterAngle = CheckFloat(key);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
CHECK_N(Zd | Zdt)
|
CHECK_N(Zd | Zdt)
|
||||||
if (0 == strnicmp("user_", key.GetChars(), 5))
|
if (0 == strnicmp("user_", key.GetChars(), 5))
|
||||||
|
|
|
@ -114,6 +114,27 @@ DoomEdNums
|
||||||
9842 = SpotLightFlicker
|
9842 = SpotLightFlicker
|
||||||
9843 = SectorSpotLight
|
9843 = SectorSpotLight
|
||||||
9844 = SpotLightFlickerRandom
|
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
|
9982 = SecActEyesAboveC
|
||||||
9983 = SecActEyesBelowC
|
9983 = SecActEyesBelowC
|
||||||
9988 = CustomSprite
|
9988 = CustomSprite
|
||||||
|
|
|
@ -245,6 +245,132 @@ class SpotLightFlickerRandom : SpotLight
|
||||||
DynamicLight.Type "RandomFlicker";
|
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
|
class VavoomLight : DynamicLight
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue