diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-11-30 18:32:52 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-11-30 18:32:52 +0000 |
commit | 7fccfcafc99fe8a81bee1e2cc32e3e383d238dc2 (patch) | |
tree | 7937e9a76c67be3539dd3d156c0504d5a8b14612 /code/sys/sys_local.h | |
parent | 9fd7f3aaf029d18a4e596672f8ec899add5e9a58 (diff) | |
download | ioquake3-aero-7fccfcafc99fe8a81bee1e2cc32e3e383d238dc2.tar.gz ioquake3-aero-7fccfcafc99fe8a81bee1e2cc32e3e383d238dc2.zip |
* Add con_log.c to log all console output
* Add con_passive.c to cut down on #ifdef DEDICATED in sys_main.c
* Add Sys_ErrorDialog to report ERR_FATALs to the user
+ On Windows use a MessageBox and offer to copy the console log to the
clipboard
+ On everything else print to the terminal and save the console log as
crashlog.txt
git-svn-id: svn://svn.icculus.org/quake3/trunk@1222 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/sys/sys_local.h')
-rw-r--r-- | code/sys/sys_local.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/code/sys/sys_local.h b/code/sys/sys_local.h index af0ed7c..e837b8b 100644 --- a/code/sys/sys_local.h +++ b/code/sys/sys_local.h @@ -29,19 +29,24 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define MINSDL_PATCH 7 // Input subsystem -void IN_Init (void); -void IN_Frame (void); -void IN_Shutdown (void); +void IN_Init( void ); +void IN_Frame( void ); +void IN_Shutdown( void ); // Console -void CON_Hide( void ); -void CON_Show( void ); void CON_Shutdown( void ); void CON_Init( void ); -char *CON_ConsoleInput(void); +char *CON_Input( void ); +void CON_Print( const char *message ); + +unsigned int CON_LogSize( void ); +unsigned int CON_LogWrite( const char *in ); +unsigned int CON_LogRead( char *out, unsigned int outSize ); #ifdef MACOS_X char *Sys_StripAppBundle( char *pwd ); #endif void Sys_SigHandler( int signal ); +void Sys_ErrorDialog( const char *error ); +void Sys_AnsiColorPrint( const char *msg ); |