]> 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)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 4 Jul 2010 19:49:03 +0000 (19:49 +0000)
commit58ecffb6f73f96936bf8c21853570d7da483d0f3
tree99a57e23ce9262e23872460f7deae355a3187f7e
parenta17b91f730ff2c4e8a2baf069f6eade29d566b2b
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
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