diff --git a/source/gl_draw.c b/source/gl_draw.c index c8c5094..34c1c92 100644 --- a/source/gl_draw.c +++ b/source/gl_draw.c @@ -1,7 +1,7 @@ /* gl_draw.c - (description) + Draw functions for chars, textures, etc Copyright (C) 1996-1997 Id Software, Inc. @@ -25,10 +25,32 @@ $Id$ */ -// draw.c -- this is the only file outside the refresh that touches the -// vid buffer -#include "quakedef.h" +#include +#include + +#include "bothdefs.h" // needed by: common.h, net.h, client.h + +#include "common.h" +#include "bspfile.h" // needed by: glquake.h +#include "vid.h" +#include "sys.h" +#include "zone.h" // needed by: client.h, gl_model.h +#include "mathlib.h" // needed by: protocol.h, render.h, client.h, + // modelgen.h, glmodel.h +#include "wad.h" +#include "draw.h" +#include "cvar.h" +#include "net.h" // needed by: client.h +#include "protocol.h" // needed by: client.h +#include "cmd.h" +#include "sbar.h" +#include "render.h" // needed by: client.h, gl_model.h, glquake.h +#include "client.h" // need cls in this file +#include "gl_model.h" // needed by: glquake.h +#include "console.h" +#include "glquake.h" + extern unsigned char d_15to8table[65536]; extern cvar_t crosshair, cl_crossx, cl_crossy, crosshaircolor;