ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


new:using_acsutils

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:using_acsutils [2018/02/20 16:16] korshunnew:using_acsutils [2018/02/21 13:58] (current) korshun
Line 16: Line 16:
 [[zdoom>floor]], [[zdoom>ceil]] and [[zdoom>round]] are ZDoom's rounding functions. They silently return 0 in Zandronum 3.0 because they are not implemented. Because of that, ACSUtils provides its own implementations of these functions that conflict with built-in ZDoom ones. [[zdoom>floor]], [[zdoom>ceil]] and [[zdoom>round]] are ZDoom's rounding functions. They silently return 0 in Zandronum 3.0 because they are not implemented. Because of that, ACSUtils provides its own implementations of these functions that conflict with built-in ZDoom ones.
  
-If your mod is exclusively for ZDoom, you can just remove the ACSUtils implementations from ''acsutils.acs''.+If your mod is exclusively for ZDoom, you can just remove their ACSUtils implementations from ''acsutils.acs''.
  
 A better option is to download [[https://github.com/Korshun/zcommon|zcommon for Zandronum]]. It renames built-in ZDoom rounding functions to ''ZDoom_floor'', ''ZDoom_ceil'' and ''ZDoom_round'', and also adds the latest Zandronum functions that are not present in ACC zcommon. It doesn't remove any ZDoom functions, so it can be used for ZDoom modding. A better option is to download [[https://github.com/Korshun/zcommon|zcommon for Zandronum]]. It renames built-in ZDoom rounding functions to ''ZDoom_floor'', ''ZDoom_ceil'' and ''ZDoom_round'', and also adds the latest Zandronum functions that are not present in ACC zcommon. It doesn't remove any ZDoom functions, so it can be used for ZDoom modding.
Line 26: Line 26:
 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 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 that are already present in ACSUtils and do the same (for example, [[rounding]]), you can just remove them.+If your project has functions that are already present in ACSUtils and do the same (for example, [[rounding|rounding functons]]), you can just remove them.
  
 ===== Optional enhancements ===== ===== Optional enhancements =====
new/using_acsutils.1519136212.txt.gz · Last modified: 2018/02/20 16:16 by korshun