functions:identifysourceport
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
functions:identifysourceport [2017/03/17 22:31] – korshun | functions:identifysourceport [2017/03/19 13:19] (current) – korshun |
---|
The function performs the following checks: | The function performs the following checks: |
- If ''[[zan>GetPlayerAccountName]](0)'' returns a non-zero result (even an empty string), it is implemented and the port is assumed to be Zandronum. | - If ''[[zan>GetPlayerAccountName]](0)'' returns a non-zero result (even an empty string), it is implemented and the port is assumed to be Zandronum. |
- If a ''[[zdoom>Classes:DynamicLight|DynamicLight]]'' actor is present, the port is assumed to be GZDoom. | - If a ''[[zdoom>Classes:DynamicLight|DynamicLight]]'' actor can be spawned, the port is assumed to be GZDoom. |
- Otherwise it's ZDoom. | - Otherwise it's ZDoom. |
functions/identifysourceport.txt · Last modified: 2017/03/19 13:19 by korshun