From: Mario Date: Sat, 30 Jul 2016 05:47:44 +0000 (+1000) Subject: Add user defined movetypes extension X-Git-Tag: xonotic-v0.8.2~700^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f0bad69b25fea67eee8bf3adf97c648e56913ef1;p=xonotic%2Fxonotic-data.pk3dir.git Add user defined movetypes extension --- diff --git a/qcsrc/dpdefs/upstream/dpextensions.qc b/qcsrc/dpdefs/upstream/dpextensions.qc index 21060c82e..2f49d97bb 100644 --- a/qcsrc/dpdefs/upstream/dpextensions.qc +++ b/qcsrc/dpdefs/upstream/dpextensions.qc @@ -2599,3 +2599,12 @@ void coverage() = #642; // Reports a coverage event. The engine counts for each float(string url, float id, string content_type, string delim, float buf, float keyid) crypto_uri_postbuf = #513; //description: //use -1 as buffer handle to justs end delim as postdata + +//DP_USERMOVETYPES +//idea: divVerent +//darkplaces implementation: Mario +//movetype definitions: +float MOVETYPE_USER_FIRST = 128; +float MOVETYPE_USER_LAST = 191; +//description: +//user defined movetypes can be added between the start and end points, without producing unknown movetype warnings