-#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
+++ /dev/null
-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));
-}
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);