*/
// quakedef.h -- primary header for client
-//#define GLTEST // experimental stuff
-
#define QUAKE_GAME // as opposed to utilities
-#define VERSION 1.05
+#define VERSION 1.50
#ifndef FALSE
#define FALSE 0
#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"
extern qboolean host_initialized; // true if into command execution
extern double host_frametime;
-extern byte *host_basepal;
-extern byte *host_colormap;
extern int host_framecount; // incremented every frame, never reset
extern double realtime; // not bounded in any way, changed at
// start of every frame, never reset
+extern double sv_frametime;
+
void Host_ClearMemory (void);
void Host_ServerFrame (void);
void Host_InitCommands (void);
-void Host_Init (quakeparms_t *parms);
+void Host_Init ();
void Host_Shutdown(void);
void Host_Error (char *error, ...);
void Host_EndGame (char *message, ...);
void Chase_Init (void);
void Chase_Reset (void);
void Chase_Update (void);
+
+void fractalnoise(unsigned char *noise, int size, int startgrid);
+
+#include "palette.h"
+#include "image.h"