ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


new:bcsutils

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
new:bcsutils [2018/02/16 22:50] korshunnew:bcsutils [2018/02/20 15:59] (current) korshun
Line 4: Line 4:
 All ACSUtils documentation always uses the most specific types (''fixed'', ''bool'', etc instead of ''int''), so all its declarations match BCSUtils. All ACSUtils documentation always uses the most specific types (''fixed'', ''bool'', etc instead of ''int''), so all its declarations match BCSUtils.
  
-The only exception is when the documentation uses ''num'' (meaning that both ''int'' and ''fixed'' work in this context) in function declarations. BCSUtils versions of such functions use ''raw'' (any type) in place of ''num'', because BCC doesn't have a way to express an "''int'' ''fixed''" type.+The only exception is when the documentation uses ''num'' (meaning that both ''int'' and ''fixed'' work in this context) in function declarations. BCSUtils versions of such functions use ''raw'' (any type) in place of ''num'', because BCC doesn't have a way to express an "''int'' or ''fixed''" type.
  
 ===== Differences from ACSUtils ===== ===== Differences from ACSUtils =====
-  * Supports [[strict typing]] for **all** functions and constants.+  * Supports [[strict typing]] for all functions and constants.
   * All functions are in the ''BCSUtils'' namespace.   * All functions are in the ''BCSUtils'' namespace.
-  * **Requires BCC and can only be included from ''.bcs'' files.**+  * Requires BCC and can only be included from ''.bcs'' files.
  
 ===== Using BCSUtils ===== ===== Using BCSUtils =====
Line 16: Line 16:
  
 <code> <code>
-#library "project" 
- 
 #include "zcommon.bcs" #include "zcommon.bcs"
 #include "bcsutils.bcs" #include "bcsutils.bcs"
new/bcsutils.1518814239.txt.gz · Last modified: 2018/02/16 22:50 by korshun