summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/Panic.h
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/Panic.h')
-rw-r--r--StarsEx/Panic.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/StarsEx/Panic.h b/StarsEx/Panic.h
new file mode 100644
index 0000000..431a1f6
--- /dev/null
+++ b/StarsEx/Panic.h
@@ -0,0 +1,19 @@
+/* Starshatter: The Open Source Project
+ Copyright (c) 2021-2022, Starshatter: The Open Source Project Contributors
+ Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors
+ Copyright (c) 1997-2006, Destroyer Studios LLC.
+*/
+
+#ifndef Panic_h
+#define Panic_h
+
+
+namespace Panic
+{
+void Panic(const char* msg = nullptr);
+bool Panicked();
+const char* Message();
+}
+
+
+#endif // Panic_h