Con_Printf(CON_ERROR "Engine Error: %s\n", string);
+ // don't want a dead window left blocking the OS UI or the crash dialog
+ Host_Shutdown();
+
if(!nocrashdialog)
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Engine Error", string, NULL);
- //Host_Shutdown ();
exit (1);
}
-void Sys_PrintToTerminal(const char *text)
+void Sys_Print(const char *text)
{
#ifdef __ANDROID__
if (developer.integer > 0)
return data;
}
-void Sys_InitConsole (void)
-{
-}
-
int main (int argc, char *argv[])
{
signal(SIGFPE, SIG_IGN);