From a986d47822e0b3c82d61045593e6a7719e9329bf Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Sat, 22 Jul 2023 19:25:53 +1000 Subject: [PATCH] Update dpdefs/upstream --- qcsrc/dpdefs/upstream/csprogsdefs.qc | 2 +- qcsrc/dpdefs/upstream/dpextensions.qc | 2 +- qcsrc/dpdefs/upstream/menudefs.qc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qcsrc/dpdefs/upstream/csprogsdefs.qc b/qcsrc/dpdefs/upstream/csprogsdefs.qc index fc48889281..4cff5482ab 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 22bd49a615..f7e5b08ecc 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 1278dd710a..b987491b7c 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; -- 2.39.2