mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-30 16:50:48 +00:00
port in some improvements from OT (namely fs_basepath, etc, though commandline parsing isn't finished yet)
split up the headerfiles and such. common.[ch] and qwsvdef.h no longer exist. More work still needs to be done (esp for windows) but this should be a major improvement.
This commit is contained in:
parent
e471c785d8
commit
af032b8d55
121 changed files with 1055 additions and 3086 deletions
|
@ -29,7 +29,19 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "qwsvdef.h"
|
||||
#include "server.h"
|
||||
#include "crc.h"
|
||||
#include "msg.h"
|
||||
#include "world.h"
|
||||
#include "commdef.h"
|
||||
#include "cmd.h"
|
||||
#include "sys.h"
|
||||
#include "pmove.h"
|
||||
#include "bothdefs.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define CHAN_AUTO 0
|
||||
#define CHAN_WEAPON 1
|
||||
|
@ -135,7 +147,7 @@ void Con_Printf (char *fmt, ...)
|
|||
|
||||
Sys_Printf ("%s", msg); // also echo to debugging console
|
||||
if (sv_logfile)
|
||||
fprintf (sv_logfile, "%s", msg);
|
||||
Qprintf (sv_logfile, "%s", msg);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue