
I am making an XM-1014 derivative (shotgun with flashlight) and in normal ZDoom the best that can be done is to illuminate the entire room with the Light*() codepointers. In GZDoom, a "real" flashlight is possible, somebody did it for a Doom III weapons mod.
Rather than supply two versions of the finished product, is there any way to detect GZDoom from a DECORATE script and proceed accordingly?