]> git.xonotic.org Git - xonotic/darkplaces.git/commit
finalize DP_CSQC_BINDMAPS:
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 4 Jul 2010 19:49:03 +0000 (19:49 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 6 Jul 2010 20:40:57 +0000 (22:40 +0200)
commitaaf9f6370485140d942e02266635f5e4398d6be3
treec72c209e153592b79bc1697118e551f8924c5281
parent3bac71bc5890094b8eb21eba52ecb4aa9dffc25b
finalize DP_CSQC_BINDMAPS:
functions:
string(float key[, float bindmap]) getkeybind = #342;
float(float key, string bind[, float bindmap]) setkeybind = #630;
vector(void) getbindmaps = #631;
float(vector bm) setbindmaps(vector bm) = #632;
string findkeysforcommand(string command[, float bindmap]) = #610; /* DEPRECATED csqc: #521 */
string keynumtostring(float keynum) = #340; /* menu: #609, DEPRECATED csqc: #520 */
float stringtokeynum(string key) = #341; /* DEPRECATED menu: #614 */

The bindmap argument is OPTIONAL, and maybe should be declared as ... in the definitons.
The old alternative builtin numbers are hereby deprecated; they come from esteel's unofficial extension to csqc to provide findkeysforcommand with a different builtin number than the menuqc one, and from menuqc builtins that now are part of the "more official" csqc spec in other builtin number, apart from #609 in menuqc which was documented as part of menuqc before.

From: Rudolf Polzer <divverent@alientrap.org>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10273 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=58ecffb6f73f96936bf8c21853570d7da483d0f3
clvm_cmds.c
dpdefs/csprogsdefs.qc
dpdefs/menudefs.qc
keys.c
keys.h
mvm_cmds.c
prvm_cmds.c
prvm_cmds.h
svvm_cmds.c