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 revisionPrevious revision
version_information [2019/04/22 00:31] korshunversion_information [2019/08/26 21:00] (current) – removed korshun
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> 
- 
- 
- 
-