This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
source_port_identification [2019/08/26 02:05] – korshun | source_port_identification [2019/08/26 03:48] – korshun | ||
---|---|---|---|
Line 5: | Line 5: | ||
You can identify what engine your mod is running in using ACSUtils. This may be useful to avoid using features if they' | You can identify what engine your mod is running in using ACSUtils. This may be useful to avoid using features if they' | ||
- | <note important> | + | <note important> |
+ | |||
+ | ===== Functions ===== | ||
+ | |||
+ | ==== Is< | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | ==== IdentifySourcePort ==== | ||
+ | |||
+ | '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
===== How it works ===== | ===== How it works ===== | ||
Line 15: | Line 32: | ||
If both these checks fail, the port is assumed to be ZDoom. | If both these checks fail, the port is assumed to be ZDoom. | ||
- | To avoid rerunning these checks every time you call one of the below functions, they are only run the first time any of the functions is called and the result is stored into a map variable. Subsequent function calls simply read the map variable. | + | To avoid rerunning these checks every time you call one of the source port identification |
- | + | ||
- | ===== Functions ===== | + | |
- | + | ||
- | * [[functions: | + | |
- | * [[functions: | + | |
- | * [[functions: | + | |
- | * [[functions: | + | |