From: bones_was_here Date: Fri, 21 Jul 2023 08:44:10 +0000 (+1000) Subject: Update dpdefs/upstream X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=12cda9bd6a0b8157af4abf7b23db2fa96f3f817a;p=xonotic%2Fxonotic-data.pk3dir.git Update dpdefs/upstream --- diff --git a/qcsrc/dpdefs/upstream/csprogsdefs.qc b/qcsrc/dpdefs/upstream/csprogsdefs.qc index 3f53fd3fd..fc4888928 100644 --- a/qcsrc/dpdefs/upstream/csprogsdefs.qc +++ b/qcsrc/dpdefs/upstream/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; @@ -1485,5 +1498,5 @@ vector gettaginfo_forward; vector gettaginfo_right; vector gettaginfo_up; float checkpvs(vector viewpos, entity viewee) = #240; -// bones_was_here: commented as QC wants to use this but we still need to support div0-stable: +// bones_was_here: commented as GMQCC wants to use this but we still need to support div0-stable: //float mod(float dividend, float divisor) = #245; diff --git a/qcsrc/dpdefs/upstream/dpextensions.qc b/qcsrc/dpdefs/upstream/dpextensions.qc index 4dc5679b8..22bd49a61 100644 --- a/qcsrc/dpdefs/upstream/dpextensions.qc +++ b/qcsrc/dpdefs/upstream/dpextensions.qc @@ -2665,5 +2665,5 @@ float(entity ent) nudgeoutofsolid = #567; //Note: makes only one tracebox call if the entity isn't stuck, so don't call tracebox just to see if you should call nudgeoutofsolid. -// bones_was_here: commented as QC wants to use this but we still need to support div0-stable: +// bones_was_here: commented as GMQCC wants to use this but we still need to support div0-stable: //float(float dividend, float divisor) mod = #245;