]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - quakedef.h
fix crashes when recursing portals on maps with some bogus leafs (where
[xonotic/darkplaces.git] / quakedef.h
index efc228a0e2f390cedd750fb2061a72c26b6c5931..3ddf1c737e4c861c529fe735156b2a9ae33643b0 100644 (file)
@@ -30,8 +30,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 #if defined(__GNUC__) && (__GNUC__ > 2)
 #define DP_FUNC_PRINTF(n) __attribute__ ((format (printf, n, n+1)))
+#define DP_FUNC_PURE      __attribute__ ((pure))
 #else
 #define DP_FUNC_PRINTF(n)
+#define DP_FUNC_PURE
 #endif
 
 #include <sys/types.h>
@@ -260,6 +262,8 @@ extern char engineversion[128];
 extern qboolean noclip_anglehack;
 
 extern cvar_t developer;
+extern cvar_t developer_loadfile;
+extern cvar_t developer_loading;
 
 /* Preprocessor macros to identify platform
     DP_OS_NAME         - "friendly" name of the OS, for humans to read