mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-16 17:21:10 +00:00
Add sunlight actor for ZDRay
This commit is contained in:
parent
d35cd9549f
commit
52004f36b4
4 changed files with 15 additions and 2 deletions
|
@ -702,6 +702,10 @@ xx(lightdistancefloor)
|
|||
xx(lightcolorceiling)
|
||||
xx(lightintensityceiling)
|
||||
xx(lightdistanceceiling)
|
||||
xx(suncolor)
|
||||
xx(sundirx)
|
||||
xx(sundiry)
|
||||
xx(sundirz)
|
||||
|
||||
// USDF keywords
|
||||
xx(Amount)
|
||||
|
|
|
@ -758,6 +758,10 @@ public:
|
|||
case NAME_lightdistance:
|
||||
case NAME_lightinnerangle:
|
||||
case NAME_lightouterangle:
|
||||
case NAME_suncolor:
|
||||
case NAME_sundirx:
|
||||
case NAME_sundiry:
|
||||
case NAME_sundirz:
|
||||
CHECK_N(Zd | Zdt)
|
||||
break;
|
||||
|
||||
|
@ -1135,7 +1139,7 @@ public:
|
|||
case NAME_lightintensity:
|
||||
case NAME_lightdistance:
|
||||
CHECK_N(Zd | Zdt)
|
||||
break;
|
||||
break;
|
||||
|
||||
default:
|
||||
if (strnicmp("user_", key.GetChars(), 5))
|
||||
|
@ -1970,7 +1974,7 @@ public:
|
|||
case NAME_lightintensityceiling:
|
||||
case NAME_lightdistanceceiling:
|
||||
CHECK_N(Zd | Zdt)
|
||||
break;
|
||||
break;
|
||||
|
||||
default:
|
||||
if (strnicmp("user_", key.GetChars(), 5))
|
||||
|
|
|
@ -139,6 +139,7 @@ DoomEdNums
|
|||
9875 = LightProbe
|
||||
9876 = PointLightStatic
|
||||
9881 = SpotLightStatic
|
||||
9890 = ZDRaySunlight
|
||||
9982 = SecActEyesAboveC
|
||||
9983 = SecActEyesBelowC
|
||||
9988 = CustomSprite
|
||||
|
|
|
@ -29,3 +29,7 @@ class StaticLightBase : Actor
|
|||
|
||||
class PointLightStatic : StaticLightBase {}
|
||||
class SpotLightStatic : StaticLightBase {}
|
||||
|
||||
// Sunlight Actors to define sunlight properties for the current map
|
||||
|
||||
class ZDRaySunlight : Actor {}
|
||||
|
|
Loading…
Reference in a new issue