]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.h
sys: allow the platform to handle crashes after DP does
[xonotic/darkplaces.git] / host.h
diff --git a/host.h b/host.h
index 986b3224fb460f9cc37cb1f34bcbc7fe83fbf707..779ccc842b370af6082205885ac2e6619334632b 100644 (file)
--- a/host.h
+++ b/host.h
@@ -20,10 +20,11 @@ struct cmd_state_s;
 
 typedef enum host_state_e
 {
-       host_shutdown,
        host_init,
        host_loading,
        host_active,
+       // states >= host_shutdown cause graceful shutdown, see Sys_HandleCrash() comments
+       host_shutdown,
        host_failing, ///< crashing
        host_failed ///< crashed or aborted, SDL dialog open
 } host_state_t;