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 22:58] – korshun | source_port_identification [2019/08/26 00:54] (current) – removed korshun | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Source port identification ====== | ||
- | |||
- | You can identify what engine your mod is running in using ACSUtils. | ||
- | |||
- | ===== How it works ===== | ||
- | |||
- | The detection function first checks for presence of [[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: | ||
- | |||