]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Update dpdefs/upstream
authorbones_was_here <bones_was_here@xonotic.au>
Sat, 22 Jul 2023 09:25:53 +0000 (19:25 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Sat, 22 Jul 2023 09:25:53 +0000 (19:25 +1000)
qcsrc/dpdefs/upstream/csprogsdefs.qc
qcsrc/dpdefs/upstream/dpextensions.qc
qcsrc/dpdefs/upstream/menudefs.qc

index fc488892812beef3153621111b287b91a39b52f1..4cff5482abff6c4d512cacbb565fb67685039a69 100644 (file)
@@ -430,7 +430,7 @@ void(float fhandle) fclose = #111;
 string(float fhandle) fgets = #112;
 void(float fhandle, string s) fputs = #113;
 float(string s) strlen = #114;
-string(...) strcat = #115;
+string(string s, string...) strcat = #115;
 string(string s, float start, float length) substring = #116;
 vector(string) stov = #117;
 string(string s) strzone = #118;
index 22bd49a615ce215a5fd7df34c041d89f2c290a05..f7e5b08ecc4236d71ded36783ec7aba48e6b690f 100644 (file)
@@ -2140,7 +2140,7 @@ void(float fhandle) fclose = #111; // closes a file
 string(float fhandle) fgets = #112; // reads a line of text from the file and returns as a tempstring
 void(float fhandle, string s, ...) fputs = #113; // writes a line of text to the end of the file
 float(string s) strlen = #114; // returns how many characters are in a string
-string(string s1, string s2, ...) strcat = #115; // concatenates two or more strings (for example "abc", "def" would return "abcdef") and returns as a tempstring
+string(string s, string...) strcat = #115; // concatenates 1 to 8 strings (for example "abc", "def" would return "abcdef") and returns as a tempstring
 string(string s, float start, float length) substring = #116; // returns a section of a string as a tempstring - see FTE_STRINGS for enhanced version
 vector(string s) stov = #117; // returns vector value from a string
 string(string s, ...) strzone = #118; // makes a copy of a string into the string zone and returns it, this is often used to keep around a tempstring for longer periods of time (tempstrings are replaced often)
index 1278dd710a8052bd77db771c258db428be8c0904..b987491b7cf778c5ea33bcfb2f783851b5a60461 100644 (file)
@@ -246,7 +246,7 @@ string      fgets(float fhandle)  = #50;
 void   fputs(float fhandle, string s)  = #51;
 
 float  strlen(string s)  = #52;
-string strcat(string s1,string s2,...)  = #53;
+string strcat(string s, string...)  = #53;
 string substring(string s, float start, float length)  = #54;
 
 vector stov(string s)  = #55;