]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - dpdefs/menudefs.qc
theora encoding: set VP3 compatibility mode. This SHOULD fix issues with youtube.
[xonotic/darkplaces.git] / dpdefs / menudefs.qc
index 45e74a14993c493317d6500e3d699fcc8f626a77..5520844f473449e3cae9b4d579d3d3d3ce87877c 100644 (file)
@@ -406,6 +406,10 @@ float      drawcharacter(vector position, float character, vector scale, vector rgb,
 
 float  drawstring(vector position, string text, vector scale, vector rgb, float alpha, float flag) = #455;
 
+float  drawcolorcodedstring(vector position, string text, vector scale, float alpha, float flag) = #467;
+
+vector drawcolorcodedstring2(vector position, string text, vector scale, vector rgb, float alpha, float flag) = #467;
 float  drawpic(vector position, string pic, vector size, vector rgb, float alpha, float flag) = #456;
 
 float  drawfill(vector position, vector size, vector rgb, float alpha, float flag) = #457;
@@ -448,3 +452,16 @@ float(string key) stringtokeynum = #341;
 //<also allowed builtin number to match EXT_CSQC> string(float keynum) keynumtostring = #340;
 //description: key bind setting/getting including support for switchable
 //bindmaps.
+
+//DP_CRYPTO
+//idea: divVerent
+//darkplaces implementation: divVerent
+//field definitions: (MENUQC)
+string(string serveraddress) crypto_getkeyfp = #633; // retrieves the cached host key's CA fingerprint of a server given by IP address
+string(string serveraddress) crypto_getidfp = #634; // retrieves the cached host key fingerprint of a server given by IP address
+string(string serveraddress) crypto_getencryptlevel = #635; // 0 if never encrypting, 1 supported, 2 requested, 3 required, appended by list of allowed methods in order of preference ("AES128"), preceded by a space each
+string(float i) crypto_getmykeyfp = #636; // retrieves the CA key fingerprint of a given CA slot, or "" if slot is unused but more to come, or string_null if end of list
+string(float i) crypto_getmyidfp = #637; // retrieves the ID fingerprint of a given CA slot, or "" if slot is unused but more to come, or string_null if end of list
+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