This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
source_port_identification [2019/08/25 23:04] – korshun | source_port_identification [2019/08/26 00:54] (current) – removed korshun | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Source port identification ====== | ||
- | |||
- | ===== Introduction ===== | ||
- | |||
- | You can identify what engine your mod is running in using ACSUtils. This may be useful to avoid using features if they' | ||
- | |||
- | <note important> | ||
- | |||
- | ===== How it works ===== | ||
- | |||
- | First, [[zan> | ||
- | |||
- | If the port is not Zandronum, the detection module attempts to spawn an actor of type [[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. | ||
- | |||
- | ===== Functions ===== | ||
- | |||
- | * [[functions: | ||
- | * [[functions: | ||
- | * [[functions: | ||
- | * [[functions: | ||
- | |||
- | |||