*/
void Con_DPrint(const char *msg)
{
+ if(developer.integer < 0) // at 0, we still add to the buffer but hide
+ return;
+
Con_MaskPrint(CON_MASK_DEVELOPER, msg);
}
va_list argptr;
char msg[MAX_INPUTLINE];
+ if(developer.integer < 0) // at 0, we still add to the buffer but hide
+ return;
+
va_start(argptr,fmt);
dpvsnprintf(msg,sizeof(msg),fmt,argptr);
va_end(argptr);
void Con_DrawConsole (int lines)
{
int mask_must = 0;
- int mask_mustnot = developer.integer ? 0 : CON_MASK_DEVELOPER;
+ int mask_mustnot = (developer.integer>0) ? 0 : CON_MASK_DEVELOPER;
cachepic_t *conbackpic;
if (lines <= 0)
{
char name[128];
int i, p;
- int length;
int match;
int spos;
int count = 0;
if(!name[0])
continue;
- length = strlen(name);
match = -1;
spos = pos - 1; // no need for a minimum of characters :)
a = Cmd_CompleteAliasCountPossible(s);
if (a)
{
- Con_Printf("\n%i possible aliases%s\n", a, (a > 1) ? "s: " : ":");
+ Con_Printf("\n%i possible alias%s\n", a, (a > 1) ? "es: " : ":");
Cmd_CompleteAliasPrint(s);
}
n = Nicks_CompleteCountPossible(key_line, key_linepos, s, true);