]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/test.qc
#include this
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / test.qc
index ac792a387ab4e2acfce3408d0e5c819c7b781ff3..3599819e7d02c5badc0fb262e5a97c69f6325257 100644 (file)
@@ -1,3 +1,12 @@
+#if defined(CSQC)
+       #include "../dpdefs/csprogsdefs.qc"
+       #include "test.qh"
+#elif defined(MENUQC)
+#elif defined(SVQC)
+       #include "../dpdefs/dpextensions.qc"
+    #include "test.qh"
+#endif
+
 float TEST_failed;
 float TEST_ok;
 
@@ -10,7 +19,7 @@ void TEST_Fail(string cond)
 
 void TEST_OK()
 {
-       TEST_ok = TRUE;
+       TEST_ok = true;
 }
 
 float TEST_RunAll()