<?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</title>
        <description>An ACS library for ZDoom-based ports</description>
        <link>https://acsutils.strangled.net/</link>
        <lastBuildDate>Wed, 29 Apr 2026 08:17:35 +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>StrFind - [Examples] </title>
            <link>https://acsutils.strangled.net/functions:strfind?rev=1608808377&amp;do=diff</link>
            <description>StrFind

string

int StrFind(str s, str what)

Description

Returns the position of the first occurence of what in s. If the string is not present, returns -1.
lastStrRFind
Examples


StrFind(&quot;abcdefabc&quot;, &quot;def&quot;) -&gt; 3
StrFind(&quot;abcdefabc&quot;, &quot;abc&quot;) -&gt; 0 // First occurence
StrFind(&quot;abcdef&quot;, &quot;xyz&quot;) -&gt; -1   // Not found
StrFind(&quot;abcABCabc&quot;, &quot;ABC&quot;) -&gt; 3 // Case-insensitive
StrFind(&quot;ab&quot;, &quot;abc&quot;) -&gt; -1 // Not found
StrFind(&quot;&quot;, &quot;abc&quot;) -&gt; -1 // Not found</description>
            <author>monsterovich@undisclosed.example.com (monsterovich)</author>
            <pubDate>Thu, 24 Dec 2020 11:12:57 +0000</pubDate>
        </item>
        <item>
            <title>Clientside/serverside detection - [Writing robust multiplayer code] </title>
            <link>https://acsutils.strangled.net/client_server_detection?rev=1567716877&amp;do=diff</link>
            <description>Clientside/serverside detection

Introduction

You can check if a script is running serverside, clientside or in singleplayer using functions provided by ACSUtils.

Terminology

	*  Server -- an engine instance that runs the gameplay code.
	*  Client</description>
            <author>korshun@undisclosed.example.com (korshun)</author>
            <pubDate>Thu, 05 Sep 2019 20:54:37 +0000</pubDate>
        </item>
        <item>
            <title> - removed</title>
            <link>https://acsutils.strangled.net/functions:fixedsqrt?rev=1567716516&amp;do=diff</link>
            <description></description>
            <author>korshun@undisclosed.example.com (korshun)</author>
            <pubDate>Thu, 05 Sep 2019 20:48:36 +0000</pubDate>
        </item>
        <item>
            <title> - removed</title>
            <link>https://acsutils.strangled.net/functions:sqrt?rev=1567716504&amp;do=diff</link>
            <description></description>
            <author>korshun@undisclosed.example.com (korshun)</author>
            <pubDate>Thu, 05 Sep 2019 20:48:24 +0000</pubDate>
        </item>
        <item>
            <title> - removed</title>
            <link>https://acsutils.strangled.net/functions:zan_fixedsqrt?rev=1567716491&amp;do=diff</link>
            <description></description>
            <author>korshun@undisclosed.example.com (korshun)</author>
            <pubDate>Thu, 05 Sep 2019 20:48:11 +0000</pubDate>
        </item>
        <item>
            <title> - removed</title>
            <link>https://acsutils.strangled.net/functions:zan_sqrt?rev=1567716477&amp;do=diff</link>
            <description></description>
            <author>korshun@undisclosed.example.com (korshun)</author>
            <pubDate>Thu, 05 Sep 2019 20:47:57 +0000</pubDate>
        </item>
        <item>
            <title> - removed</title>
            <link>https://acsutils.strangled.net/functions:iszandronum212?rev=1567716461&amp;do=diff</link>
            <description></description>
            <author>korshun@undisclosed.example.com (korshun)</author>
            <pubDate>Thu, 05 Sep 2019 20:47:41 +0000</pubDate>
        </item>
        <item>
            <title> - removed</title>
            <link>https://acsutils.strangled.net/new:multiplayer?rev=1567716398&amp;do=diff</link>
            <description></description>
            <author>korshun@undisclosed.example.com (korshun)</author>
            <pubDate>Thu, 05 Sep 2019 20:46:38 +0000</pubDate>
        </item>
        <item>
            <title>Welcome to the ACSUtils Wiki - [Documentation] </title>
            <link>https://acsutils.strangled.net/start?rev=1567716136&amp;do=diff</link>
            <description>Welcome to the ACSUtils Wiki

ACSUtils is a big ACS library for Zandronum modding fully compatible with Zandronum 3.0 and (G)ZDoom &gt;=1.8.6, and the three major ACS compilers -- ACC, BCC and GDCC.

A BCC-exclusive version called BCSUtils that takes advantage of BCC is available.</description>
            <author>korshun@undisclosed.example.com (korshun)</author>
            <pubDate>Thu, 05 Sep 2019 20:42:16 +0000</pubDate>
        </item>
        <item>
            <title>swap()</title>
            <link>https://acsutils.strangled.net/swap?rev=1567716130&amp;do=diff</link>
            <description>swap()

any, any swap(any a, any b)

Returns two variables in reverse order. This function exists to improve readability when swapping the values of two variables.

Examples

Without swap():


int tmp = x;
x = y;
y = tmp;


With swap():


swap(x, y);
x = r1;
y = r2;</description>
            <author>korshun@undisclosed.example.com (korshun)</author>
            <pubDate>Thu, 05 Sep 2019 20:42:10 +0000</pubDate>
        </item>
        <item>
            <title> - removed</title>
            <link>https://acsutils.strangled.net/functions:swap?rev=1567716116&amp;do=diff</link>
            <description></description>
            <author>korshun@undisclosed.example.com (korshun)</author>
            <pubDate>Thu, 05 Sep 2019 20:41:56 +0000</pubDate>
        </item>
        <item>
            <title> - removed</title>
            <link>https://acsutils.strangled.net/new:swap?rev=1567716106&amp;do=diff</link>
            <description></description>
            <author>korshun@undisclosed.example.com (korshun)</author>
            <pubDate>Thu, 05 Sep 2019 20:41:46 +0000</pubDate>
        </item>
        <item>
            <title>acc-1.56-beta-g3256a3e.zip</title>
            <link>https://acsutils.strangled.net/?image=acc-1.56-beta-g3256a3e.zip&amp;ns=0&amp;rev=1498329818&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
            <description>&lt;img src=&quot;https://acsutils.strangled.net/lib/images/fileicons/svg/zip.svg&quot; alt=&quot;acc-1.56-beta-g3256a3e.zip&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
            <author>korshun@undisclosed.example.com (korshun)</author>
            <pubDate>Sat, 24 Jun 2017 18:43:38 +0000</pubDate>
        </item>
        <item>
            <title>acc-1.55-beta-g3256a3e.zip - created</title>
            <link>https://acsutils.strangled.net/?image=acc-1.55-beta-g3256a3e.zip&amp;ns=0&amp;rev=1498329764&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
            <description>&lt;img src=&quot;https://acsutils.strangled.net/lib/images/fileicons/svg/zip.svg&quot; alt=&quot;acc-1.55-beta-g3256a3e.zip&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
            <author>korshun@undisclosed.example.com (korshun)</author>
            <pubDate>Sat, 24 Jun 2017 18:42:44 +0000</pubDate>
        </item>
        <item>
            <title>acsdeasm_bccobjdump.zip - created</title>
            <link>https://acsutils.strangled.net/?image=acsdeasm_bccobjdump.zip&amp;ns=0&amp;rev=1476885037&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
            <description>&lt;img src=&quot;https://acsutils.strangled.net/lib/images/fileicons/svg/zip.svg&quot; alt=&quot;acsdeasm_bccobjdump.zip&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
            <author>korshun@undisclosed.example.com (korshun)</author>
            <pubDate>Wed, 19 Oct 2016 13:50:37 +0000</pubDate>
        </item>
        <item>
            <title>rectvex.png - created</title>
            <link>https://acsutils.strangled.net/?image=functions%3Aaddons%3Arectvex.png&amp;ns=functions%3Aaddons&amp;rev=1470767643&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
            <description>&lt;img src=&quot;https://acsutils.strangled.net/_media/functions:addons:rectvex.png?w=500&amp;amp;h=500&amp;amp;tok=b6a8ab&quot; alt=&quot;rectvex.png&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
            <author>monsterovich@undisclosed.example.com (monsterovich)</author>
            <pubDate>Tue, 09 Aug 2016 18:34:03 +0000</pubDate>
        </item>
        <item>
            <title>rectstructure.png - created</title>
            <link>https://acsutils.strangled.net/?image=functions%3Aaddons%3Arectstructure.png&amp;ns=functions%3Aaddons&amp;rev=1470763965&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
            <description>&lt;img src=&quot;https://acsutils.strangled.net/_media/functions:addons:rectstructure.png?w=500&amp;amp;h=500&amp;amp;tok=017f1f&quot; alt=&quot;rectstructure.png&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
            <author>monsterovich@undisclosed.example.com (monsterovich)</author>
            <pubDate>Tue, 09 Aug 2016 17:32:45 +0000</pubDate>
        </item>
        <item>
            <title>cursor_cords.png - created</title>
            <link>https://acsutils.strangled.net/?image=functions%3Acursor_cords.png&amp;ns=functions&amp;rev=1470431480&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
            <description>&lt;img src=&quot;https://acsutils.strangled.net/_media/functions:cursor_cords.png?w=500&amp;amp;h=500&amp;amp;tok=a975ea&quot; alt=&quot;cursor_cords.png&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
            <author>monsterovich@undisclosed.example.com (monsterovich)</author>
            <pubDate>Fri, 05 Aug 2016 21:11:20 +0000</pubDate>
        </item>
        <item>
            <title>bcc20160529_x86.zip - removed</title>
            <link>https://acsutils.strangled.net/?image=wiki%3Abcc20160529_x86.zip&amp;ns=wiki&amp;rev=1464618079&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
            <description>&lt;img src=&quot;https://acsutils.strangled.net/lib/images/fileicons/svg/zip.svg&quot; alt=&quot;bcc20160529_x86.zip&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
            <author>monsterovich@undisclosed.example.com (monsterovich)</author>
            <pubDate>Mon, 30 May 2016 14:21:19 +0000</pubDate>
        </item>
    </channel>
</rss>
