1 /*
2 ===========================================================================
3 Copyright (C) 1999-2005 Id Software, Inc.
4 
5 This file is part of Quake III Arena source code.
6 
7 Quake III Arena source code is free software; you can redistribute it
8 and/or modify it under the terms of the GNU General Public License as
9 published by the Free Software Foundation; either version 2 of the License,
10 or (at your option) any later version.
11 
12 Quake III Arena source code is distributed in the hope that it will be
13 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16 
17 You should have received a copy of the GNU General Public License
18 along with Quake III Arena source code; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 ===========================================================================
21 */
22 
23 #include "qcommon/q_shared.h"
24 #include "sys_public.h"
25 #include <cstdio>
26 
27 /*
28 ==================
29 CON_Shutdown
30 ==================
31 */
CON_Shutdown(void)32 void CON_Shutdown( void )
33 {
34 }
35 
36 /*
37 ==================
38 CON_Init
39 ==================
40 */
CON_Init(void)41 void CON_Init( void )
42 {
43 }
44 
45 /*
46 ==================
47 CON_Input
48 ==================
49 */
CON_Input(void)50 char *CON_Input( void )
51 {
52 	return NULL;
53 }
54 
55 /*
56 ==================
57 CON_Print
58 ==================
59 */
CON_Print(const char * msg)60 void CON_Print( const char *msg )
61 {
62 	char cmsg[MAXPRINTMSG] = { 0 };
63 	Q_strncpyz( cmsg, msg, sizeof( cmsg ) );
64 	Q_StripColor( cmsg );
65 	printf( "%s", cmsg );
66 }
67