Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
new:port_detection [2018/02/17 14:28] – korshun | new:port_detection [2018/02/17 14:28] – korshun |
---|
===== How port detection works ===== | ===== How port detection works ===== |
| |
First, ''GetPlayerAccountName(0)'' is called. In Zandronum it returns a string (possibly empty string). In other ports it returns 0, because it's an unknown function. | First, ''GetPlayerAccountName(0)'' is called. In Zandronum it returns a string (possibly [[empty string]]). In other ports it returns 0, because it's an unknown function. |
| |
Second, existence of ''DynamicLight'' actor is checked by spawning and instantly destroying it. This actor is not present in ZDoom. If it spawns successfully, the port is GZDoom. | Second, existence of ''DynamicLight'' actor is checked by spawning and instantly destroying it. This actor is not present in ZDoom. If it spawns successfully, the port is GZDoom. |