From 29e103363e960d6bc9af6bedf2c90153b808f541 Mon Sep 17 00:00:00 2001 From: nashmuhandes Date: Mon, 22 Apr 2024 22:09:32 +0800 Subject: [PATCH] ZDRay specs fix --- specs/udmf_zdoom.txt | 2 +- src/namedef_custom.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/specs/udmf_zdoom.txt b/specs/udmf_zdoom.txt index e3c73df4dc..402f3d6e86 100644 --- a/specs/udmf_zdoom.txt +++ b/specs/udmf_zdoom.txt @@ -424,7 +424,7 @@ Note: All fields default to false unless mentioned otherwise. lm_sampledist = ; // ZDRay lightmap sample distance for the entire map. Defines the map units each lightmap texel covers. Must be in powers of two. Default = 8 lm_suncolor = ; // ZDRay lightmap sun color in hex. Default = "FFFFFF" - sourceradius = ; // ZDRay lightmap light soft shadow amount. Higher values produce softer shadows. Default = 5.0 + SourceRadius = ; // ZDRay lightmap light and raytraced dynamic light soft shadow amount. Higher values produce softer shadows. Default = 5.0 friendlyseeblocks = ; // How far (in block units) a friendly monster can see other monsters. Default 10 diff --git a/src/namedef_custom.h b/src/namedef_custom.h index 7d6d095f2c..e04dc37953 100644 --- a/src/namedef_custom.h +++ b/src/namedef_custom.h @@ -863,7 +863,9 @@ xx(lm_sampledist_ceiling) xx(lm_dynamic) xx(lm_suncolor) xx(lm_sampledist) -xx(sourceradius) + +// Light keywords +xx(SourceRadius) xx(skew_bottom_type) xx(skew_middle_type)