• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2 Copyright (C) 1996-1997 Id Software, Inc.
3 
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License
6 as published by the Free Software Foundation; either version 2
7 of the License, or (at your option) any later version.
8 
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 
13 See the GNU General Public License for more details.
14 
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
18 
19 */
20 
21 //
22 // console
23 //
24 extern int con_totallines;
25 extern int con_backscroll;
26 extern	qboolean con_forcedup;	// because no entities to refresh
27 extern qboolean con_initialized;
28 extern byte *con_chars;
29 extern	int	con_notifylines;		// scan lines to clear for notify lines
30 
31 void Con_DrawCharacter (int cx, int line, int num);
32 
33 void Con_CheckResize (void);
34 void Con_Init (void);
35 void Con_DrawConsole (int lines, qboolean drawinput);
36 void Con_Print (const char *txt);
37 void Con_Printf (const char *fmt, ...);
38 void Con_DPrintf (const char *fmt, ...);
39 void Con_SafePrintf (const char *fmt, ...);
40 void Con_Clear_f (void);
41 void Con_DrawNotify (void);
42 void Con_ClearNotify (void);
43 void Con_ToggleConsole_f (void);
44 
45 void Con_NotifyBox (const char *text);	// during startup for sound / cd warnings
46 
47