X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fextensions.qh;h=b72a0500013dc8402a8257d8febd4baef1bd6f75;hb=ff35e838d3cfa0162951d604d213e48aeb771e80;hp=ea6f0b068945772a13e3aecf340e2dc461fcd35d;hpb=92a23526afada305fa46e7740eebc0103fe6a946;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/extensions.qh b/qcsrc/server/extensions.qh index ea6f0b068..b72a05000 100644 --- a/qcsrc/server/extensions.qh +++ b/qcsrc/server/extensions.qh @@ -572,12 +572,10 @@ float(float a) tan = #475; // returns tangent value (which is simply sin(a)/cos( // string autocvar__cl_name; //NOTE: copying a string-typed autocvar to another variable/field, and then //changing the cvar or returning from progs is UNDEFINED. Writing to autocvar -//globals is UNDEFINED. Accessing autocvar globals after cvar_set()ing that +//globals is UNDEFINED. Accessing autocvar globals after cvar_set()ing that //cvar is IMPLEMENTATION DEFINED (an implementation may either yield the -//previous, or the current, value). Whether autocvar globals, after restoring -//a savegame, have the cvar's current value, or the original value at time of -//saving, is UNDEFINED. Restoring a savegame however must not restore the -//cvar values themselves. +//previous, or the current, value). Writing to an autocvar global is NOT +//ALLOWED. //In case the cvar does NOT exist, then it is automatically created with the //value of the autocvar initializer, if given. This is possible with e.g. //frikqcc and fteqcc the following way: @@ -2311,3 +2309,15 @@ float JOINTTYPE_HINGE2 = 5; // hinge2; uses origin (anchor), angles (axis1), vel //description: //various physics properties can be defined in an entity and are executed via //ODE + +//DP_CRYPTO +//idea: divVerent +//darkplaces implementation: divVerent +//field definitions: (SVQC) +.string crypto_keyfp; // fingerprint of CA key the player used to authenticate, or string_null if not verified +.string crypto_mykeyfp; // fingerprint of CA key the server used to authenticate to the player, or string_null if not verified +.string crypto_idfp; // fingerprint of ID used by the player entity, or string_null if not identified +.string crypto_encryptmethod; // the string "AES128" if encrypting, and string_null if plaintext +.string crypto_signmethod; // the string "HMAC-SHA256" if signing, and string_null if plaintext +// there is no field crypto_myidfp, as that info contains no additional information the QC may have a use for +//description: