This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
using_acsutils [2017/06/24 21:45] – korshun | using_acsutils [2017/07/14 20:50] (current) – korshun | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Using ACSUtils ====== | ||
===== Upgrading the compiler ===== | ===== Upgrading the compiler ===== | ||
- | You **must** upgrade your ACS compiler to use ACSUtils | + | You **must** upgrade your ACS compiler to use ACSUtils |
- | ==== ACC (with 255 function limit lifted) ==== | + | Upgrade to one of the following compilers: |
- | * **Homepage**: https:// | + | * **ACC 1.56 Beta**: **[[http://acsutils.strangled.net/lib/exe/fetch.php? |
- | * **[[https://github.com/Korshun/acsutils_acc/releases/ | + | * **[[BCC]]** |
+ | * **[[GDCC]]** | ||
- | <note important> | + | ===== Adding ACSUtils |
- | If you get an error about " | + | |
- | </ | + | |
- | ==== GDCC-ACC ==== | + | |
+ | - Add '' | ||
+ | - Include '' | ||
- | * **Homepage**: | + | < |
- | * **Github**: https:// | + | #include " |
- | * **[[https:// | + | #include " |
+ | </code> | ||
- | ===== Using ACSUtils | + | ===== Things to note ===== |
- | - Download | + | If your project has functions (or variables, if you are using [[ACC]]) with the same names as ACSUtils functions, it won't compile. Rename the functions in your project |
- | - Add ''acsutils.acs'' | + | |
- | - Use the code below to include ACSUtils into your project: | + | |
- | < | + | ===== Optional enhancements ===== |
- | #library " | + | |
- | // ACSUtils settings: | + | - Copy '' |
- | #define ACSUTILS_HUDLIB_SAVEDSTATES 16 | + | - Copy '' |
- | #define TIDALLOCSTART 15000 | + | |
- | // Includes: | + | ===== BCC enhancements ===== |
- | #include " | + | |
- | #include " | + | |
- | // Your project' | + | If you are using [[BCC]], try [[BCSUtils]] -- a BCC-enhanced version of ACSUtils with the same functions! |
- | function void ACSUtilsErrorHandler(int type, int message) | + | |
- | { | + | |
- | Log(s:" | + | |
- | printbold(s:" | + | |
- | } | + | |
- | + | ||
- | // Your project' | + | |
- | </ | + | |
- | If you are making a mod for Zandronum, don't forget that you can [[.namedscripts|name your scripts too]]. | ||