From: Rudolf Polzer Date: Thu, 11 Oct 2012 14:13:04 +0000 (+0200) Subject: add "devmap" command for quake3 command line compatibility X-Git-Tag: xonotic-v0.7.0~206 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=f1ed24fe8b05ea800235e0954cb94774ad403dc7 add "devmap" command for quake3 command line compatibility --- diff --git a/commands.cfg b/commands.cfg index 881c0359a..ab737d33e 100644 --- a/commands.cfg +++ b/commands.cfg @@ -81,6 +81,7 @@ alias addvote "qc_cmd_svmenu addtolist sv_vote_commands ${* ?}" alias bsp "ls maps/*.bsp" alias chmap "changelevel ${* ?}" alias clearmap "disconnect" +alias devmap "set _developer_save $developer; set developer 1; changelevel ${* ?}; set developer $_developer_save" alias ply "playdemo $1" alias rec "record demos/${1 !}" alias search "apropos ${* ?}" diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 69ab2b1a1..88a0d0ca5 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -1015,6 +1015,7 @@ set con_completion_ply *.dem set con_completion_tdem *.dem set con_completion_exec *.cfg set con_completion_chmap map +set con_completion_devmap map set con_completion_gotomap map set con_completion_vmap map set con_completion_vnextmap map