OSDN Git Service

- Added strcmp, stricmp (strcasecmp), strleft, strright, and strmid to zspecial.acs.
authorRandy Heit <rheit@zdoom.fake>
Sat, 1 Jun 2013 17:08:35 +0000 (17:08 +0000)
committerRandy Heit <rheit@zdoom.fake>
Sat, 1 Jun 2013 17:08:35 +0000 (17:08 +0000)
SVN r4314 (trunk)

zspecial.acs

index f2bbf38..703ae96 100644 (file)
@@ -304,6 +304,12 @@ special
        -60:LineAttack(3,6),\r
        -61:PlaySound(2,6),\r
        -62:StopSound(1,2),\r
+       -63:strcmp(2,3),\r
+       -64:stricmp(2,3),\r
+       -64:strcasecmp(2,3),    // an alias for stricmp\r
+       -65:StrLeft(2),\r
+       -66:StrRight(2),\r
+       -67:StrMid(3),\r
        \r
        // ZDaemon's\r
        -19260:GetTeamScore(1),\r