]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - dpdefs/dpextensions.qc
cl_main: Keep old CL_Disconnect for simplicity. Move guts to CL_DisconnectEx
[xonotic/darkplaces.git] / dpdefs / dpextensions.qc
index 05812846742975bf25bdcc7c6d22e15c8e9fc109..48045a202faf22ed1b7bdcbf811db9d113d7752e 100644 (file)
@@ -2619,7 +2619,26 @@ float MOVETYPE_USER_LAST = 191;
 
 //idea: eukara
 //darkplaces implementation: Cloudwalk
-// Do NOT use in production yet.
-string __fullspawndata;
+//Do NOT use in production yet. Uncomment if you intend to use it
+//string __fullspawndata;
 //description:
-// http://icculus.org/finger/marco?date=2019-01-25&time=05-38-02
+//http://icculus.org/finger/marco?date=2019-01-25&time=05-38-02
+
+//DP_QC_FS_SEARCH_PACKFILE
+//idea: Mario
+//darkplaces implementation: Mario
+//builtin definitions:
+float(string pattern, float caseinsensitive, float quiet, string packfile) search_packfile_begin = #444;
+//description:
+//extension to search_begin (DP_QC_FS_SEARCH), performs a filename search with the specified pattern (for example "maps/*.bsp") and stores the results in a search slot (minimum of 128 supported by any engine with this extension), the other functions take this returned search slot number, be sure to search_free when done (they are also freed on progs reload).
+//only searches for files within the specified packfile, which is expected to match the results of whichpack().
+
+//EXT_CSQC (registercommand for SSQC)
+//idea: probably Spoike
+//darkplaces implementation: Cloudwalk
+//builtin definitions:
+void(string cmdname) registercommand = #352;
+//description:
+//the registercommand builtin but the server can use it
+
+float(float dividend, float divisor) mod = #245;