]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_world.qh
Clean up SVQC #includes
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_world.qh
diff --git a/qcsrc/server/g_world.qh b/qcsrc/server/g_world.qh
new file mode 100644 (file)
index 0000000..db51c3b
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef G_WORLD_H
+#define G_WORLD_H
+
+float checkrules_equality;
+float checkrules_suddendeathwarning;
+float checkrules_suddendeathend;
+float checkrules_overtimesadded; //how many overtimes have been already added
+
+const float WINNING_NO = 0; // no winner, but time limits may terminate the game
+const float WINNING_YES = 1; // winner found
+const float WINNING_NEVER = 2; // no winner, enter overtime if time limit is reached
+const float WINNING_STARTSUDDENDEATHOVERTIME = 3; // no winner, enter suddendeath overtime NOW
+
+void CheckRules_Player();
+void IntermissionThink();
+
+#endif
\ No newline at end of file