]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - quakedef.h
removed support for r_ser (also known as R_Clip or "Hidden Surface Removal") as it...
[xonotic/darkplaces.git] / quakedef.h
index dbaf99cc4a82c37d1513a31ca2a1d54bb0612ad9..e6c80d41bd6c2a61454ae42f0df2139f426524ae 100644 (file)
@@ -19,6 +19,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 // quakedef.h -- primary header for client
 
+#ifndef QUAKEDEF_H
+#define QUAKEDEF_H
+
 #define QUAKE_GAME // as opposed to utilities
 
 #include <math.h>
@@ -28,44 +31,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #include <stdlib.h>
 #include <setjmp.h>
 
-extern char *buildstring;
-
-typedef unsigned char qbyte;
-
-#undef true
-#undef false
-
-typedef enum {false, true} qboolean;
-
-#ifndef NULL
-#define NULL ((void *)0)
-#endif
-
-#ifndef FALSE
-#define FALSE 0
-#define TRUE 1
-#endif
+#include "qtypes.h"
 
-//define       PARANOID                        // speed sapping error checking
-#ifdef _DEBUG
-#define ASSERT(condition) if (!(condition)) Sys_Error("assertion (##condition) failed at " __FILE__ ":" __LINE__ "\n");
-#else
-#define ASSERT(condition)
-#endif
+extern char *buildstring;
 
 #define GAMENAME "id1"
 
 #define MAX_NUM_ARGVS  50
 
-// up / down
-#define        PITCH   0
-
-// left / right
-#define        YAW             1
-
-// fall over
-#define        ROLL    2
-
 
 #define        MAX_QPATH               128                     // max length of a quake game pathname
 #define        MAX_OSPATH              1024            // max length of a filesystem pathname
@@ -297,3 +270,6 @@ void fractalnoisequick(unsigned char *noise, int size, int startgrid);
 #include "image.h"
 
 void Sys_Shared_Init(void);
+
+#endif
+