]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove even more fteqcc junk
authorMario <zacjardine@y7mail.com>
Sat, 13 Dec 2014 11:49:16 +0000 (22:49 +1100)
committerMario <zacjardine@y7mail.com>
Sat, 13 Dec 2014 11:49:16 +0000 (22:49 +1100)
qcsrc/common/util-pre.qh
qcsrc/fteqcc-bugs.qc [deleted file]
qcsrc/server/cl_physics.qc

index 4e8e1b59c8d35ac69ea37fe0f410f74eb1f79d92..3f4c3e57f4f8f2095eafb3fa41f31415572d1d20 100644 (file)
@@ -1,23 +1,6 @@
-#ifdef FTEQCC
-#pragma flag enable subscope
-#pragma flag enable lo
-#endif
-
-// FTEQCC can do this
-// #define HAVE_YO_DAWG_CPP
-// No, this is an ex-"feature" and non-C11.
-
 #ifndef NOCOMPAT
 //# define WORKAROUND_XON010
 //# define COMPAT_XON050_ENGINE
 # define COMPAT_NO_MOD_IS_XONOTIC
 # define COMPAT_XON060_DONTCRASH_CHECKPVS
 #endif
-
-#ifdef FTEQCC
-#ifdef WATERMARK
-const string FTEQCC_SUCKS_WATERMARKS_THROUGH_C60_FULLERENES = WATERMARK();
-#undef WATERMARK
-#define WATERMARK FTEQCC_SUCKS_WATERMARKS_THROUGH_C60_FULLERENES
-#endif
-#endif
diff --git a/qcsrc/fteqcc-bugs.qc b/qcsrc/fteqcc-bugs.qc
deleted file mode 100644 (file)
index dd4fd45..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-void error(...) = #1;
-float id(float x) { return x; }
-
-void Oassignments(float foo) // pass 1
-{
-       float bar;
-       bar = 2;
-       bar = (foo ? 0 : (foo & 1));
-       if(bar == 2)
-               error("FTEQCC SUCKS");
-}
-
-void Oreturn_only(float foo) // pass 0
-{
-       if(foo)
-       {
-               return;
-       }
-}
-
-void Oreturn_only_trap(void)
-{
-       error("FTEQCC SUCKS");
-}
-
-.float fld;
-void Ono_assignments(entity e, float wep) // pass an e with e.fld == 1, and wep == 3. e.fld will be 2 instead of 3. Observe the INDIRECT and the SUB use the same field for storage, wreaking havoc.
-{
-               ((e).fld |= id(wep - 1));
-}
index 913a5a037ff17daf31730201ec5b5ba1bac5c37b..1d47536608b3446f97663a2d4906b7091bb0412c 100644 (file)
@@ -1137,20 +1137,6 @@ void SV_PlayerPhysics()
                        self.jumppadcount = 0;
                }
 
-#ifdef LETS_TEST_FTEQCC
-               if(self.velocity_x || self.velocity_y)
-               {
-                       // good
-               }
-               else
-               {
-                       if(self.velocity_x)
-                               checkclient();
-                       if(self.velocity_y)
-                               checkclient();
-               }
-#endif
-
                v = self.velocity;
                v_z = 0;
                f = vlen(v);