mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-25 05:21:58 +00:00
clean up the #includes of the progs files
This commit is contained in:
parent
e52100982b
commit
f453d2f1b8
4 changed files with 18 additions and 52 deletions
|
@ -29,22 +29,14 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
#include "pr_comp.h"
|
||||
#include "va.h"
|
||||
#include "progs.h"
|
||||
#include "console.h"
|
||||
#include "server.h"
|
||||
#include "world.h"
|
||||
#include "msg.h"
|
||||
#include "cmd.h"
|
||||
#include "commdef.h"
|
||||
#include "info.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
|
||||
void SV_Error (char *error, ...);
|
||||
#include "cmd.h"
|
||||
#include "msg.h"
|
||||
#include "server.h"
|
||||
#include "world.h"
|
||||
#include "va.h"
|
||||
|
||||
#define RETURN_EDICT(e) (((int *)pr_globals)[OFS_RETURN] = EDICT_TO_PROG(e))
|
||||
#define RETURN_STRING(s) (((int *)pr_globals)[OFS_RETURN] = PR_SetString(s))
|
||||
|
|
|
@ -29,24 +29,19 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
#include "pr_comp.h"
|
||||
#include "progs.h"
|
||||
#include "console.h"
|
||||
#include "server.h"
|
||||
#include "world.h"
|
||||
#include "msg.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "cmd.h"
|
||||
#include "commdef.h"
|
||||
#include "console.h"
|
||||
#include "crc.h"
|
||||
#include "cvar.h"
|
||||
#include "progs.h"
|
||||
#include "qdefs.h"
|
||||
#include "qendian.h"
|
||||
#include "quakefs.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
#ifdef HAVE_STRINGS_H
|
||||
#include <strings.h>
|
||||
#endif
|
||||
#include "server.h"
|
||||
#include "world.h"
|
||||
|
||||
cvar_t *r_skyname;
|
||||
cvar_t *pr_boundscheck;
|
||||
|
|
|
@ -29,23 +29,13 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
#include "pr_comp.h"
|
||||
#include "progs.h"
|
||||
|
||||
#include "console.h"
|
||||
#include "cvar.h"
|
||||
#include "progs.h"
|
||||
#include "server.h"
|
||||
#include "world.h"
|
||||
#include "msg.h"
|
||||
#include "cmd.h"
|
||||
#include "commdef.h"
|
||||
#include "sys.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
|
||||
void SV_Error (char *error, ...);
|
||||
|
||||
typedef struct {
|
||||
int s;
|
||||
dfunction_t *f;
|
||||
|
|
|
@ -29,19 +29,8 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
#include "pr_comp.h"
|
||||
#include "progs.h"
|
||||
#include "console.h"
|
||||
#include "server.h"
|
||||
#include "world.h"
|
||||
#include "msg.h"
|
||||
#include "cmd.h"
|
||||
#include "commdef.h"
|
||||
#include "info.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
#include "progs.h"
|
||||
|
||||
int eval_alpha, eval_scale, eval_glowsize, eval_glowcolor,
|
||||
|
||||
|
|
Loading…
Reference in a new issue