How to detect GZDoom from DECORATE?

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
MartinHowe
Posts: 154
Joined: Tue Aug 30, 2005 22:07
Location: East Suffolk (UK)

How to detect GZDoom from DECORATE?

Post by MartinHowe »

I'm surprised this hasn't been asked before, but it surely was inevitable :)

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?
User avatar
chaoscentral
Posts: 113
Joined: Tue Aug 30, 2005 14:08
Location: E1M1
Contact:

Post by chaoscentral »

I dont think that there is a way to detect which port its using, If there was it would have been in Doom 3 Weapons MOD.

So i guess the only way is to make 2 versions.
Locked

Return to “GZDoom”