]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_shared.c
-Removed the NG Menu part, since it isnt used anymore (the old layout
[xonotic/darkplaces.git] / sys_shared.c
index 37c48306f2d5dce2258cfe3b028a459a71b15250..1893c219f460ebbdf49145a8ed8fa530e06575eb 100644 (file)
@@ -93,8 +93,10 @@ void Sys_Printf(const char *fmt, ...)
        Sys_Print(msg);
 }
 
+extern qboolean host_shuttingdown;
 void Sys_Quit (void)
 {
+       host_shuttingdown = true;
        Host_Shutdown();
        exit(0);
 }
@@ -114,6 +116,8 @@ void Sys_Shared_EarlyInit(void)
        os = "Linux";
 #elif defined(WIN32)
        os = "Windows";
+#elif defined(__FreeBSD__)
+       os = "FreeBSD";
 #elif defined(__NetBSD__)
        os = "NetBSD";
 #elif defined(__OpenBSD__)
@@ -123,7 +127,7 @@ void Sys_Shared_EarlyInit(void)
 #endif
        snprintf (engineversion, sizeof (engineversion), "%s %s %s", gamename, os, buildstring);
 
-// COMMANDLINEOPTION: -nostdout disables text output to the terminal the game was launched from
+// COMMANDLINEOPTION: Console: -nostdout disables text output to the terminal the game was launched from
        if (COM_CheckParm("-nostdout"))
                sys_nostdout = 1;
        else