]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - quakedef.h
expanded console buffer from 16k to 128k, and changed scroll amount to be dependent...
[xonotic/darkplaces.git] / quakedef.h
index 8b1cec02d0b8b9207db284b08e87b0b73ecd5fe8..201cd783fdd6dd1976fadace1758a4daa5f6360c 100644 (file)
@@ -19,37 +19,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 // quakedef.h -- primary header for client
 
-#define QUAKE_GAME // as opposed to utilities
-
-extern int buildnumber;
-
-#if !defined BYTE_DEFINED
-typedef unsigned char          byte;
-#define BYTE_DEFINED 1
-#endif
-
-#undef true
-#undef false
-
-typedef enum {false, true} qboolean;
-
-#ifndef NULL
-#define NULL ((void *)0)
-#endif
+#ifndef QUAKEDEF_H
+#define QUAKEDEF_H
 
-#ifndef FALSE
-#define FALSE 0
-#define TRUE 1
-#endif
-
-//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
-
-#define GAMENAME "id1"
+#define QUAKE_GAME // as opposed to utilities
 
 #include <math.h>
 #include <string.h>
@@ -58,16 +31,13 @@ typedef enum {false, true} qboolean;
 #include <stdlib.h>
 #include <setjmp.h>
 
-#define MAX_NUM_ARGVS  50
+#include "qtypes.h"
 
-// up / down
-#define        PITCH   0
+extern char *buildstring;
 
-// left / right
-#define        YAW             1
+#define GAMENAME "id1"
 
-// fall over
-#define        ROLL    2
+#define MAX_NUM_ARGVS  50
 
 
 #define        MAX_QPATH               128                     // max length of a quake game pathname
@@ -225,35 +195,11 @@ typedef enum {false, true} qboolean;
 
 #include "portals.h"
 
-//=============================================================================
-
-// the host system specifies the base of the directory tree, the
-// command line parms passed to the program, and the amount of memory
-// available for the program to use
-
-typedef struct
-{
-       char    *basedir;
-#if CACHEENABLE
-       char    *cachedir;              // for development over ISDN lines
-#endif
-       int             argc;
-       char    **argv;
-} quakeparms_t;
-
-
-//=============================================================================
-
-
-
 extern qboolean noclip_anglehack;
 
-
 //
 // host
 //
-extern quakeparms_t host_parms;
-
 extern cvar_t          sys_ticrate;
 extern cvar_t          developer;
 
@@ -294,8 +240,12 @@ void Chase_Reset (void);
 void Chase_Update (void);
 
 void fractalnoise(unsigned char *noise, int size, int startgrid);
+void fractalnoisequick(unsigned char *noise, int size, int startgrid);
 
 #include "palette.h"
 #include "image.h"
 
 void Sys_Shared_Init(void);
+
+#endif
+