From a0529d85b0c364ef3e807675defb2036c0f3f837 Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Fri, 21 Jul 2023 18:33:23 +1000 Subject: [PATCH] Add some missing csprogs defs Signed-off-by: bones_was_here --- dpdefs/csprogsdefs.qc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/dpdefs/csprogsdefs.qc b/dpdefs/csprogsdefs.qc index 9b00de12..b396e84b 100644 --- a/dpdefs/csprogsdefs.qc +++ b/dpdefs/csprogsdefs.qc @@ -1449,6 +1449,10 @@ void(entity e, string s) parseentitydata = #608; //function definitions: void coverage() = #642; // Reports a coverage event. The engine counts for each of the calls to this builtin whether it has been called. +//DP_RM_CLIPGROUP +//see: dpextensions.qc +.float clipgroup; + //DP_QC_FS_SEARCH_PACKFILE //idea: Mario //darkplaces implementation: Mario @@ -1458,6 +1462,15 @@ float(string pattern, float caseinsensitive, float quiet, string packfile) searc //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(). +//DP_QC_FINDBOX +//see: dpextensions.qc +entity(vector mins, vector maxs) findbox = #566; +entity(vector mins, vector maxs, .entity tofield) findbox_tofield = #566; + +//DP_QC_NUDGEOUTOFSOLID +//see: dpextensions.qc +float(entity ent) nudgeoutofsolid = #567; + // assorted builtins const float STAT_MOVEVARS_TICRATE = 240; const float STAT_MOVEVARS_TIMESCALE = 241; -- 2.39.2