From: divverent Date: Sat, 1 Oct 2011 13:29:14 +0000 (+0000) Subject: document DP_QC_DIGEST X-Git-Tag: xonotic-v0.6.0~163^2~171 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=40ef58498208a4e8df3bba2dd1d7073beca896a7;p=xonotic%2Fdarkplaces.git document DP_QC_DIGEST git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11381 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/dpdefs/dpextensions.qc b/dpdefs/dpextensions.qc index d8f6ebd7..6ca63e60 100644 --- a/dpdefs/dpextensions.qc +++ b/dpdefs/dpextensions.qc @@ -664,6 +664,23 @@ float CVAR_TYPEFLAG_ENGINE = 8; float CVAR_TYPEFLAG_HASDESCRIPTION = 16; float CVAR_TYPEFLAG_READONLY = 32; +//DP_QC_DIGEST +//idea: motorsep, Spike +//DarkPlaces implementation: divVerent +//builtin definitions: +string(string digest, string data, ...) digest_hex = #638; +//description: +//returns a given hex digest of given data +//digest is always encoded in hexadecimal +//only the "MD4" digest is always supported! +//if the given digest is not supported, string_null is returned + +//DP_QC_DIGEST_SHA256 +//idea: motorsep, Spike +//DarkPlaces implementation: divVerent +//description: +//"SHA256" is also an allowed digest type + //DP_QC_EDICT_NUM //idea: 515 //DarkPlaces implementation: LordHavoc