* 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
This commit is contained in:
parent
ccc66aadff
commit
3cde9bf0dc
10 changed files with 340 additions and 95 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue