ZDRay keyword updates.

This commit is contained in:
nashmuhandes 2022-02-20 04:49:45 +08:00 committed by Christoph Oelckers
parent a46db69db9
commit 6caa491595
2 changed files with 6 additions and 18 deletions

View file

@ -753,14 +753,6 @@ public:
th->friendlyseeblocks = CheckInt(key); th->friendlyseeblocks = CheckInt(key);
break; break;
case NAME_lightintensity:
case NAME_suncolor:
case NAME_sampledistance:
case NAME_bounces:
case NAME_gridsize:
CHECK_N(Zd | Zdt)
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))
@ -1131,9 +1123,9 @@ public:
ld->healthgroup = CheckInt(key); ld->healthgroup = CheckInt(key);
break; break;
case NAME_Lightcolor: case NAME_lightcolorline:
case NAME_lightintensity: case NAME_lightintensityline:
case NAME_lightdistance: case NAME_lightdistanceline:
CHECK_N(Zd | Zdt) CHECK_N(Zd | Zdt)
break; break;

View file

@ -850,16 +850,12 @@ xx(Sky)
xx(Pagename) xx(Pagename)
// Lightmap keywords // Lightmap keywords
//xx(lightcolor) // already defined xx(lightcolorline)
xx(lightintensity) xx(lightintensityline)
xx(lightdistance) xx(lightdistanceline)
xx(lightcolorfloor) xx(lightcolorfloor)
xx(lightintensityfloor) xx(lightintensityfloor)
xx(lightdistancefloor) xx(lightdistancefloor)
xx(lightcolorceiling) xx(lightcolorceiling)
xx(lightintensityceiling) xx(lightintensityceiling)
xx(lightdistanceceiling) xx(lightdistanceceiling)
xx(suncolor)
xx(sampledistance)
xx(bounces)
xx(gridsize)