]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - dpdefs/menudefs.qc
strcat(): update QC defs to match implementation
[xonotic/darkplaces.git] / dpdefs / menudefs.qc
index 7282f4cdbbe4e59a609a4ecfe7fc42a37af330e4..b987491b7cf778c5ea33bcfb2f783851b5a60461 100644 (file)
@@ -179,7 +179,7 @@ float       vlen(vector v)                  = #9;
 float          vectoyaw(vector v)              = #10;
 vector         vectoangles(vector v)           = #11;
 
-float  random(void)  = #12;
+float  random(void)  = #12; // Returns a random number > 0 and < 1
 
 void   cmd(string command, ...) = #13;
 
@@ -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;