}
}
// can't get here
-#ifdef GMQCC
return vec3(e.anim_idle.x, t, ANIMPRIO_IDLE);
-#endif
}
void animdecide_setimplicitstate(entity e, float onground)
#ifndef NOCOMPAT
-# define COMPAT_NO_MOD_IS_XONOTIC
+ #define COMPAT_NO_MOD_IS_XONOTIC
+#endif
+
+#ifndef QCC_SUPPORT_ACCUMULATE
+ #ifdef GMQCC
+ #define QCC_SUPPORT_ACCUMULATE
+ #endif
+#endif
+
+#ifndef QCC_SUPPORT_NIL
+ #ifdef GMQCC
+ #define QCC_SUPPORT_NIL
+ #endif
#endif
#ifndef QCC_SUPPORT_INT
-#define int float
+ #define int float
-#define stoi(s) stof(s)
-#define itos(s) ftos(s)
+ #define stoi(s) stof(s)
+ #define itos(s) ftos(s)
#endif
#ifndef QCC_SUPPORT_BOOL
-#define bool float
+ #define bool float
-// Boolean Constants
-const bool true = 1;
-const bool false = 0;
+ // Boolean Constants
+ const bool true = 1;
+ const bool false = 0;
#endif
-#ifdef GMQCC
+#ifdef QCC_SUPPORT_ACCUMULATE
# define ACCUMULATE_FUNCTION(func,otherfunc) \
[[accumulate]] void func() { otherfunc(); }
# define CALL_ACCUMULATED_FUNCTION(func) \
#endif
// the NULL function
-#ifdef GMQCC
+#ifdef QCC_SUPPORT_NIL
#define func_null nil
#define string_null nil
#else