This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
extern int edit_line;
extern int key_linepos;
extern int key_insert;
-
+
qboolean con_initialized;
+mempool_t *console_mempool;
+
int con_notifylines; // scan lines to clear for notify lines
extern void M_Menu_Main_f (void);
sprintf (temp, "%s%s", com_gamedir, t2);
unlink (temp);
}
- logfile.value = 1;
+ logfile.integer = 1;
}
- con_text = Hunk_AllocName (CON_TEXTSIZE, "context");
+ console_mempool = Mem_AllocPool("console");
+ con_text = Mem_Alloc(console_mempool, CON_TEXTSIZE);
memset (con_text, ' ', CON_TEXTSIZE);
con_linewidth = -1;
Con_CheckResize ();
va_list argptr;
char msg[MAXPRINTMSG];
- if (!developer.value)
+ if (!developer.integer)
return; // don't confuse non-developers with techie stuff...
va_start (argptr,fmt);
Con_Printf("%i possible aliases%s\n", a, (a > 1) ? "s: " : ":");
Con_DisplayList(list[2]);
}
- return;
}
if (cmd) {
}
for (i = 0; i < 3; i++)
if (list[i])
- qfree (list[i]);
+ Mem_Free(list[i]);
}