ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


version_information

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
version_information [2019/04/22 00:31]
korshun
— (current)
Line 1: Line 1:
-====== ACSUtils version ====== 
- 
-ACSUtils exposes its version as numeric constants and as a string. E.g. ACSUtils 1.8.0 will define the following constants: 
- 
-<​code>​ 
-#define ACSUTILS_VERSION_MAJOR 1 
-#define ACSUTILS_VERSION_MINOR 8 
-#define ACSUTILS_VERSION_PATCH 0 
-</​code>​ 
- 
-===== ACSUtilsVersion ===== 
-''​str ACSUtilsVersion()''​ 
- 
-Returns ACSUtils version as a string, e.g. ''"​1.8.0"''​. This is a function instead of a constant because ACS doesn'​t support string constants. 
- 
-==== Example usage ==== 
- 
-<​code>​ 
-print(s:"​This mod is using ACSUtils ", s:​ACSUtilsVersion());​ 
-</​code>​ 
- 
- 
- 
- 
  
version_information.1555882310.txt.gz ยท Last modified: 2019/04/22 00:31 by korshun