This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
new:port_detection [2018/02/17 14:27] – korshun | new:port_detection [2018/02/18 19:20] – korshun | ||
---|---|---|---|
Line 5: | Line 5: | ||
'' | '' | ||
- | Returns | + | It returns |
* '' | * '' | ||
Line 21: | Line 21: | ||
print(s:" | print(s:" | ||
</ | </ | ||
+ | |||
+ | It returns one of the following: " | ||
===== Renderer detection ===== | ===== Renderer detection ===== | ||
Line 35: | Line 37: | ||
===== How port detection works ===== | ===== How port detection works ===== | ||
- | First, '' | + | First, '' |
Second, existence of '' | Second, existence of '' | ||
If both checks fail, the port is ZDoom. | If both checks fail, the port is ZDoom. | ||
+ | |||
+ | Port detection is performed only once. Subsequent calls to '' | ||