From 40ef58498208a4e8df3bba2dd1d7073beca896a7 Mon Sep 17 00:00:00 2001 From: divverent Date: Sat, 1 Oct 2011 13:29:14 +0000 Subject: [PATCH] document DP_QC_DIGEST git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11381 d7cf8633-e32d-0410-b094-e92efae38249 --- dpdefs/dpextensions.qc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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 -- 2.39.2