Remarks:
1. Changed order in keycmds lets to keep alphabetical order in saved.cfg .
2. Earlier long information in docs about arguments of command could be
invisible for low aspect ratio (example: "weapon" command), now it's fixed.
This commit is contained in:
aurhat
2015-07-04 11:30:58 +02:00
parent fe686b603c
commit 9c0f99f2a1
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ menudirlist "packages/maps" cgz [map $arg1]
newmenu maps_flags
// Add maps to the below list to include them in the CTF, KTF & TKTF map menu. Maps should contain flags here.
const ctfmaps [ac_aqueous ac_arabian ac_arid ac_avenue ac_cavern ac_depot ac_desert3 ac_douze ac_edifice ac_elevation ac_gothic ac_iceroad ac_industrial ac_ingress ac_keller ac_lainio ac_mines ac_outpost ac_power ac_shine ac_stellar ac_sunset ac_swamp ac_terros ac_urban ac_venison ac_werk]
const ctfmaps [ac_aqueous ac_arabian ac_arid ac_avenue ac_cavern ac_depot ac_desert3 ac_edifice ac_elevation ac_gothic ac_iceroad ac_industrial ac_ingress ac_keller ac_lainio ac_mines ac_outpost ac_power ac_shine ac_stellar ac_sunset ac_swamp ac_terros ac_urban ac_venison ac_werk]
genmapitems $ctfmaps
menuitem [] -1
menuitem [Show all maps..] [showmenu [all maps]]
+1 -1
View File
@@ -268,7 +268,7 @@ menuitemkeyinput [Commandline: ] key_commandline
menuitemkeyinput [Console output: ] key_toggleconsole
menuitemkeyinput [Screenshot: ] screenshot
menuitemkeyinput [Map overview: ] key_showmap
menuitemkeyinput [Drop CTF flag: ] dropflag
menuitemkeyinput [Drop flag: ] dropflag
menuitemkeyinput [Fullscreen: ] fullscreentoggle
menuitemkeyinput [Edit map: ] edittoggle
menuitem [] -1
+1 -1
View File
@@ -145,7 +145,7 @@ int rendercommand(int x, int y, int w)
vector<keym> keyms;
const char *keycmds[keym::NUMACTIONS] = { "bind", "specbind", "editbind" };
const char *keycmds[keym::NUMACTIONS] = { "bind", "editbind", "specbind" };
inline const char *keycmd(int type) { return type >= 0 && type < keym::NUMACTIONS ? keycmds[type] : ""; }
void keymap(int *code, char *key)
+1 -1
View File
@@ -532,7 +532,7 @@ void renderdoc(int x, int y, int doch)
{
docargument *a = &ident->arguments[j];
if(!a) continue;
formatstring(doclines.add(newstringbuf()))("~\f%d%-8s%s %s%s%s", j == arg ? 4 : 5, a->token, a->desc,
formatstring(doclines.add(newstringbuf()))("\f%d%-8s%s %s%s%s", j == arg ? 4 : 5, a->token, a->desc,
a->values ? "(" : "", a->values ? a->values : "", a->values ? ")" : "");
}
+1 -1
View File
@@ -73,8 +73,8 @@ struct keym
enum
{
ACTION_DEFAULT = 0,
ACTION_SPECTATOR,
ACTION_EDITING,
ACTION_SPECTATOR,
NUMACTIONS
};
+1 -1
View File
@@ -1054,7 +1054,7 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat
if(!m_botmode) draw_textf("SCROLL to change player", left - (text_width("SCROLL to change player") + FONTH/2), top+80);
}
void renderhudtexturepreviews();
extern void renderhudtexturepreviews();
if(editmode) renderhudtexturepreviews();
/* * /
+1 -1
View File
@@ -374,7 +374,7 @@ void draw_text(const char *str, int left, int top, int r, int g, int b, int a, i
glBegin(GL_QUADS);
glColor4ub(color.x, color.y, color.z, a);
TEXTSKELETON
glEnd();
glEnd();
if(cursor >= 0)
{
if(cx == INT_MIN) { cx = x; cy = y; }