This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
new:using_acsutils [2018/02/20 15:52] – created korshun | new:using_acsutils [2018/02/21 13:58] (current) – korshun | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Using ACSUtils ====== | ====== Using ACSUtils ====== | ||
- | |||
- | ===== Upgrading the compiler ===== | ||
- | |||
- | You **must** upgrade your ACS compiler to use ACSUtils because the official ACC 1.55 release can't compile files with more than 256 functions. | ||
- | |||
- | Upgrade to one of the following compilers: | ||
- | |||
- | * **ACC 1.56 Beta**: **[[http:// | ||
- | * **[[BCC]]** | ||
- | * **[[GDCC]]** | ||
===== Adding ACSUtils to your project ===== | ===== Adding ACSUtils to your project ===== | ||
- | - Download | + | - [[https:// |
- | - Add '' | + | - Copy '' |
- Include '' | - Include '' | ||
Line 22: | Line 12: | ||
</ | </ | ||
- | ===== Things | + | ===== floor(), ceil() and round() conflicts ===== |
+ | |||
+ | [[zdoom> | ||
+ | |||
+ | If your mod is exclusively for ZDoom, you can just remove their ACSUtils implementations from '' | ||
+ | |||
+ | A better option is to download [[https:// | ||
+ | |||
+ | Once Zandronum adds built-in ZDoom rounding functions, they will be removed from ACSUtils. | ||
+ | |||
+ | ===== Function name conflicts ===== | ||
+ | |||
+ | If your project has functions (or even variables, if you are using [[ACC]]) with the same names as ACSUtils functions, it won't compile. Rename the functions in your project to fix it. ACSUtils functions are named in a way that avoids some of the most annoying conflicts, but several renames are still needed in big projects. | ||
- | 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 to fix it. ACSUtils functions are named to avoid some of the most annoying conflicts, but it still needs several renames in some big projects. | + | If your project has functions |
===== Optional enhancements ===== | ===== Optional enhancements ===== | ||
- | - Copy '' | + | - Copy '' |
- | - Copy '' | + | - Copy '' |
===== BCC enhancements ===== | ===== BCC enhancements ===== | ||
- | If you are using [[BCC]], try [[BCSUtils]] -- a BCC-enhanced version of ACSUtils with the same functions! | + | If you are using [[BCC]], try [[BCSUtils]] -- a BCC-enhanced |