<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://acsutils.strangled.net/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>ACSUtils Wiki - constants</title>
        <description>An ACS library for ZDoom-based ports</description>
        <link>https://acsutils.strangled.net/</link>
        <lastBuildDate>Wed, 29 Apr 2026 11:51:27 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://acsutils.strangled.net/_media/wiki:dokuwiki.svg</url>
            <title>ACSUtils Wiki</title>
            <link>https://acsutils.strangled.net/</link>
        </image>
        <item>
            <title>COLORCODE</title>
            <link>https://acsutils.strangled.net/constants:colorcode?rev=1499596548&amp;do=diff</link>
            <description>COLORCODE

int COLORCODE = 28;

Description

ACC doesn&#039;t support the character literal &#039;\c&#039; for some reason, even though it supports \c inside strings. This constant is an equivalent of &#039;\c&#039;.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 09 Jul 2017 10:35:48 +0000</pubDate>
        </item>
        <item>
            <title>FIXED_MAX</title>
            <link>https://acsutils.strangled.net/constants:fixed_max?rev=1500051256&amp;do=diff</link>
            <description>FIXED_MAX

fixed FIXED_MAX = (fixed)0x7fffffff

Description

The minimum possible value of a fixed-point number. This constant is equal to INT_MAX but has a different type, because BCSUtils doesn&#039;t allow INT_MAX to be implicitly converted to fixed.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 14 Jul 2017 16:54:16 +0000</pubDate>
        </item>
        <item>
            <title>FIXED_MIN</title>
            <link>https://acsutils.strangled.net/constants:fixed_min?rev=1500042176&amp;do=diff</link>
            <description>FIXED_MIN

fixed FIXED_MIN = (fixed)0x80000000

Description

The minimum possible value of a fixed-point number. This constant is equal to INT_MIN but has a different type, because BCSUtils doesn&#039;t allow INT_MIN to be implicitly converted to fixed.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 14 Jul 2017 14:22:56 +0000</pubDate>
        </item>
        <item>
            <title>HUDTIC</title>
            <link>https://acsutils.strangled.net/constants:hudtic?rev=1499599385&amp;do=diff</link>
            <description>HUDTIC

fixed HUDTIC = 0.03;

Description

This stay duration of HudMessages makes them stay on screen for exactly one tic.

Can be used with both HudMessage and the HUD Library.

Examples


while (true)
{
    HudMessage(..., HUDTIC);
    Delay(1);
}


The HudMessage will disappear automatically once the loop stops.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 09 Jul 2017 11:23:05 +0000</pubDate>
        </item>
        <item>
            <title>INT_MAX</title>
            <link>https://acsutils.strangled.net/constants:int_max?rev=1492431315&amp;do=diff</link>
            <description>INT_MAX

int INT_MAX =	2147483647;

Description

The maximum possible value of an integer or fixed-point variable in ACS. 2^31 - 1.
-INT_MAXNOTINT_MIN</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 17 Apr 2017 12:15:15 +0000</pubDate>
        </item>
        <item>
            <title>INT_MIN</title>
            <link>https://acsutils.strangled.net/constants:int_min?rev=1492431307&amp;do=diff</link>
            <description>INT_MIN

int INT_MIN =	-2147483648;

Description

The manimum possible value of an integer or fixed-point variable in ACS. -2^31.
-INT_MAXNOTINT_MINabs(INT_MIN)</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 17 Apr 2017 12:15:07 +0000</pubDate>
        </item>
        <item>
            <title>MAX_PLAYERS_ZDOOM</title>
            <link>https://acsutils.strangled.net/constants:max_players_zdoom?rev=1497355284&amp;do=diff</link>
            <description>MAX_PLAYERS_ZDOOM

int MAX_PLAYERS_ZDOOM = 8;

Description

Maximum amount of players in ZDoom multiplayer. For Zandronum, see MAX_PLAYERS.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 13 Jun 2017 12:01:24 +0000</pubDate>
        </item>
        <item>
            <title>MAX_PLAYERS</title>
            <link>https://acsutils.strangled.net/constants:max_players?rev=1497355319&amp;do=diff</link>
            <description>MAX_PLAYERS

int MAX_PLAYERS = 64;

Description

Maximum amount of clients in Zandronum multiplayer.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 13 Jun 2017 12:01:59 +0000</pubDate>
        </item>
        <item>
            <title>SBYTE_MAX</title>
            <link>https://acsutils.strangled.net/constants:sbyte_max?rev=1497355478&amp;do=diff</link>
            <description>SBYTE_MAX

int SBYTE_MAX = 127;

Description

The maximum value of an 8-bit signed integer. 2^7 - 1.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 13 Jun 2017 12:04:38 +0000</pubDate>
        </item>
        <item>
            <title>SBYTE_MIN</title>
            <link>https://acsutils.strangled.net/constants:sbyte_min?rev=1497355517&amp;do=diff</link>
            <description>SBYTE_MIN

int SBYTE_MIN = -128;

Description

The minimum value of an 8-bit signed integer. -2^7.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 13 Jun 2017 12:05:17 +0000</pubDate>
        </item>
        <item>
            <title>SHORT_MAX</title>
            <link>https://acsutils.strangled.net/constants:short_max?rev=1492432055&amp;do=diff</link>
            <description>SHORT_MAX

int SHORT_MAX = 32767

Description

The maximum value of a 16-bit signed integer. 2^15 - 1.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 17 Apr 2017 12:27:35 +0000</pubDate>
        </item>
        <item>
            <title>SHORT_MIN</title>
            <link>https://acsutils.strangled.net/constants:short_min?rev=1492432049&amp;do=diff</link>
            <description>SHORT_MIN

int SHORT_MIN = -32768;

Description

The minimum value of a signed 16-bit integer. -2^15.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 17 Apr 2017 12:27:29 +0000</pubDate>
        </item>
        <item>
            <title>TEAM_NONE</title>
            <link>https://acsutils.strangled.net/constants:team_none?rev=1497355214&amp;do=diff</link>
            <description>TEAM_NONE

int TEAM_NONE = 255;

Description

For some reason, TEAM_RED and TEAM_BLUE are defined by default, but TEAM_NONE isn&#039;t. TEAM_NONE is returned by functions like PlayerTeam when the actor doesn&#039;t belong to any team.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 13 Jun 2017 12:00:14 +0000</pubDate>
        </item>
        <item>
            <title>UBYTE_MAX</title>
            <link>https://acsutils.strangled.net/constants:ubyte_max?rev=1497355571&amp;do=diff</link>
            <description>UBYTE_MAX

int UBYTE_MAX = 255;

Description

The maximum value of an 8-bit signed integer. 2^8 - 1.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 13 Jun 2017 12:06:11 +0000</pubDate>
        </item>
        <item>
            <title>USHORT_MAX</title>
            <link>https://acsutils.strangled.net/constants:ushort_max?rev=1497355643&amp;do=diff</link>
            <description>USHORT_MAX

int USHORT_MAX = 65535

Description

The maximum value of a 16-bit unsigned integer. 2^16 - 1.

Also the biggest fixed-point number less than 1.0. 1.0 - 1.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 13 Jun 2017 12:07:23 +0000</pubDate>
        </item>
    </channel>
</rss>
