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:20] korshunnew:bcsutils [2018/02/20 15:59] (current) korshun
Line 1: Line 1:
 ====== BCSUtils ====== ====== BCSUtils ======
-BCSUtils is [[BCC]]-enhanced version of ACSUtils. It has exactly the same functions and constants as ACSUtils, so all ACSUtils documentation also works for BCSUtils.+BCSUtils is an enhanced version of ACSUtils designed for use with the [[BCC]] compiler. BCSUtils is not a separate project. ACSUtils and BCSUtils are produced from the same source code and always stay in syncBCSUtils has exactly the same functions and constants as ACSUtils, so all ACSUtils documentation also works for BCSUtils.
  
-<note tip>BCSUtils is not a separate project. ACSUtils and BCSUtils are produced from the same source code and always stay in sync.</note>+All ACSUtils documentation always uses the most specific types (''fixed'', ''bool'', etc instead of ''int''), so all its declarations match BCSUtils.
  
-===== Features ===== +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. 
-  * Strict typing for all functions and constants.+ 
 +===== Differences from ACSUtils ===== 
 +  * 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.
  
 ===== Using BCSUtils ===== ===== Using BCSUtils =====
  
-Just include ''bcsutils.bcs'' instead of ''acsutils.acs'' and make sure the file you're including is from is ''.bcs'' and not ''.acs''.+Just include ''bcsutils.bcs'' instead of ''acsutils.acs'' and make sure the file you're including it from is ''.bcs'' and not ''.acs''.
  
 <code> <code>
-#library "project" 
- 
 #include "zcommon.bcs" #include "zcommon.bcs"
 #include "bcsutils.bcs" #include "bcsutils.bcs"
new/bcsutils.1518812428.txt.gz · Last modified: 2018/02/16 22:20 by korshun