From: bones_was_here Date: Sat, 22 Jul 2023 09:25:53 +0000 (+1000) Subject: Update dpdefs/upstream X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a986d478;p=xonotic%2Fxonotic-data.pk3dir.git Update dpdefs/upstream --- diff --git a/qcsrc/dpdefs/upstream/csprogsdefs.qc b/qcsrc/dpdefs/upstream/csprogsdefs.qc index fc4888928..4cff5482a 100644 --- a/qcsrc/dpdefs/upstream/csprogsdefs.qc +++ b/qcsrc/dpdefs/upstream/csprogsdefs.qc @@ -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; diff --git a/qcsrc/dpdefs/upstream/dpextensions.qc b/qcsrc/dpdefs/upstream/dpextensions.qc index 22bd49a61..f7e5b08ec 100644 --- a/qcsrc/dpdefs/upstream/dpextensions.qc +++ b/qcsrc/dpdefs/upstream/dpextensions.qc @@ -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) diff --git a/qcsrc/dpdefs/upstream/menudefs.qc b/qcsrc/dpdefs/upstream/menudefs.qc index 1278dd710..b987491b7 100644 --- a/qcsrc/dpdefs/upstream/menudefs.qc +++ b/qcsrc/dpdefs/upstream/menudefs.qc @@ -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;