mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-04-08 07:50:47 +00:00
remove va from commdef.h and fix the consequences
This commit is contained in:
parent
63fc732758
commit
d295f183ba
22 changed files with 28 additions and 7 deletions
|
@ -62,7 +62,4 @@ extern qboolean host_initialized; /* True if into command execution. */
|
|||
extern double realtime; /* Not bounded in any way, changed at
|
||||
start of every frame, never reset */
|
||||
|
||||
char *va(char *format, ...) __attribute__((format(printf,1,2)));
|
||||
// does a varargs printf into a temp buffer
|
||||
|
||||
#endif // _COMMDEF_H
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include "msg.h"
|
||||
#include "client.h"
|
||||
#include "commdef.h"
|
||||
#include "va.h"
|
||||
|
||||
void
|
||||
Cvar_Info(cvar_t *var)
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include "cmd.h"
|
||||
#include "console.h"
|
||||
#include "qendian.h"
|
||||
#include "va.h"
|
||||
#include "quakefs.h"
|
||||
#include "quakedef.h"
|
||||
#include "pmove.h"
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include "cvar.h"
|
||||
#include "sizebuf.h"
|
||||
#include "msg.h"
|
||||
#include "va.h"
|
||||
#include "client.h"
|
||||
#include "commdef.h"
|
||||
#include "cmd.h"
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include "bothdefs.h"
|
||||
#include "console.h"
|
||||
#include "msg.h"
|
||||
#include "va.h"
|
||||
#include "pmove.h"
|
||||
#include "sbar.h"
|
||||
#include "teamplay.h"
|
||||
|
|
|
@ -32,12 +32,15 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "cl_slist.h"
|
||||
#include "bothdefs.h"
|
||||
#include "console.h"
|
||||
#include "commdef.h"
|
||||
#include "quakefs.h"
|
||||
#include <string.h>
|
||||
#include "va.h"
|
||||
|
||||
server_entry_t *slist;
|
||||
|
||||
|
|
|
@ -29,6 +29,10 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "input.h"
|
||||
#include "sys.h"
|
||||
#include "console.h"
|
||||
|
@ -38,11 +42,9 @@
|
|||
#include "commdef.h"
|
||||
#include "qargs.h"
|
||||
#include "cmd.h"
|
||||
#include "va.h"
|
||||
#include "screen.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
|
||||
int con_ormask;
|
||||
console_t con_main;
|
||||
console_t con_chat;
|
||||
|
|
|
@ -58,6 +58,7 @@
|
|||
#include "commdef.h"
|
||||
#include "context_x11.h"
|
||||
#include "dga_check.h"
|
||||
#include "va.h"
|
||||
#include "qargs.h"
|
||||
#include "qtypes.h"
|
||||
#include "vid.h"
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include "keys.h"
|
||||
#include "menu.h"
|
||||
#include "vid.h"
|
||||
#include "va.h"
|
||||
#include "draw.h"
|
||||
#include "cmd.h"
|
||||
#include "screen.h"
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
#include "pr_comp.h"
|
||||
#include "va.h"
|
||||
#include "progs.h"
|
||||
#include "console.h"
|
||||
#include "server.h"
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
#include "qendian.h"
|
||||
#include "info.h"
|
||||
#include "server.h"
|
||||
#include "va.h"
|
||||
#include "qargs.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include "cmd.h"
|
||||
#include "client.h"
|
||||
#include "bothdefs.h"
|
||||
#include "va.h"
|
||||
#include "msg.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include "client.h"
|
||||
#include "console.h"
|
||||
#include "commdef.h"
|
||||
#include "va.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include "sys.h"
|
||||
#include "pmove.h"
|
||||
#include "compat.h"
|
||||
#include "va.h"
|
||||
#include "quakefs.h"
|
||||
#include "bothdefs.h"
|
||||
#include "qendian.h"
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
#include "server.h"
|
||||
#include "va.h"
|
||||
#include "crc.h"
|
||||
#include "msg.h"
|
||||
#include "world.h"
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "va.h"
|
||||
#include "server.h"
|
||||
#include "crc.h"
|
||||
#include "console.h"
|
||||
|
|
|
@ -62,6 +62,7 @@
|
|||
#endif
|
||||
|
||||
#include "qtypes.h"
|
||||
#include "va.h"
|
||||
#include "quakedef.h"
|
||||
#include "qendian.h"
|
||||
#include "glquake.h"
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
#include "quakedef.h"
|
||||
#include "va.h"
|
||||
#include "winquake.h"
|
||||
#include "sys.h"
|
||||
#include "d_local.h"
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include <SDL.h>
|
||||
|
||||
#include "client.h"
|
||||
#include "va.h"
|
||||
#include "console.h"
|
||||
#include "cvar.h"
|
||||
#include "draw.h"
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
#include "console.h"
|
||||
#include "cvar.h"
|
||||
#include "draw.h"
|
||||
#include "va.h"
|
||||
#include "glquake.h"
|
||||
#include "input.h"
|
||||
#include "joystick.h"
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
# include "config.h"
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
#include "va.h"
|
||||
#include "winquake.h"
|
||||
#include "sys.h"
|
||||
#include "resource.h"
|
||||
|
|
|
@ -64,6 +64,7 @@
|
|||
#include "input.h"
|
||||
#include "draw.h"
|
||||
#include "console.h"
|
||||
#include "va.h"
|
||||
#include "client.h"
|
||||
#include "input.h"
|
||||
#include "context_x11.h"
|
||||
|
|
Loading…
Reference in a new issue