]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.h
sys: prevent loops in signal handlers
[xonotic/darkplaces.git] / host.h
diff --git a/host.h b/host.h
index 61182b5242c1140449824f6488854c03f3c4a780..986b3224fb460f9cc37cb1f34bcbc7fe83fbf707 100644 (file)
--- a/host.h
+++ b/host.h
@@ -23,7 +23,9 @@ typedef enum host_state_e
        host_shutdown,
        host_init,
        host_loading,
-       host_active
+       host_active,
+       host_failing, ///< crashing
+       host_failed ///< crashed or aborted, SDL dialog open
 } host_state_t;
 
 typedef struct host_static_s
@@ -53,7 +55,6 @@ typedef struct host_static_s
 extern host_static_t host;
 
 void Host_Main(void);
-void Host_Shutdown(void);
 void Host_Error(const char *error, ...) DP_FUNC_PRINTF(1) DP_FUNC_NORETURN;
 void Host_LockSession(void);
 void Host_UnlockSession(void);