- moved all exception handling out of the backends

The main catch is now in D_DoomMain, only calling platform specific functions to handle the output for the error.

As a nice side effect, -norun can now be done without an exception, just by exiting D_DoomMain with a special exit code.
This commit is contained in:
Christoph Oelckers 2019-10-07 00:37:56 +02:00
commit 96006eb94f
11 changed files with 251 additions and 289 deletions

View file

@ -917,7 +917,7 @@ int PrintString (int iprintlevel, const char *outline)
return 0; // Don't waste time on calculating this if nothing at all was printed...
}
extern bool gameisdead;
bool gameisdead;
int VPrintf (int printlevel, const char *format, va_list parms)
{